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

Order {{ $order->order_number }}

Back

Customer

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

{{ $order->user->email }}

Status

@csrf @method('PUT')

Discount Code

{{ $order->discount_code ?? 'None' }}

Total

${{ number_format($order->total, 2) }}

Order Items

@foreach($order->items as $item) @endforeach
ProductQuantityPriceSubtotal
{{ $item->product->name }}{{ $item->quantity }}${{ number_format($item->price, 2) }}${{ number_format($item->subtotal, 2) }}
@endsection