← Back to {{ $purchaseOrder->po_number }}

Edit {{ $purchaseOrder->po_number }}

{{ $purchaseOrder->supplier->name }} · delivering to {{ $purchaseOrder->warehouse->name }}

Lines

@foreach ($lines as $index => $line) @php $product = $this->productMap()->get((int) $line['product_id']); $lineTotal = (int) ($line['quantity'] ?: 0) * (float) ($line['unit_cost'] ?: 0); @endphp @endforeach
Product Box Quantity Unit cost GST % Line total
{{ $product?->name ?? 'Unknown product' }}
{{ $product?->sku }}
{{ $product?->box_quantity ?: '—' }}
{{ number_format($lineTotal, 2) }}
@if ($this->searchResults()->isNotEmpty())
    @foreach ($this->searchResults() as $product)
  • @endforeach
@endif
@php $totals = $this->totals(); @endphp
Total quantity
{{ $totals['quantity'] }} PCS
Subtotal
{{ number_format($totals['subtotal'], 2) }}
GST
{{ number_format($totals['tax_total'], 2) }}
Order total
₹{{ number_format($totals['total'], 2) }}
Save changes Cancel