All Vendors
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. | |||||||