| # | {{ __('app.restaurant') }} | {{ __('app.number_of_products') }} | {{ __('app.sub_total') }} | {{ __('app.delivery_fee') }} | {{ __('app.night_multiplier') }} | {{ __('app.demand_multiplier') }} | {{ __('app.peak_multiplier') }} | {{ __('app.total') }} | {{ __('app.address') }} | {{ __('app.note') }} | {{ __('app.status') }} | {{ __('app.created_at') }} | @canany(['view client order', 'delete client order', 'force delete client order']){{ __('app.actions') }} | @endcanany
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $loop->iteration }} | {{ $item->restaurant?->name ?? '-' }} | {{ $item->products->count() }} | {{ number_format($item->sub_total, 2) }} | {{ number_format($item->delivery_fee, 2) }} | {{ $item->night_multiplier }} | {{ $item->demand_multiplier }} | {{ $item->peak_multiplier }} | {{ number_format($item->total, 2) }} | {{ $item->address }} | {{ $item->note ?? '-' }} | {{ $item->status->label() }} | {{ $item->created_at->format('d m Y H:i') }} | @canany(['view client order', 'delete client order', 'force delete client order'])
@can('view client order')
id }}})"
title="{{ __('app.edit') }}">
@endcan
{{-- we will fix this later --}}
{{-- @can('edit restaurants')
id }}})"
title="{{ __('app.edit') }}">
@endcan --}}
@can('force delete client order')
id }}">
@endcan
@can('delete client order')
@if (!$item->trashed())
id }}">
@endif
@endcan
|
@endcanany
| {{ __('app.no_results_found') }} | |||||||||||||