AI store generator for ecommerce, Malaysia first. Laravel 13 + React + TypeScript.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

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