| 123456789101112131415161718192021222324252627282930 |
- <x-mail::message>
- # {{ $malay ? 'Terima kasih atas pesanan anda' : 'Thank you for your order' }}
-
- {{ $malay ? 'Hai' : 'Hi' }} {{ $order->customer_name }},
-
- {{ $malay
- ? "Kami telah menerima bayaran anda. Ini ringkasan pesanan #{$order->number} daripada {$store->name}."
- : "We have received your payment. Here is a summary of order #{$order->number} from {$store->name}." }}
-
- <x-mail::table>
- | {{ $malay ? 'Produk' : 'Item' }} | {{ $malay ? 'Kuantiti' : 'Qty' }} | {{ $malay ? 'Jumlah' : 'Total' }} |
- | :--- | :---: | ---: |
- @foreach ($order->items as $item)
- | {{ $item->name }} | {{ $item->quantity }} | {{ $money($item->line_total) }} |
- @endforeach
- @if ($order->discount_total > 0)
- | {{ $malay ? 'Diskaun' : 'Discount' }}{{ $order->discount_code ? ' ('.$order->discount_code.')' : '' }} | | -{{ $money($order->discount_total) }} |
- @endif
- | {{ $malay ? 'Penghantaran' : 'Shipping' }} | | {{ $order->shipping_total === 0 ? ($malay ? 'Percuma' : 'Free') : $money($order->shipping_total) }} |
- | **{{ $malay ? 'Jumlah dibayar' : 'Total paid' }}** | | **{{ $money($order->total) }}** |
- </x-mail::table>
-
- **{{ $malay ? 'Alamat penghantaran' : 'Delivery address' }}**
-
- {{ $order->shipping_address['line1'] }}@if ($order->shipping_address['line2']), {{ $order->shipping_address['line2'] }}@endif<br>
- {{ $order->shipping_address['postcode'] }} {{ $order->shipping_address['city'] }}, {{ $order->shipping_address['state'] }}
-
- {{ $malay ? 'Terima kasih,' : 'Thanks,' }}<br>
- {{ $store->name }}
- </x-mail::message>
|