Suppliers

@if($farms->isEmpty())
You do not have farm access yet. Ask admin to assign at least one farm before creating suppliers.
@endif
@csrf
@foreach($suppliers as $s) @endforeach
FarmSupplierTypeContactPhone
{{ $s->farm?->name }}{{ $s->name }}{{ ucfirst($s->supplier_type ?? 'other') }}{{ $s->contact_person }}{{ $s->phone }}
@csrf @method('DELETE')
Edit {{ $s->name }}
@csrf @method('PATCH')
{{ $suppliers->links() }}

Supplier Scores

@foreach($scores as $score) @endforeach
SupplierDateOverallInsight
{{ $score->supplier?->name }}{{ $score->snapshot_date?->format('Y-m-d') }}{{ $score->overall_score }}{{ $score->insight }}