@lang('global.order_details')

$order]) }} method='POST'> @csrf @method('PATCH')
@if ($order->status->title === 'pending') @endif @if ($order->status->title !== 'pending') @endif @if ($order->status->title === 'pending') @endif @foreach ($order->meals_pivot()->withTrashed()->get() as $meal) $meal->trashed()])> @if ($order->status->title === 'pending') @endif @if ($order->status->title !== 'pending') @endif @if ($order->status->title === 'pending') @endif @endforeach
@lang('global.quantity')@lang('global.category')@lang('global.quantity')@lang('global.unit_price')@lang('global.actions')
$meal->trashed()])>
{{ $meal->title }} {{ $meal->quantity }} {{ $meal->price }} SAR $meal->trashed()])>
@lang('global.total_amount')
{{ number_format($order->total_price, 2) }} SAR
@if (in_array($order->status->title,$order->restaurant->settings->orders->enable_cancellation_on_status))
@csrf @method('PATCH')
@endif @if (in_array($order->status->title,$order->restaurant->settings->orders->enable_adding_meal_on_status)) @endif @if ($order->status->title === 'pending' ) @endif