| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- @php
- $m = $brand->malay;
- $label = 'font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: '.$brand->color('muted').';';
- $line = 'border-bottom: 1px solid '.$brand->color('border').';';
- @endphp
- <x-mail.store :brand="$brand" :preheader="$m ? 'Pesanan #'.$order->number.' menunggu bayaran anda.' : 'Order #'.$order->number.' is waiting for your payment.'">
- <h1 style="margin: 0 0 16px; font-family: {{ $brand->headingFont }}; font-size: 26px; line-height: 1.25; font-weight: 700; color: {{ $brand->color('foreground') }};">
- {{ $m ? 'Lengkapkan bayaran anda' : 'Complete your payment' }}
- </h1>
- <p style="margin: 0 0 12px;">{{ $m ? 'Hai' : 'Hi' }} {{ $order->customer_name }},</p>
- <p style="margin: 0 0 24px;">
- {{ $m
- ? "Pesanan #{$order->number} daripada ".rtrim($store->name, '.')." belum dibayar. Barang anda masih menunggu. Klik butang di bawah untuk kembali ke halaman bayaran."
- : "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." }}
- </p>
-
- {{-- Button --}}
- <table role="presentation" cellpadding="0" cellspacing="0" border="0" style="margin: 0 0 12px;">
- <tr>
- <td class="sf-cell"><x-mail.store-button :brand="$brand" :href="$payUrl">{{ $m ? 'Lengkapkan bayaran' : 'Complete payment' }}</x-mail.store-button></td>
- </tr>
- </table>
- @if ($deadline)
- <p style="margin: 0 0 28px; font-size: 13px; color: {{ $brand->color('muted') }};">
- {{ $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." }}
- </p>
- @endif
-
- {{-- What was ordered --}}
- <div style="{{ $label }} margin: 0 0 6px;">{{ $m ? 'Pesanan anda' : 'Your order' }}</div>
- <table role="presentation" width="100%" cellpadding="0" cellspacing="0" border="0" style="margin: 0 0 28px; border-top: 1px solid {{ $brand->color('border') }};">
- @foreach ($order->items as $item)
- <tr>
- <td style="{{ $line }} padding: 10px 12px 10px 0;">{{ $item->name }} <span style="color: {{ $brand->color('muted') }};">× {{ $item->quantity }}</span></td>
- <td align="right" style="{{ $line }} padding: 10px 0; white-space: nowrap;">{{ $brand->money($item->line_total) }}</td>
- </tr>
- @endforeach
- <tr>
- <td style="padding: 14px 0 0; font-weight: 700;">{{ $m ? 'Jumlah perlu dibayar' : 'Total to pay' }}</td>
- <td align="right" style="padding: 14px 0 0; font-weight: 700; white-space: nowrap;">{{ $brand->money($order->total) }}</td>
- </tr>
- </table>
-
- <p style="margin: 0 0 20px; color: {{ $brand->color('muted') }};">
- {{ $m ? 'Sudah membayar? Abaikan e-mel ini.' : 'Already paid? You can ignore this email.' }}
- <a href="{{ $orderUrl }}" style="color: {{ $brand->color('foreground') }}; font-weight: 600; text-decoration: underline;">{{ $m ? 'Lihat pesanan anda' : 'View your order' }}</a>
- </p>
- <p style="margin: 0;">{{ $m ? 'Terima kasih,' : 'Thanks,' }}<br><strong>{{ $store->name }}</strong></p>
- </x-mail.store>
|