{{ __('All Vendors') }}
@can('vendors.create')
{{ __('Add New Vendor') }}
@endcan
{{ __('Overview') }}
@php
// Build base query string excluding 'page' so tabs reset to page 1
$baseQuery = request()->except(['page', 'status']);
$status = request('status', 'all');
@endphp
| {{ __('Vendor Name') }} | {{ __('Contact Info') }} | {{ __('Website') }} | {{ __('Created Date') }} | {{ __('Status') }} | {{ __('Location') }} | ||
|---|---|---|---|---|---|---|---|
|
{{ $vendor->name }} ID-{{ $vendor->id }} |
@if ($vendor->website) {{ $vendor->website }} @else — @endif | {{ optional($vendor->created_at)->format('M d, Y') }} | @php $statusClass = match ($vendor->status) { 'active' => 'active_status', 'inactive' => 'inactive', 'draft' => 'draft', default => 'draft', }; @endphp {{ ucfirst($vendor->status) }} | {{ $vendor->location ?? 'N/A' }} |
{{-- Action Trigger --}}
{{-- Dropdown Menu --}}
|
||
| {{ __('No vendors found.') }} | |||||||