@extends('admin.layout') @section('title','Manage Order') @section('content')
ORDER MANAGEMENT

{{ $order->order_number }}

Customer details

{{ $order->customer_name }}
{{ $order->phone }}
{{ $order->address }}

Items

@foreach($order->items as $item)

{{ $item->product_name }} × {{ $item->quantity }} ৳{{ number_format($item->line_total,0) }}

@endforeach

Total: ৳{{ number_format($order->total,0) }}

@csrf @method('PATCH')

Update status

Payment: {{ strtoupper($order->payment_method) }}

@endsection