@extends('layouts.admin') @section('title', 'Detail Pesanan') @section('page-title', 'Detail Pesanan #' . $order->order_number) @section('admin_content')

Informasi Pengiriman

Nama Pelanggan

{{ $order->customer_name }}

Telepon

{{ $order->customer_phone ?? '-' }}

Alamat Pengiriman

{{ $order->shipping_address ?? $order->customer_address ?? '-' }}

Kurir

{{ $order->shipping_courier ?? '-' }}

Layanan

{{ $order->shipping_service ?? '-' }}

Item Pesanan

@foreach($order->items as $item) @endforeach
Produk Qty Harga Total
{{ $item->product_name }} {{ $item->quantity }} Rp {{ number_format($item->price, 0, ',', '.') }} Rp {{ number_format($item->total, 0, ',', '.') }}

Ringkasan Bayar

Subtotal Rp {{ number_format($order->subtotal, 0, ',', '.') }}
Ongkir Rp {{ number_format($order->shipping_cost, 0, ',', '.') }}
Total Rp {{ number_format($order->total, 0, ',', '.') }}

Update Status

@csrf
@endsection