{{ $order->invoice_number }}

{{ $order->created_at->format('d M Y, H:i') }} · Total Rp{{ number_format($order->grand_total, 0, ',', '.') }}

Pelanggan: {{ $order->shipping_address['recipient_name'] ?? 'Walk-in' }}

Kontak: {{ $order->shipping_address['phone'] ?? '-' }}

Status: {{ strtoupper($order->payment_status) }}

Detail Item

@foreach ($order->items as $item)

{{ $item->product_name }}

{{ $item->quantity }} x Rp{{ number_format($item->unit_price, 0, ',', '.') }}

Rp{{ number_format($item->subtotal, 0, ',', '.') }}

@endforeach
Total Rp{{ number_format($order->grand_total, 0, ',', '.') }}
@csrf
Cetak Struk