ملخص الطلب
رقم الطلب: #{{ $order->number }}
المطعم: {{ $order->branch->restaurant->title }}
تاريخ ووقت الطلب: {{ $order->created_at->format('Y-m-d, H:i') }}
الوجبات
@foreach ($order->meals_pivot as $meal) @foreach ($meal->details->options ?? [] as $option) @foreach ($option->choices as $choice) @endforeach @endforeach @if (!$loop->last) @endif @endforeach
{{ $meal->title }} ({{ $meal->quantity }}) {{ number_format($meal->price * $meal->quantity, 2) }} ر.س
• {{ $option->title->ar }} - {{ $choice->title->ar }} @if ($choice->quantity) ({{ $choice->quantity }}) @endif @if ($choice->price > 0) + {{ number_format($choice->price * ($choice->quantity ?? 1) * $meal->quantity, 2) }} ر.س @endif
الملخص
@if ($order->is_delivery) @endif @if ($order->tip) @endif @if ($order->financial->store_coupon_discount) @endif @if ($order->financial->platform_coupon_discount) @endif
تكلفة المنتجات {{ number_format($order->total_price - $order->delivery_fees + $order->coupon_discount - $order->tip, 2) }} ر.س
رسوم التوصيل {{ number_format($order->delivery_fees, 2) }} ر.س
الإكرامية {{ number_format($order->tip, 2) }} ر.س
خصم المتجر {{ number_format($order->financial->store_coupon_discount, 2) }} ر.س
خصم التطبيق {{ number_format($order->financial->platform_coupon_discount, 2) }} ر.س
المبلغ الإجمالي {{ number_format($order->total_price, 2) }} ر.س
طريقة الدفع {{ __("global.payment_methods.$order->payment_method") }}