@if (hasPermission('profile_update'))
@csrf @endif
@if ($errors->has('phone')) {{ $errors->first('phone') }} @endif
@if ($errors->has('birth_date')) {{ $errors->first('birth_date') }} @endif
@if ($errors->has('gender')) {{ $errors->first('gender') }} @endif
@if ($errors->has('address')) {{ $errors->first('address') }} @endif
@if ($errors->has('nationality')) {{ $errors->first('nationality') }} @endif
@if ($errors->has('blood_group')) {{ $errors->first('blood_group') }} @endif
@if ($errors->has('avatar')) {{ $errors->first('avatar') }} @endif
@if ($errors->has('avatar')) {{ $errors->first('avatar') }} @endif
@if ($errors->has('employee_id')) {{ $errors->first('employee_id') }} @endif
@if ($errors->has('tin')) {{ $errors->first('tin') }} @endif
{{-- passport_number passport_file_id passport_expire_date start passport section --}} @php $isEmployeePassportRequired = settings('is_employee_passport_required') ? true : false; @endphp
@if ($errors->has('passport_number')) {{ $errors->first('passport_number') }} @endif
@if ($errors->has('passport_file_id')) {{ $errors->first('passport_file_id') }} @endif
@if ($errors->has('passport_expire_date')) {{ $errors->first('passport_expire_date') }} @endif
{{-- end passport section --}} {{-- eid_number eid_file_id eid_expire_date start id section --}} @php $isEmployeeEIDRequired = settings('is_employee_eid_required') ? true : false; @endphp
@if ($errors->has('eid_number')) {{ $errors->first('eid_number') }} @endif
@if ($errors->has('eid_file_id')) {{ $errors->first('eid_file_id') }} @endif
@if ($errors->has('eid_expire_date')) {{ $errors->first('eid_expire_date') }} @endif
{{-- end id section --}} {{-- visa_number visa_file_id visa_expire_date start VISA section --}}
@if ($errors->has('visa_number')) {{ $errors->first('visa_number') }} @endif
@if ($errors->has('visa_file_id')) {{ $errors->first('visa_file_id') }} @endif
@if ($errors->has('visa_expire_date')) {{ $errors->first('visa_expire_date') }} @endif
{{-- end VISA section --}} {{-- Insurance_number insurance_file_id insurance_expire_date start INSURANCE section --}}
@if ($errors->has('insurance_number')) {{ $errors->first('insurance_number') }} @endif
@if ($errors->has('insurance_file_id')) {{ $errors->first('insurance_file_id') }} @endif
@if ($errors->has('insurance_expire_date')) {{ $errors->first('insurance_expire_date') }} @endif
{{-- end INSURANCE section --}} {{-- labour_card_number labour_card_file_id labour_card_expire_date start LABOUR CARD section --}}
@if ($errors->has('labour_card_number')) {{ $errors->first('labour_card_number') }} @endif
@if ($errors->has('labour_card_file_id')) {{ $errors->first('labour_card_file_id') }} @endif
@if ($errors->has('labour_card_expire_date')) {{ $errors->first('labour_card_expire_date') }} @endif
{{-- end LABOUR CARD section --}} @if (hasPermission('profile_update'))
@endif