@php($holder = $recruitment->passportHolder ?? null) @php($serviceType = old('service_type', request('service_type', $recruitment->service_type ?? 'overseas')))
{{-- ✅ Registration Type & Package Section --}}
Registration Type & Package
@if (!isset($recruitment))
@else
Registration Type: {{ ucfirst(str_replace('_', ' ', $serviceType)) }} @if ($recruitment->servicePackage) · Package: {{ $recruitment->servicePackage->name }} ({{ $recruitment->quoted_currency }} {{ number_format((float) $recruitment->quoted_amount, 2) }}) @endif
@endif
{{-- ✅ Personal Information Section --}}
Personal Information
@if (isset($recruitment)) @endif @foreach (['passport_number' => 'Passport No.', 'nid' => 'NID No.', 'full_name' => 'Full Name', 'father_name' => "Father's Name", 'mother_name' => "Mother's Name"] as $name => $label)
@error($name)
{{ $message }}
@enderror
@endforeach
If an agent is selected, package due is recorded under that agent.
@foreach ([['country_id', 'Country', $countries, 'name'], ['company_id', 'Company', $companies, 'name'], ['position_id', 'Position', $positions, 'title'], ['branch_id', 'Branch', $branches, 'name']] as [$name, $label, $items, $display])
@error($name)
{{ $message }}
@enderror
@endforeach @foreach (['phone' => 'Mobile Number', 'email' => 'E-mail', 'gender' => 'Gender', 'religion' => 'Religion', 'marital_status' => 'Marital Status', 'passport_issue_date' => 'Passport Issue Date', 'passport_expiry_date' => 'Passport Expiry Date', 'dob' => 'Date of Birth', 'height' => 'Height', 'weight' => 'Weight', 'village_road' => 'Village/Road/Moholla', 'post_office' => 'P.O.', 'police_station' => 'P.S.', 'district' => 'District', 'present_address' => 'Present Address'] as $name => $label)
@if ($name === 'gender') @elseif($name === 'religion') @elseif($name === 'marital_status') @else @endif @error($name)
{{ $message }}
@enderror
@if ($name === 'passport_issue_date')
@endif @if ($name === 'dob')
@endif @endforeach {{-- ✅ Documents Section --}}
Documents Uploads
@foreach (['photo' => 'Photo', 'passport_scan' => 'Passport Image', 'nid_scan' => 'NID Image'] as $type => $label)
@error('documents.' . $type)
{{ $message }}
@enderror
@endforeach
{{-- ✅ Language Proficiency Section --}}
Language Proficiency
{{-- Standard Languages --}} @foreach (['Understanding Bengali', 'Speaking in Bengali', 'Writing in Bengali', 'Understanding English', 'Speaking in English', 'Writing in English'] as $i => $language)
@endforeach {{-- Other Language (Input Field) --}}
Type the language name and select the proficiency level.
{{-- ✅ Experience & Education Section --}}
Experience & Education
@foreach (['education_degree' => 'Degree/Certificate', 'education_school' => 'School/Board/University', 'education_grade' => 'Division/CGPA', 'education_year' => 'Year'] as $name => $label)
@endforeach