@php $worker = $worker ?? null; @endphp

{{ __('lang.worker_section_office') }}

@error('job_type_id')
{{ $message }}
@enderror

{{ __('lang.worker_section_passport') }}

{{ __('lang.worker_section_personal') }}

@error('nationality_id')
{{ $message }}
@enderror

{{ __('lang.worker_section_physical') }}

{{ __('lang.worker_section_languages') }}

{{ __('lang.worker_section_skills') }}

@foreach (['skill_cooking', 'skill_cleaning', 'skill_washing', 'skill_babysitting', 'skill_ironing', 'skill_sewing'] as $skill)
{$skill} ?? false) ? 'checked' : '' }}>
@endforeach

{{ __('lang.worker_section_previous_employment') }}

@foreach (old('experiences', $worker?->experiences->toArray() ?? []) as $i => $experience)
@endforeach

{{ __('lang.worker_section_contact_person') }}

{{ __('lang.remarks') }}

{{ __('lang.worker_section_photos') }}

@if ($worker?->photoUrl()) @endif @error('photo')
{{ $message }}
@enderror
@if ($worker?->cvAttachmentUrl()) {{ __('lang.view_file') }} @endif @error('cv_attachment')
{{ $message }}
@enderror
@push('styles') @endpush @push('scripts') @endpush