@lang('report.Show_waiter_table_service')
{{ $WaiterTableService['waiter_id'] ?? __('report.NotAvailable') }}
{{ $WaiterTableService['first_name'] ?? '' }} {{ $WaiterTableService['last_name'] ?? '' }}
{{ $WaiterTableService['total_orders'] ?? __('report.NotAvailable') }}
| @lang('report.TableName') | @lang('report.TotalOrders') | @lang('report.AvgPrice') |
|---|---|---|
| {{ app()->getLocale() === 'ar' ? $table['name_ar'] ?? '' : $table['name_en'] ?? '' }} | {{ $table['order_count'] ?? 0 }} | {{ number_format($table['avg_total_price'] ?? 0, 2) }} |
| @lang('report.NoTablesFound') | ||
| @lang('report.TableName') | @lang('report.TotalModifications') | @lang('report.ModificationDetails') |
|---|---|---|
| {{ app()->getLocale() === 'ar' ? $table['name_ar'] ?? '' : $table['name_en'] ?? '' }} | {{ array_sum(array_column($table['modifications'] ?? [], 'count')) }} |
@forelse ($table['modifications'] ?? [] as $mod)
- {{ $mod['dish_name'] ?? '' }}
({{ $mod['count'] ?? 0 }})
@empty @lang('report.NoModifications') @endforelse |
| @lang('report.NoTablesFound') | ||
| @lang('report.TableName') | @lang('report.TotalCancellations') | @lang('report.CancellationDetails') |
|---|---|---|
| {{ app()->getLocale() === 'ar' ? $table['name_ar'] ?? '' : $table['name_en'] ?? '' }} | {{ array_sum(array_column($table['cancellations'] ?? [], 'count')) }} |
@forelse ($table['cancellations'] ?? [] as $cancel)
- {{ $cancel['dish_name'] ?? '' }}
({{ $cancel['count'] ?? 0 }})
@empty @lang('report.NoCancellations') @endforelse |
| @lang('report.NoTablesFound') | ||