@if($errors->any())
Please correct the highlighted fields.
@endif

Procurement Items

Add item name, quantity, and price in each row.

S.NONameQuantityPriceTotal
Grand Total ₹0.00
Cancel
@php $defaultRows=array_fill(0,10,['name'=>'','quantity'=>'','price'=>'']); $initialItems=old('items',isset($procurement)?$procurement->items->map(fn($item)=>['name'=>$item->name,'quantity'=>$item->quantity,'price'=>$item->price])->values()->all():$defaultRows); @endphp @push('scripts')@endpush