@foreach($order->items as $item)
{{ $item->product_name }}
@if($item->variation)
Variasi: {{ $item->variation }}
@endif
Rp {{ number_format($item->price, 0, ',', '.') }} x {{ $item->quantity }}
Rp {{ number_format($item->price * $item->quantity, 0, ',', '.') }}
@endforeach
Subtotal Produk
Rp {{ number_format($order->total_price, 0, ',', '.') }}
Ongkos Kirim
Rp {{ number_format($order->shipping_cost, 0, ',', '.') }}
Total Pembayaran
Rp {{ number_format($order->grand_total, 0, ',', '.') }}