@extends('admin::layouts.master') @section('title', "Order #{$order->order_number}") @section('content')
@php $statusFlow = ['pending', 'confirmed', 'processing', 'shipped', 'delivered']; $currentIdx = array_search($order->status, $statusFlow); $isCancelled = $order->status === 'cancelled'; @endphp| Product | Unit | Price | Qty | Subtotal |
|---|---|---|---|---|
|
{{ $item->product_name }} @if($item->product_id)ID: {{ $item->product_id }} @endif |
{{ $item->unit ?? '-' }} | €{{ number_format($item->price, 2) }} | {{ $item->quantity }} | €{{ number_format($item->subtotal, 2) }} |
{{ $order->notes ?? 'No notes.' }}