{{ $store->address ?? '' }}
No: {{ $order->order_number }}
Tanggal: {{ Carbon\Carbon::parse($order->created_at)->format('d M Y') }} | Cetak: {{ $date }}
{{ $order->recipient_name }}
{{ $order->phone }}
{{ $order->user->email ?? '-' }}
{{ $order->shipping_address }}
Kurir: {{ $shippingDetails['courier_name'] ?? '-' }}
Layanan: {{ $shippingDetails['courier_service_name'] ?? $shippingDetails['service'] ?? '-' }}
Estimasi: {{ $shippingDetails['duration'] ?? '-' }}
@if($order->shipping_tracking_number)No. Resi: {{ $order->shipping_tracking_number }}
@endifStatus: @if($order->payment_status == 'paid') LUNAS @else BELUM LUNAS @endif
Metode: @if($order->payment_gateway_transaction_id) Payment Gateway @else Transfer Manual @endif
{{ $order->noted }}
@elseTidak ada catatan
@endif| No | Produk | Jumlah | Harga | Subtotal |
|---|---|---|---|---|
| {{ $index + 1 }} |
{{ $item->product_name }}
@if($item->variant_name)
{{ $item->variant_name }} @endif |
{{ $item->quantity }} | Rp {{ number_format($item->price, 0, ',', '.') }} | Rp {{ number_format($item->price * $item->quantity, 0, ',', '.') }} |
| Subtotal: | Rp {{ number_format($order->subtotal, 0, ',', '.') }} |
| Ongkos Kirim: | Rp {{ number_format($order->shipping_cost, 0, ',', '.') }} |
| Total: | Rp {{ number_format($order->total_amount, 0, ',', '.') }} |