Create Work Order

@if ($errors->has('work_order_no')) {{ $errors->first('work_order_no') }} @endif
@if ($errors->has('date')) {{ $errors->first('date') }} @endif
@if ($errors->has('valid_upto')) {{ $errors->first('valid_upto') }} @endif
Sr No
Item Name
Category/Type
Quantity
Unit
Amount
Action
@foreach ($lists as $li)
{{ $loop->iteration }}
Category : {{ $category[$li]['name'] ?? '-' }}
Type : {{ $type[$li]['name'] ?? '-' }}
@if ($errors->has('quantity.' . $li)) {{ $errors->first('quantity.' . $li) }} @endif
@if ($errors->has('amount.' . $li)) {{ $errors->first('amount.' . $li) }} @endif
@endforeach