{{-- stats card --}}
{{-- end stats card --}}
{{-- table --}}
@include("components.footer")
All Vendors
{{number_format($stats['all'])}}
Active Vendors
{{number_format($stats['active'])}}
Inactive Vendors
{{number_format($stats['inactive'])}}
Suspended Vendors
{{number_format($stats['suspended'])}}
| S/N | Name | Type | Phone | Status | Action | |
|---|---|---|---|---|---|---|
| {{ $count }} | {{ $vendor->name }} | {{ $vendor->type }} | {{ $vendor->phone_number }} | {{ $vendor->email ?? 'N/A' }} | @if($vendor->status == \App\Enum\VendorStatus::ACTIVE) {{ $vendor->status }} @elseif($vendor->status == \App\Enum\VendorStatus::INACTIVE) {{ $vendor->status }} @else {{ $vendor->status }} @endif |