AI store generator for ecommerce, Malaysia first. Laravel 13 + React + TypeScript.
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

payment-reminder.blade.php 3.3KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. @php
  2. $m = $brand->malay;
  3. $label = 'font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: '.$brand->color('muted').';';
  4. $line = 'border-bottom: 1px solid '.$brand->color('border').';';
  5. @endphp
  6. <x-mail.store :brand="$brand" :preheader="$m ? 'Pesanan #'.$order->number.' menunggu bayaran anda.' : 'Order #'.$order->number.' is waiting for your payment.'">
  7. <h1 style="margin: 0 0 16px; font-family: {{ $brand->headingFont }}; font-size: 26px; line-height: 1.25; font-weight: 700; color: {{ $brand->color('foreground') }};">
  8. {{ $m ? 'Lengkapkan bayaran anda' : 'Complete your payment' }}
  9. </h1>
  10. <p style="margin: 0 0 12px;">{{ $m ? 'Hai' : 'Hi' }} {{ $order->customer_name }},</p>
  11. <p style="margin: 0 0 24px;">
  12. {{ $m
  13. ? "Pesanan #{$order->number} daripada ".rtrim($store->name, '.')." belum dibayar. Barang anda masih menunggu. Klik butang di bawah untuk kembali ke halaman bayaran."
  14. : "Your order #{$order->number} from ".rtrim($store->name, '.')." has not been paid yet. Your items are still waiting. Click the button below to go back to the payment page." }}
  15. </p>
  16. {{-- Button --}}
  17. <table role="presentation" cellpadding="0" cellspacing="0" border="0" style="margin: 0 0 12px;">
  18. <tr>
  19. <td class="sf-cell"><x-mail.store-button :brand="$brand" :href="$payUrl">{{ $m ? 'Lengkapkan bayaran' : 'Complete payment' }}</x-mail.store-button></td>
  20. </tr>
  21. </table>
  22. @if ($deadline)
  23. <p style="margin: 0 0 28px; font-size: 13px; color: {{ $brand->color('muted') }};">
  24. {{ $m ? "Anda boleh membayar sehingga {$deadline}. Selepas itu pesanan akan ditutup dan anda tidak akan dicaj." : "You can pay until {$deadline}. After that the order is closed and you will not be charged." }}
  25. </p>
  26. @endif
  27. {{-- What was ordered --}}
  28. <div style="{{ $label }} margin: 0 0 6px;">{{ $m ? 'Pesanan anda' : 'Your order' }}</div>
  29. <table role="presentation" width="100%" cellpadding="0" cellspacing="0" border="0" style="margin: 0 0 28px; border-top: 1px solid {{ $brand->color('border') }};">
  30. @foreach ($order->items as $item)
  31. <tr>
  32. <td style="{{ $line }} padding: 10px 12px 10px 0;">{{ $item->name }} <span style="color: {{ $brand->color('muted') }};">× {{ $item->quantity }}</span></td>
  33. <td align="right" style="{{ $line }} padding: 10px 0; white-space: nowrap;">{{ $brand->money($item->line_total) }}</td>
  34. </tr>
  35. @endforeach
  36. <tr>
  37. <td style="padding: 14px 0 0; font-weight: 700;">{{ $m ? 'Jumlah perlu dibayar' : 'Total to pay' }}</td>
  38. <td align="right" style="padding: 14px 0 0; font-weight: 700; white-space: nowrap;">{{ $brand->money($order->total) }}</td>
  39. </tr>
  40. </table>
  41. <p style="margin: 0 0 20px; color: {{ $brand->color('muted') }};">
  42. {{ $m ? 'Sudah membayar? Abaikan e-mel ini.' : 'Already paid? You can ignore this email.' }}
  43. <a href="{{ $orderUrl }}" style="color: {{ $brand->color('foreground') }}; font-weight: 600; text-decoration: underline;">{{ $m ? 'Lihat pesanan anda' : 'View your order' }}</a>
  44. </p>
  45. <p style="margin: 0;">{{ $m ? 'Terima kasih,' : 'Thanks,' }}<br><strong>{{ $store->name }}</strong></p>
  46. </x-mail.store>