{{ __('app.restaurant_orders_list') }}

{{ __('app.generated_on') }} {{ now()->format('d m Y | H:i') }} — {{ __('app.total') }}: {{ $orders->count() }}

{{ __('app.restaurant_information') }}

{{ __('app.name') }}

{{ $restaurant->user->name }}

{{ __('app.email') }}

{{ $restaurant->user->email }}

{{ __('app.phone') }}

{{ $restaurant->user->phone }}

{{ __('app.created_at') }}

{{ $restaurant->created_at->format('d m Y') }}

{{ __('app.address') }}

{{ $restaurant->address }}, {{ $restaurant->commune }}, {{ $restaurant->willaya }}

{{ __('app.orders_list') }}

@foreach ($orders as $order) @endforeach
ID {{ __('app.client') }} {{ __('app.driver') }} {{ __('app.number_of_products') }} {{ __('app.address') }} {{ __('app.status') }} {{ __('app.created_at') }} {{ __('app.total') }}
{{ $order->id }} {{ $order->client->user->name ?? '-' }} {{ $order->driver->name ?? '-' }} {{ $order->products->count() ?? '-' }} {{ $order->address ?? '-' }} {{ $order->status ?? '-' }} {{ $order->created_at->format('d m Y | H:i') }} {{ $order->total ?? '-' }}