@extends('layouts.app') @section('title', 'Staff Meals') @section('content')

Staff Meals

Total Cost This Month
{{ number_format($totalCost, 2) }}
@forelse ($meals as $m) @empty @endforelse
DateTypeEaten ByItemsCost
{{ $m->meal_date->format('d M') }} {{ ucfirst(str_replace('_',' ',$m->meal_type)) }} {{ $m->eater->name ?? $m->eaten_by_name ?? '—' }} {{ $m->items }} {{ number_format($m->estimated_cost, 2) }}
@csrf @method('DELETE')
No meals logged this month.
@endsection