@extends('layouts.admin') @section('title', 'Detail Pesanan #ORD-' . str_pad($order->id, 5, '0', STR_PAD_LEFT)) @push('styles') @endpush @section('content') {{-- Header Halaman & Breadcrumb --}}
| Produk | Harga Satuan | Jumlah | Subtotal |
|---|---|---|---|
|
{{ $item->product_name }}
@if($item->product && $item->product->category)
{{ $item->product->category->name }}
@endif
|
Rp {{ number_format($item->price, 0, ',', '.') }} | {{ $item->quantity }} | Rp {{ number_format($item->subtotal, 0, ',', '.') }} |
| Tidak ada item produk dalam pesanan ini. | |||
| Total Kuantitas Barang: | {{ $order->orderItems->sum('quantity') }} Unit | ||
| Total Pembayaran: | Rp {{ number_format($order->total, 0, ',', '.') }} | ||