@lang('modules.report.cancelledOrderReportDescription')
{{ $totalCancelledOrders }}
{{ currency_format($totalCancelledAmount, $currencyId) }}
@lang('modules.report.noDataAvailable')
@endif| @lang('modules.report.orderNumber') | @lang('modules.report.orderDate') | @lang('modules.report.cancelledDate') | @lang('modules.report.customer') | @lang('modules.report.tableWaiter') | @lang('modules.report.cancellationReason') | @lang('modules.report.cancelledBy') | @lang('modules.report.orderTotal') |
|---|---|---|---|---|---|---|---|
| {{ $order->show_formatted_order_number ?? '#' . $order->order_number }} | {{ $order->date_time ? \Carbon\Carbon::parse($order->date_time)->format('M d, Y h:i A') : __('modules.report.notAvailable') }} | {{ $order->updated_at ? \Carbon\Carbon::parse($order->updated_at)->format('M d, Y h:i A') : __('modules.report.notAvailable') }} |
{{ $order->customer->name ?? __('modules.report.walkIn') }}
@if($order->customer && $order->customer->phone)
{{ $order->customer->phone }} @endif |
@if($order->table)
@lang('modules.report.table'): {{ $order->table->table_code }}
@endif
@if($order->waiter_id && $order->waiter && $order->waiter->roles->pluck('display_name')->contains('Waiter'))
@if($order->table)
@endif @lang('modules.report.waiter'): {{ $order->waiter->name }} @endif @if(!$order->table && !($order->waiter_id && $order->waiter && $order->waiter->roles->pluck('display_name')->contains('Waiter'))) @lang('modules.report.notAvailable') @endif |
@if($order->cancelReason) {{ $order->cancelReason->reason }} @elseif($order->cancel_reason_text) {{ $order->cancel_reason_text }} @else @lang('modules.report.notAvailable') @endif |
@if($order->cancelledBy)
{{ $order->cancelledBy->name }}
@if($order->cancelledBy->email)
{{ $order->cancelledBy->email }}
@endif
|
{{ currency_format($order->total, $currencyId) }} |
| @lang('modules.report.noCancelledOrdersFound') | |||||||
| @lang('modules.report.total'): | {{ currency_format($totalCancelledAmount, $currencyId) }} | ||||||