@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))
Registration Type *
Overseas Employment
Student
Hajj & Umrah
Package *
Select Package
@foreach ($packages ?? [] as $package)
id)>
{{ $package->name }} ({{ $package->code }}) · {{ $package->currency }}
{{ number_format((float) $package->price, 2) }}
@endforeach
Quoted Cost / Registration Due
@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
SL
@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)
{{ $label }} @if (in_array($name, ['passport_number', 'full_name']))
*
@endif
@error($name)
{{ $message }}
@enderror
@endforeach
Agent *
No Agent (charge passport holder)
@foreach ($agents as $a)
agent_id ?? ($holder->agent_id ?? '')) == $a->id)>{{ $a->name }}
@endforeach
If an agent is selected, package due is recorded under that agent.
Referer
@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])
{{ $label }} *
Select {{ $label }}
@foreach ($items as $item)
$name ?? ($holder->$name ?? '')) == $item->id)>{{ $item->$display }}
@endforeach
@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)
{{ $label }}
{{-- ✅ লাল তারকা চিহ্ন যুক্ত করার কন্ডিশন --}}
@if (in_array($name, ['gender', 'religion', 'marital_status', 'passport_issue_date', 'passport_expiry_date', 'dob']) ||
($name === 'phone' && !isset($recruitment)))
*
@endif
@if ($name === 'gender')
Select Gender
@foreach (['male' => 'Male', 'female' => 'Female', 'other' => 'Other'] as $v => $txt)
gender ?? '') == $v)>{{ $txt }}
@endforeach
@elseif($name === 'religion')
Select Religion
@foreach (['Islam', 'Hinduism', 'Buddhism', 'Christianity', 'Other'] as $v)
religion ?? '') == $v)>{{ $v }}
@endforeach
@elseif($name === 'marital_status')
Select Status
@foreach (['single', 'married', 'divorced', 'widowed'] as $v)
marital_status ?? '') == $v)>{{ ucfirst($v) }}
@endforeach
@else
@endif
@error($name)
{{ $message }}
@enderror
@if ($name === 'passport_issue_date')
Passport Validity *
5 Years
10 Years
@endif
@if ($name === 'dob')
Age
@endif
@endforeach
{{-- ✅ Documents Section --}}
Documents Uploads
@foreach (['photo' => 'Photo', 'passport_scan' => 'Passport Image', 'nid_scan' => 'NID Image'] as $type => $label)
{{ $label }}
{{-- ✅ Photo হলে লাল তারা দেখাবে --}}
@if ($type === 'photo')
*
@endif
@error('documents.' . $type)
{{ $message }}
@enderror
@endforeach
Remarks
{{-- ✅ 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)
{{ $language }}
@foreach (['No', 'Low', 'Medium', 'High'] as $level)
{{ $level }}
@endforeach
@endforeach
{{-- Other Language (Input Field) --}}
{{-- ✅ Experience & Education Section --}}
Experience &
Education
Local Experience in Years
Education Type
Basic/Technical
Special Training if any
@foreach (['education_degree' => 'Degree/Certificate', 'education_school' => 'School/Board/University', 'education_grade' => 'Division/CGPA', 'education_year' => 'Year'] as $name => $label)
{{ $label }}
@endforeach