@extends('layouts.buyer') @section('title', 'Detail Pesanan: ' . $order->order_number) @section('content')
Dibuat pada: {{ $order->created_at->format('d M Y, H:i') }} WIB | ID Pengguna: #{{ $order->user_id }}
| Produk | Harga Satuan | Jumlah | Subtotal |
|---|---|---|---|
|
@if ($item->product && $item->product->image_url)
{{ $item->product ? $item->product->name : 'Produk #' . $item->product_id }}
ID Produk: #{{ $item->product_id }}
|
{{ $item->formatted_price }} | {{ $item->quantity }} unit | {{ $item->formatted_subtotal }} |
| User ID | #{{ $order->user_id }} |
| Nama | {{ $order->user ? $order->user->name : Auth::user()->name }} |
| {{ $order->user ? $order->user->email : Auth::user()->email }} |
{{ $order->shipping_address ?: 'Alamat Pengiriman Standar' }}
@if ($order->notes)"{{ $order->notes }}"
@endif