@extends('layouts.admin') @section('title', 'Detail Pesanan #' . $order->order_number) @section('content')
Waktu Pemesanan: {{ $order->created_at->format('d F Y, H:i') }} WIB
| Item Produk | Harga Satuan | Quantity | Subtotal |
|---|---|---|---|
|
@if (!empty($item->product?->image))
📦
@endif
{{ $item->product_name }}Product ID: #{{ $item->product_id }} @if ($item->product) Sisa Stok: {{ $item->product->stock }} @endif |
Rp {{ number_format($item->price, 0, ',', '.') }} | {{ $item->quantity }} pcs | Rp {{ number_format($item->subtotal, 0, ',', '.') }} |
| Subtotal Produk: | Rp {{ number_format($order->subtotal, 0, ',', '.') }} | ||
| Ongkos Kirim: | {{ $order->shipping_cost > 0 ? 'Rp ' . number_format($order->shipping_cost, 0, ',', '.') : 'Gratis' }} | ||
| Total Tagihan: | Rp {{ number_format($order->total, 0, ',', '.') }} | ||
{{ $order->shipping_address }}
{{ $order->shipping_city }}, Kode Pos {{ $order->shipping_postal_code }}