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
{{-- --}} @foreach ($lists as $key => $li) {{-- --}} @endforeach
Sr NoType *Item Name * Manufacturer * Qty * Unit * Amount Action
{{ $loop->iteration }} @if ($errors->has('medicine_id.' . $li))
{{ $errors->first('medicine_id.' . $li) }}
@endif
@if ($errors->has('manufacturer_id.' . $li))
{{ $errors->first('manufacturer_id.' . $li) }}
@endif
@if ($errors->has('quantity.' . $li))
{{ $errors->first('quantity.' . $li) }}
@endif
@if ($errors->has('unit_id.' . $li))
{{ $errors->first('unit_id.' . $li) }}
@endif
@if ($errors->has('amount.' . $li))
{{ $errors->first('amount.' . $li) }}
@endif
@push('scripts') @endpush