@extends('layouts.app') @section('title', __('Order Details') . ' - #' . ($order->order_number ?? $order->daily_number)) @section('content')
| {{ __('messages.product') ?? 'Product' }} | {{ __('Price') }} | {{ __('Qty') }} | {{ __('messages.total') ?? 'Total' }} |
|---|---|---|---|
{{ $item->product->name ?? 'Unknown Product' }}{{ $item->product->category->name ?? '' }} |
${{ number_format($item->price, 2) }} | x{{ $item->quantity }} | ${{ number_format($item->item_total, 2) }} |
| {{ __('messages.subtotal') ?? 'Subtotal' }} | ${{ number_format($order->items->sum('item_total'), 2) }} | ||
| {{ __('messages.tax') ?? 'Tax (VAT)' }} | + ${{ number_format($order->tax, 2) }} | ||
| {{ __('Discount') }} | - ${{ number_format($order->discount, 2) }} | ||
| {{ __('Total Amount') }} | ${{ number_format($order->total_amount, 2) }} | ||
{{ $order->notes ?? __('No special instructions provided for this order.') }}