@extends('layouts.admin') @section('title', 'Detail Pesanan #' . $order->order_number) @section('content')
Dibuat pada {{ $order->created_at->format('d F Y, H:i') }} WIB
| Produk | Harga Satuan | Qty | Subtotal |
|---|---|---|---|
|
@if($item->product && $item->product->image)
{{ $item->product_name }}
@if($item->product_sku)
SKU: {{ $item->product_sku }}
@endif
@if($item->product)
Lihat Master Produk →
@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 Pembayaran: | Rp {{ number_format($order->total, 0, ',', '.') }} | ||
{{ $order->shipping_address }}