@extends('layouts.admin') @section('title', $order->order_number) @section('page_title', 'Order '.$order->order_number) @section('content')

Items

@foreach($order->items as $item) @endforeach
Product Price Qty Total
{{ $item->product_name }} ₹{{ number_format($item->price, 0) }} {{ $item->quantity }} ₹{{ number_format($item->total, 0) }}

Customer

{{ $order->customer_name }} @if($order->user_id) View account @else
Guest checkout
@endif
{{ $order->customer_email }}
{{ $order->customer_phone }}
{{ $order->shipping_address }}
{{ $order->city }} — {{ $order->pincode }}
@if($order->notes)
{{ $order->notes }}
@endif

Update Status

@csrf @method('PUT')
Payment: {{ strtoupper($order->payment_method) }}
Subtotal: ₹{{ number_format($order->subtotal, 0) }}
@if($order->discount_amount > 0)
Discount{{ $order->coupon_code ? ' ('.$order->coupon_code.')' : '' }}: −₹{{ number_format($order->discount_amount, 0) }}
@endif
Total: ₹{{ number_format($order->total, 0) }}
@endsection