{{ $storeName }}

Invoice {{ $order->invoice_number }} · {{ $order->created_at->format('d M Y, H:i') }}

{{ strtoupper($order->status) }} {{ strtoupper($order->payment_status) }}

Ringkasan Produk

@foreach ($order->items as $item) @endforeach
Produk Jumlah Subtotal
{{ $item->product_name }} {{ $item->quantity }} x Rp{{ number_format($item->unit_price, 0, ',', '.') }} Rp{{ number_format($item->subtotal, 0, ',', '.') }}
Subtotal Rp{{ number_format($order->subtotal_amount, 0, ',', '.') }}
Diskon - Rp{{ number_format($order->discount_amount, 0, ',', '.') }}
Ongkos Kirim Rp{{ number_format($order->shipping_cost, 0, ',', '.') }}
Total Bayar Rp{{ number_format($order->grand_total, 0, ',', '.') }}

Pengiriman

Kurir: {{ strtoupper($order->shipping_courier ?? 'Pickup') }}

Alamat: {{ $order->shipping_address['address_line1'] ?? '-' }}, {{ $order->shipping_address['city'] ?? '-' }}, {{ $order->shipping_address['province'] ?? '-' }}

Catatan: {{ $order->notes ?? '-' }}

Pembayaran

@if ($order->payments->isNotEmpty()) @else

Belum ada riwayat pembayaran.

@endif