Food Cost Percentage

@if(Auth::user()->hasRole('superadmin')) @endif @forelse($foodCosts as $key => $cost) @php $percentageClass = 'percentage-medium'; if ($cost->food_cost_percentage > 35) { $percentageClass = 'percentage-high'; } elseif ($cost->food_cost_percentage < 28) { $percentageClass = 'percentage-low'; } @endphp @if(Auth::user()->hasRole('superadmin')) @endif @empty @endforelse
S.NoPartnerBranch Month/Year Food Cost % Status Actions
{{ $foodCosts->firstItem() + $key }}{{ $cost->partner->full_name ?? $cost->partner->company_name ?? 'N/A' }}{{ $cost->branch->branch_name ?? 'N/A' }} {{ \Carbon\Carbon::createFromFormat('Y-m', $cost->month_year)->format('F Y') }} {{ number_format($cost->food_cost_percentage, 2) }}% @if($cost->food_cost_percentage > 35) High @elseif($cost->food_cost_percentage < 28) Low @else Normal @endif

No food cost entries found.

@if($foodCosts instanceof \Illuminate\Pagination\LengthAwarePaginator) {{ $foodCosts->withQueryString()->links() }} @endif