@lang('modules.delivery.codMonitoringDescription')
@lang('modules.delivery.dueToCollect')
{{ currency_format($totals['due_collection_total'], restaurant()->currency_id) }}
{{ trans_choice('modules.delivery.ordersCountLabel', $totals['due_collection_orders'], ['count' => $totals['due_collection_orders']]) }}
@lang('modules.delivery.readyForSettlement')
{{ currency_format($totals['ready_settlement_total'], restaurant()->currency_id) }}
{{ trans_choice('modules.delivery.ordersCountLabel', $totals['ready_settlement_orders'], ['count' => $totals['ready_settlement_orders']]) }}
@lang('modules.delivery.submittedForApproval')
{{ currency_format($totals['submitted_settlement_total'], restaurant()->currency_id) }}
{{ trans_choice('modules.delivery.ordersCountLabel', $totals['submitted_settlement_orders'], ['count' => $totals['submitted_settlement_orders']]) }}
@lang('modules.delivery.totalSettled')
{{ currency_format($totals['settled_total'], restaurant()->currency_id) }}
{{ trans_choice('modules.delivery.ordersCountLabel', $totals['settled_orders'], ['count' => $totals['settled_orders']]) }}
@lang('modules.delivery.collectedToday')
{{ currency_format($totals['collected_today_total'], restaurant()->currency_id) }}
{{ trans_choice('modules.delivery.ordersCountLabel', $totals['collected_today_orders'], ['count' => $totals['collected_today_orders']]) }}
@lang('modules.delivery.totalCodOrders')
{{ currency_format($totals['total_cod_amount'], restaurant()->currency_id) }}
{{ trans_choice('modules.delivery.ordersCountLabel', $totals['total_cod_orders'], ['count' => $totals['total_cod_orders']]) }}
| @lang('modules.order.orderNumber') | @lang('modules.customer.customer') | @lang('menu.deliveryExecutive') | @lang('modules.delivery.dueAmount') | @lang('modules.delivery.collectedAmount') | @lang('app.status') | @lang('app.dateTime') |
|---|---|---|---|---|---|---|
| {{ $item->order?->show_formatted_order_number ?? '--' }} | {{ $item->order?->customer?->name ?? '--' }} | {{ $item->deliveryExecutive?->name ?? '--' }} | {{ currency_format($item->expected_amount, restaurant()->currency_id) }} | {{ currency_format((float) ($item->collected_amount ?? 0), restaurant()->currency_id) }} | {{ match ($item->status) { 'pending_collection' => __('modules.delivery.pendingCollection'), 'collected' => __('modules.delivery.collected'), 'submitted' => __('modules.delivery.submitted'), 'settled' => __('modules.delivery.settled'), default => ucwords(str_replace('_', ' ', $item->status)), } }} | @include('common.date-time-display', ['date' => $item->recorded_at ?? $item->updated_at]) |
| @lang('modules.delivery.noCodCollectionsFound') | ||||||
| @lang('modules.delivery.settlementNumber') | @lang('menu.deliveryExecutive') | @lang('modules.delivery.orderCount') | @lang('modules.delivery.submittedAmount') | @lang('modules.delivery.submittedAt') | @lang('app.note') | @lang('app.status') | @lang('app.action') |
|---|---|---|---|---|---|---|---|
| {{ $settlement->settlement_number ?? '--' }} | {{ $settlement->deliveryExecutive?->name ?? '--' }} | {{ $settlement->items->count() }} | {{ currency_format($settlement->submitted_amount, restaurant()->currency_id) }} | @include('common.date-time-display', ['date' => $settlement->submitted_at]) | {{ $settlement->notes ?: '--' }} | {{ match ($settlement->status) { 'submitted' => __('modules.delivery.submitted'), 'approved' => __('modules.delivery.settled'), 'rejected' => __('modules.delivery.rejected'), default => ucwords(str_replace('_', ' ', $settlement->status)), } }} |
@if ($settlement->status === 'submitted')
|
| @lang('modules.delivery.noSettlementHistoryFound') | |||||||