@extends('layouts.app') @section('content')

Detail Pesanan

Informasi Pesanan

Invoice : {{ $order->invoice }}

Customer : {{ $order->user->name }}

No HP : {{ $order->phone }}

Alamat : {{ $order->address }}

Pembayaran : {{ $order->payment_method }}

Total : Rp {{ number_format($order->total,0,',','.') }}

Produk
@foreach($order->items as $item) @endforeach
Produk Qty Harga Subtotal
{{ $item->product->name }} {{ $item->quantity }} Rp {{ number_format($item->price,0,',','.') }} Rp {{ number_format($item->subtotal,0,',','.') }}
Status Pesanan
@csrf @method('PUT')
@endsection