@php $productOptions = $products->map(fn ($product) => (object) ['id' => $product->id, 'name' => "{$product->name} ({$product->sku})"]); @endphp
← Back to {{ $saleOrder->order_number }}

Details

{{ $saleOrder->customer->name }} · {{ $saleOrder->warehouse->name }}

Items

@foreach ($items as $index => $item) @endforeach
Product Quantity Unit Price Tax % Line Total
{{ number_format((float) ($item['quantity'] ?: 0) * (float) ($item['unit_price'] ?: 0), 2) }} @if (count($items) > 1) @endif
Subtotal {{ number_format($this->subtotal(), 2) }}
Tax {{ number_format($this->taxTotal(), 2) }}
Total {{ number_format($this->grandTotal(), 2) }}
Cancel