@extends('layouts.admin') @section('title', 'Vendors Management - ' . $market->name) @section('content')
{{ $market->address }}
| Vendor | Type | Stall | Products | Rating | Payment Status | Compliance | Status | Actions |
|---|---|---|---|---|---|---|---|---|
|
{{ substr($vendor->vendor_name, 0, 1) }}
{{ $vendor->vendor_name }}
{{ $vendor->vendor_email }}{{ $vendor->vendor_phone }} |
{{ ucfirst(str_replace('_', ' ', $vendor->vendor_type)) }} |
@if($vendor->stall)
{{ $vendor->stall->display_name }}
${{ number_format($vendor->stall->monthly_rent) }}/month
@else
No stall assigned
@endif
|
{{ $vendor->products_display }}
|
@for($i = 1; $i <= 5; $i++)
@if($i <= floor($vendor->vendor_rating))
@elseif($i <= ceil($vendor->vendor_rating))
@else
@endif
@endfor
{{ number_format($vendor->vendor_rating, 1) }}
|
@if($vendor->payment_status === 'current') Current @elseif($vendor->payment_status === 'overdue') Overdue @else {{ ucfirst($vendor->payment_status) }} @endif | @if($vendor->compliance_status === 'compliant') Compliant @else Non-Compliant @endif | {{ $statusBadge['text'] }} |
|
No vendors match your current filters.