@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 }} | @if($order->date_time) @php $dateFormat = restaurant()->date_format ?? 'd-m-Y'; $timeFormat = restaurant()->time_format ?? 'h:i A'; $orderDate = \Carbon\Carbon::parse($order->date_time)->setTimezone(timezone()); @endphp {{ $orderDate->format($dateFormat . ' ' . $timeFormat) }} @else {{ __('modules.report.notAvailable') }} @endif | @if($order->updated_at) @php $dateFormat = restaurant()->date_format ?? 'd-m-Y'; $timeFormat = restaurant()->time_format ?? 'h:i A'; $cancelledDate = \Carbon\Carbon::parse($order->updated_at)->setTimezone(timezone()); @endphp {{ $cancelledDate->format($dateFormat . ' ' . $timeFormat) }} @else {{ __('modules.report.notAvailable') }} @endif |
{{ $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) }} | ||||||