@extends('layouts.buyer') @section('title', 'Detail Pesanan ' . $order->order_number . ' - Toko Online') @section('content')
{{ $order->order_number }}
| Produk | Harga Satuan | Qty | Subtotal |
|---|---|---|---|
|
@if($item->product && $item->product->image)
{{ $item->product_name }}
@if($item->product)
Lihat Produk
@else
Produk tidak tersedia
@endif
|
Rp {{ number_format($item->price, 0, ',', '.') }} | {{ $item->quantity }} | Rp {{ number_format($item->subtotal, 0, ',', '.') }} |
| Subtotal Produk | Rp {{ number_format($order->subtotal, 0, ',', '.') }} | ||
| Ongkos Kirim | {{ $order->shipping_fee > 0 ? 'Rp ' . number_format($order->shipping_fee, 0, ',', '.') : 'Gratis' }} | ||
| Diskon | - Rp {{ number_format($order->discount, 0, ',', '.') }} | ||
| Total Pembayaran | Rp {{ number_format($order->total, 0, ',', '.') }} | ||