Gatepass

@if ($errors->has('gatepass_no')) {{ $errors->first('gatepass_no') }} @endif
@if ($errors->has('packed_by')) {{ $errors->first('packed_by') }} @endif
@if ($errors->has('dispatched_by')) {{ $errors->first('dispatched_by') }} @endif
@if ($errors->has('received_by')) {{ $errors->first('received_by') }} @endif
@if ($errors->has('receiver_mobile')) {{ $errors->first('receiver_mobile') }} @endif
@if ($errors->has('receiver_designation')) {{ $errors->first('receiver_designation') }} @endif
Sr No.
Item Name
Quantity
Unit
Remark
@foreach ($lists as $li)
{{ $loop->iteration }}
@if ($errors->has('medicine.' . $li)) {{ $errors->first('medicine.' . $li) }} @endif
@if ($errors->has('quantity.' . $li)) {{ $errors->first('quantity.' . $li) }} @endif
@if ($errors->has('unit.' . $li)) {{ $errors->first('unit.' . $li) }} @endif
@if ($errors->has('remark.' . $li)) {{ $errors->first('remark.' . $li) }} @endif
@endforeach
{{-- @script @endscript --}}