Detail Pesanan

{{ $order->status }}

Nomor Pesanan: {{ $order->order_number }}

Daftar Semua Pesanan
Produk yang Dipesan
@foreach ($order->orderItems as $item) @endforeach
Produk Harga Satuan Jumlah Subtotal
@if ($item->product && $item->product->image) {{ $item->product_name }} @else
@endif
@if ($item->product) {{ $item->product_name }} @else {{ $item->product_name }} @endif @if ($item->product_sku)
SKU: {{ $item->product_sku }}
@endif
Rp {{ number_format($item->unit_price, 0, ',', '.') }} {{ $item->quantity }} Rp {{ number_format($item->subtotal, 0, ',', '.') }}
Subtotal: Rp {{ number_format($order->subtotal, 0, ',', '.') }}
Biaya Pengiriman: @if ($order->shipping_cost > 0) Rp {{ number_format($order->shipping_cost, 0, ',', '.') }} @else Gratis @endif
Total Tagihan: Rp {{ number_format($order->total, 0, ',', '.') }}
Informasi Pesanan
Tanggal Transaksi {{ $order->created_at->format('d F Y, H:i') }} WIB
Metode Pembayaran {{ str_replace('_', ' ', $order->payment_method ?? 'Manual Transfer') }}

Tujuan Pengiriman
Nama Penerima: {{ $order->shipping_name }}
Nomor Telepon: {{ $order->shipping_phone }}
Alamat Lengkap:

{{ $order->shipping_address }}