@extends('layouts.app') @section('title', 'Detail Pesanan ' . $order->order_number) @push('styles') @endpush @section('content') {{-- Breadcrumb Navigasi --}} {{-- Header Halaman Detail --}}
Dibuat pada {{ $order->created_at->format('d F Y, H:i') }} WIB • Diperbarui: {{ $order->updated_at->diffForHumans() }}
| Informasi Produk | Harga Satuan | Jumlah | Subtotal |
|---|---|---|---|
|
@php
$imgUrl = $item->product ? $item->product->image_url : null;
@endphp
@if ($imgUrl)
{{ $item->product->name ?? 'Produk #' . $item->product_id }}
Kategori: {{ $item->product->category->name ?? 'Umum' }}
• ID: #{{ $item->product_id }}
|
{{-- Harga Satuan --}}
Rp {{ number_format($item->price, 0, ',', '.') }} | {{-- Qty --}}{{ $item->quantity }} | {{-- Subtotal --}}Rp {{ number_format($item->subtotal, 0, ',', '.') }} |
| Tidak ada rincian produk pada pesanan ini. | |||
| Total Pembayaran: | {{ $order->formatted_total }} | ||