@foreach ($orders as $key => $order) @foreach ($items as $key => $item) @if ($key == 0) @else @endif @endforeach @endforeach
# التاريخ {{ trans('labels.name') }} المحافظة {{ trans('labels.phone') }} {{ trans('labels.address') }} {{ trans('labels.book') }} {{ trans('labels.quantity') }} السعر المبلغ الشحن {{ trans('labels.total_amount') }} {{ trans('labels.status') }} {{ trans('labels.action_by') }}
{{ $order->id }} {{ $order->deposit->updated_at ?? null }} {{ $order->name ?? null }} {{ $order->gov . ' | ' . $order->city }} {{ $order->phone ?? null }} ({{ $order->backup_phone ?? null }}) {{ $order->address }} {{ $item->book->title ?? null }} {{ $item->qty }} {{ $item->fees }} {{ $order->amount }} {{ $order->shipping_fees }} {{ $order->total_amount }} {{ $order->status_name ?? null }} {{ $order->createdBy->name ?? null }}
{{ $item->book->title ?? null }} {{ $item->qty }} {{ $item->fees }}