@extends('layouts.admin') @section('title', 'Detail Pesanan #' . $order->order_number) @section('content') {{-- Header & Breadcrumb --}}
Order {{ $order->order_number }} · {{ $order->created_at->format('d M Y, H:i') }} WIB
| # | Produk | Harga Satuan | Qty | Subtotal |
|---|---|---|---|---|
| {{ $loop->iteration }} |
{{-- Gambar produk melalui relasi item->product --}}
@if($item->product && $item->product->image)
{{ $item->product_name }}
@if(!$item->product)
Produk dihapus
@endif
|
Rp {{ number_format($item->price, 0, ',', '.') }} | {{ $item->quantity }} | Rp {{ number_format($item->subtotal, 0, ',', '.') }} |
| Total Pembayaran: | Rp {{ number_format($order->total_amount, 0, ',', '.') }} | |||