@extends('template.layouts.template-base') @section('title') Edit Candidate | {{ config('setting.website_name') ?: config('app.name') }} @endsection @section('content')
@csrf

Personal Details

staff_type == 'Client' ? 'checked' : '' }}>
staff_type == 'Project' ? 'checked' : '' }}>
@error('staff_type')
{{ $message }}
@enderror
@error('clients')
{{ $message }}
@enderror
@error('projects')
{{ $message }}
@enderror
@error('application_id')
{{ $message }}
@enderror
@error('aadhar_no')
{{ $message }}
@enderror
@error('name')
{{ $message }}
@enderror
{{-- Gender --}}
@error('dob')
{{ $message }}
@enderror
@error('age')
{{ $message }}
@enderror
{{-- Marital Status --}}
{{-- Blood Group --}}
@error('mobile_no')
{{ $message }}
@enderror
@error('email')
{{ $message }}
@enderror

Candidate Wellbeing

@php $medical_histories = is_array($recruitment->medical_history) ? $recruitment->medical_history : json_decode($recruitment->medical_history, true); $other_medicals = is_array($recruitment->other_medical) ? $recruitment->other_medical : json_decode($recruitment->other_medical, true); @endphp @if (!empty($medical_histories)) @foreach ($medical_histories as $index => $history)
@endforeach @else
@endif

Educational Details

@php $educations = json_decode($recruitment->education, true) ?? []; $majors = json_decode($recruitment->major, true) ?? []; @endphp @if(!empty($educations)) @foreach($educations as $index => $education)
@endforeach @else
@endif

Experience

Family Details

@error('father_name')
{{ $message }}
@enderror
@error('mother_name')
{{ $message }}
@enderror
@error('contact_preson_name')
{{ $message }}
@enderror
@error('contact_preson_number')
{{ $message }}
@enderror
{{-- Address Details --}}

Address Details - Permanent Address

@php $building_nos = is_array(json_decode($recruitment->building_no, true)) ? json_decode($recruitment->building_no, true) : [$recruitment->building_no ?? '']; $address1s = is_array(json_decode($recruitment->address1, true)) ? json_decode($recruitment->address1, true) : [$recruitment->address1 ?? '']; $address2s = is_array(json_decode($recruitment->address2, true)) ? json_decode($recruitment->address2, true) : [$recruitment->address2 ?? '']; $cities = is_array(json_decode($recruitment->city, true)) ? json_decode($recruitment->city, true) : [$recruitment->city ?? '']; $districts = is_array(json_decode($recruitment->district, true)) ? json_decode($recruitment->district, true) : [$recruitment->district ?? '']; $states = is_array(json_decode($recruitment->state, true)) ? json_decode($recruitment->state, true) : [$recruitment->state ?? '']; $countries = is_array(json_decode($recruitment->country, true)) ? json_decode($recruitment->country, true) : [$recruitment->country ?? '']; $pincodes = is_array(json_decode($recruitment->pincode, true)) ? json_decode($recruitment->pincode, true) : [$recruitment->pincode ?? '']; @endphp @foreach($building_nos as $index => $building_no)
@endforeach
{{-- Submit --}}
Cancel
@endsection @section('scripts') @endsection