@php $seed = old('lines', $row ? $row->lines->map(fn ($l) => [ 'item_ref' => $l->item_ref, 'description' => $l->description, 'qty' => $l->qty, 'price' => $l->price, 'tax_pct' => $l->tax_pct, ])->all() : [['item_ref' => '', 'description' => '', 'qty' => 1, 'price' => '', 'tax_pct' => 16]]); @endphp
@csrf @if ($method === 'PUT') @method('PUT') @endif

Line Items

@foreach ($seed as $i => $line) @include('inventory.partials.invoice-line', ['prefix' => $prefix, 'i' => $i, 'line' => $line]) @endforeach
Subtotal + VAT KSh 0