@extends('layouts.app') @section('style') @endsection @section('content')
New Personnel
@csrf
@foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach

    Personnel Information

    @if ($errors->has('first_name'))
    {{ $errors->first('first_name') }}
    @endif
    @if ($errors->has('middle_name'))
    {{ $errors->first('middle_name') }}
    @endif
    @if ($errors->has('last_name'))
    {{ $errors->first('last_name') }}
    @endif
    @if ($errors->has('suffix'))
    {{ $errors->first('suffix') }}
    @endif
    @if ($errors->has('personnel_type'))
    {{ $errors->first('personnel_type') }}
    @endif
    @if ($errors->has('sex'))
    {{ $errors->first('sex') }}
    @endif
    @if ($errors->has('civil_status'))
    {{ $errors->first('civil_status') }}
    @endif
    @if ($errors->has('date_of_birth'))
    {{ $errors->first('date_of_birth') }}
    @endif
    @if ($errors->has('birthplace'))
    {{ $errors->first('birthplace') }}
    @endif
    @if ($errors->has('contact_no'))
    {{ $errors->first('contact_no') }}
    @endif
    @if ($errors->has('email'))
    {{ $errors->first('email') }}
    @endif
    @if ($errors->has('height'))
    {{ $errors->first('height') }}
    @endif
    @if ($errors->has('weight'))
    {{ $errors->first('weight') }}
    @endif
    @if ($errors->has('blood_type'))
    {{ $errors->first('blood_type') }}
    @endif
    @if ($errors->has('citizenship'))
    {{ $errors->first('citizenship') }}
    @endif
    @if ($errors->has('current_address'))
    {{ $errors->first('current_address') }}
    @endif
    @if ($errors->has('permanent_address'))
    {{ $errors->first('permanent_address') }}
    @endif
    @if ($errors->has('photo'))
    {{ $errors->first('photo') }}
    @endif
    @if ($errors->has('sketch'))
    {{ $errors->first('sketch') }}
    @endif
    {{-- Account Information --}}

    Account Information

    @if ($errors->has('employment_date'))
    {{ $errors->first('employment_date') }}
    @endif
    @if ($errors->has('employment_status'))
    {{ $errors->first('employment_status') }}
    @endif
    @if ($errors->has('personnel_status'))
    {{ $errors->first('personnel_status') }}
    @endif
    {{-- Security License Number --}}

    Security License Number

    @if ($errors->has('license_number'))
    {{ $errors->first('license_number') }}
    @endif
    @if ($errors->has('issued_date'))
    {{ $errors->first('issued_date') }}
    @endif
    @if ($errors->has('expiration_date'))
    {{ $errors->first('expiration_date') }}
    @endif
    @if ($errors->has('issued_at'))
    {{ $errors->first('issued_at') }}
    @endif
    {{-- SSS --}}

    SSS Information

    @if ($errors->has('sss_no'))
    {{ $errors->first('sss_no') }}
    @endif
    @if ($errors->has('e1_file'))
    {{ $errors->first('e1_file') }}
    @endif
    {{-- TIN --}}

    TIN Information

    @if ($errors->has('tin_no'))
    {{ $errors->first('tin_no') }}
    @endif
    @if ($errors->has('tin_file'))
    {{ $errors->first('tin_file') }}
    @endif
    {{-- PhilHealth --}}

    PhilHealth Information

    @if ($errors->has('philhealth_no'))
    {{ $errors->first('philhealth_no') }}
    @endif
    @if ($errors->has('mdr_file'))
    {{ $errors->first('mdr_file') }}
    @endif
    {{-- Pag-Ibig --}}

    Pag-Ibig Information

    @if ($errors->has('pag_ibig_no'))
    {{ $errors->first('pag_ibig_no') }}
    @endif
    @if ($errors->has('mdf_file'))
    {{ $errors->first('mdf_file') }}
    @endif
    {{-- NBI --}}

    NBI Information

    @if ($errors->has('nbi_no'))
    {{ $errors->first('nbi_no') }}
    @endif
    @if ($errors->has('nbi_issued_at'))
    {{ $errors->first('nbi_issued_at') }}
    @endif
    @if ($errors->has('nbi_expiration_date'))
    {{ $errors->first('nbi_expiration_date') }}
    @endif
    @if ($errors->has('nbi_clearance_file'))
    {{ $errors->first('nbi_clearance_file') }}
    @endif
    {{-- Police Clearance --}}

    Police Clearance Information

    @if ($errors->has('police_clearance_no'))
    {{ $errors->first('police_clearance_no') }}
    @endif
    @if ($errors->has('clearance_issued_at'))
    {{ $errors->first('clearance_issued_at') }}
    @endif
    @if ($errors->has('clearance_expiration_date'))
    {{ $errors->first('clearance_expiration_date') }}
    @endif
    @if ($errors->has('police_clearance_file'))
    {{ $errors->first('police_clearance_file') }}
    @endif
    {{-- Medical Certificate --}}

    Medical Certificate Information

    @if ($errors->has('medical_cert_no'))
    {{ $errors->first('medical_cert_no') }}
    @endif
    @if ($errors->has('certificate_issued_at'))
    {{ $errors->first('certificate_issued_at') }}
    @endif
    @if ($errors->has('certificate_expiration_date'))
    {{ $errors->first('certificate_expiration_date') }}
    @endif
    @if ($errors->has('medical_certificate_file'))
    {{ $errors->first('medical_certificate_file') }}
    @endif
    {{-- Neurological Exam Information --}}

    Neurological Exam Information

    @if ($errors->has('neurological_exam'))
    {{ $errors->first('neurological_exam') }}
    @endif
    @if ($errors->has('exam_remarks'))
    {{ $errors->first('exam_remarks') }}
    @endif
    @if ($errors->has('exam_issued_at'))
    {{ $errors->first('exam_issued_at') }}
    @endif
    @if ($errors->has('exam_expiration_date'))
    {{ $errors->first('exam_expiration_date') }}
    @endif
    @if ($errors->has('neurological_exam_file'))
    {{ $errors->first('neurological_exam_file') }}
    @endif
    {{-- Drug Test Information --}}

    Drug Test Information

    @if ($errors->has('neurological_exam'))
    {{ $errors->first('neurological_exam') }}
    @endif
    @if ($errors->has('test_remarks'))
    {{ $errors->first('test_remarks') }}
    @endif
    @if ($errors->has('test_issued_at'))
    {{ $errors->first('test_issued_at') }}
    @endif
    @if ($errors->has('test_expiration_date'))
    {{ $errors->first('test_expiration_date') }}
    @endif
    @if ($errors->has('drug_result_file'))
    {{ $errors->first('drug_result_file') }}
    @endif
    {{-- Family Background --}}

    Family Background

    @if ($errors->has('family_member.0.fullname'))
    {{ $errors->first('family_member.0.fullname') }}
    @endif
    @if ($errors->has('family_member.0.occupation'))
    {{ $errors->first('family_member.0.occupation') }}
    @endif
    @if ($errors->has('family_member.0.contact_number'))
    {{ $errors->first('family_member.0.contact_number') }}
    @endif
    @if ($errors->has('family_member.0.date_of_birth'))
    {{ $errors->first('family_member.0.date_of_birth') }}
    @endif
    @if ($errors->has('relationship'))
    {{ $errors->first('relationship') }}
    @endif
    @if ($errors->has('address'))
    {{ $errors->first('address') }}
    @endif

    {{-- Educational Background --}}

    Educational Background

    @if ($errors->has('educational_level'))
    {{ $errors->first('educational_level') }}
    @endif
    @if ($errors->has('school_name'))
    {{ $errors->first('school_name') }}
    @endif
    @if ($errors->has('course'))
    {{ $errors->first('course') }}
    @endif
    @if ($errors->has('year'))
    {{ $errors->first('year') }}
    @endif
    @if ($errors->has('awards'))
    {{ $errors->first('awards') }}
    @endif

    {{-- Employment History --}}

    Employment History

    @if ($errors->has('company_name'))
    {{ $errors->first('company_name') }}
    @endif
    @if ($errors->has('position'))
    {{ $errors->first('position') }}
    @endif

    @if ($errors->has('from'))
    {{ $errors->first('from') }}
    @endif

    @if ($errors->has('to'))
    {{ $errors->first('to') }}
    @endif

    @if ($errors->has('reasons_for_leaving'))
    {{ $errors->first('reasons_for_leaving') }}
    @endif

    {{-- Character Reference --}}

    Character Reference

    @if ($errors->has('name'))
    {{ $errors->first('name') }}
    @endif
    @if ($errors->has('name'))
    {{ $errors->first('name') }}
    @endif
    @if ($errors->has('name'))
    {{ $errors->first('name') }}
    @endif
    @if ($errors->has('name'))
    {{ $errors->first('name') }}
    @endif
    @if ($errors->has('name'))
    {{ $errors->first('name') }}
    @endif

    {{-- Banking Information --}}

    Banking Informaion

    @if ($errors->has('name'))
    {{ $errors->first('name') }}
    @endif
    @if ($errors->has('name'))
    {{ $errors->first('name') }}
    @endif
    @if ($errors->has('name'))
    {{ $errors->first('name') }}
    @endif

    @section('script') @endsection @endsection