|
{{ $ar ? 'مرحبًا' : 'Hello' }} {{ $doc['customer']['name'] ?? '' }}{{ $ar ? '،' : ',' }}
@if ($doc['order']['payment_status_raw'] === 'cod_pending')
{{ $ar ? 'تم استلام طلبك بنجاح. الدفع عند الاستلام، والمبلغ يُحصّل عند التسليم. تجد فاتورة الطلب بصيغة PDF مرفقة بهذه الرسالة.' : 'Your order has been received. Payment is cash on delivery and will be collected when the order arrives. Your order invoice is attached as a PDF.' }}
@elseif ($doc['order']['payment_status_raw'] === 'paid')
{{ $ar ? 'تم تأكيد الدفع لطلبك بنجاح. تجد الفاتورة بصيغة PDF مرفقة بهذه الرسالة.' : 'Payment for your order has been confirmed. Your invoice is attached as a PDF.' }}
@else
{{ $ar ? 'تجد أدناه تفاصيل طلبك وحالة الدفع، وفاتورة الطلب بصيغة PDF مرفقة بهذه الرسالة.' : 'Your order details and payment status are below. Your order invoice is attached as a PDF.' }}
@endif
|
{{ $labels['payment_status'] }}
{{ $doc['order']['payment_status'] }}
|
{{ $labels['grand_total'] }}
{{ $doc['totals']['grand_total'] }}
|
{{ $labels['items'] }}
| {{ $labels['product'] }} |
{{ $labels['qty'] }} |
{{ $labels['line_total'] }} |
@foreach ($doc['items'] as $item)
@if (! empty($item['email_image_cid']))
|
@endif
{{ $item['name'] }}
{{ $labels['sku'] }}: {{ $item['sku'] ?: '—' }}
@if (! empty($item['options']))
{{ $item['options'] }}
@endif
{{ $labels['unit_price'] }}: {{ $item['unit_price'] }}
@if ((float) $item['discount'] > 0)
{{ $labels['discount'] }}: {{ $item['discount'] }}
@endif
|
|
{{ $item['quantity'] }} |
{{ $item['line_total'] }} |
@endforeach
@foreach (['subtotal' => 'subtotal', 'discount_total' => 'discount', 'shipping_amount' => 'shipping'] as $key => $label)
| {{ $labels[$label] }} | {{ $doc['totals'][$key] }} |
@endforeach
@if (! empty($doc['totals']['show_tax']) && ! empty($doc['tax']['enabled']))
| {{ $labels['tax'] }} | {{ $doc['totals']['tax_amount'] }} |
@endif
| {{ $labels['grand_total'] }} | {{ $doc['totals']['grand_total'] }} |
| {{ $labels['paid_amount'] }} | {{ $doc['totals']['paid_amount'] }} |
@if (! empty($doc['totals']['show_refunded']))
| {{ $labels['refunded_amount'] }} | {{ $doc['totals']['refunded_amount'] }} |
@endif
| {{ $labels['outstanding_amount'] }} | {{ $doc['totals']['outstanding_amount'] }} |
{{ $ar ? 'شكرًا لتسوّقك معنا.' : 'Thank you for shopping with us.' }}
|