@extends('backend.layouts_backend.master2') @section('title') Edit CV @endsection @section('content') @php //json decode the arrays @endphp {{-- {{ dd($other_information_array) }} --}} {{-- header --}}

Edit CV


@csrf @method('PATCH')
Capture all information correctly






{{-- employment history --}}

{{-- {{ dd(isset($employment_history_array)) }} --}}
@if ($employment_history_array != null) @foreach ($employment_history_array as $index => $employment_history)
{{-- row 1 --}}

{{-- row 2 --}}

{{-- row 3 --}}

{{-- row 4 --}}

{{-- start employment roles --}}

Roles & Responsibilities


{{-- Roles and responsibilities --}} {{-- @dd($employment_history['employment_roles_done']) --}} @php $counter_empl_role = 240; $counter_empl_role++; @endphp @foreach ($employment_history['employment_roles_done'] as $key => $role)
@endforeach

{{-- end employment roles --}}

@endforeach @else
{{-- row 1 --}}

{{-- row 2 --}}

{{-- row 3 --}}

{{-- row 4 --}}

@php $role_employment_counter = 520; $role_employment_counter++; @endphp {{-- start employment roles --}}

Roles & Responsibilities



{{-- --}} {{-- end employment roles --}}

@endif

{{-- education --}}

@if ($education_history_array != null) {{-- if education history exists --}} @foreach ($education_history_array as $key => $education_history)


{{-- if education history exists --}} @endforeach @else {{-- if no education history exists --}}


{{-- end if no education history exists --}} @endif
{{-- internship --}}

@if ($internship_history_array != null) {{-- if internship exists --}} @foreach ($internship_history_array as $key => $internship_history)


@endforeach {{-- end if internship exists --}} @else {{-- if no internship exists --}}


{{-- end if no internship exists --}} @endif
{{-- certification --}}

@if ($certification_history_array != null) {{-- if certification history exists --}} @foreach ($certification_history_array as $certification_history)


@endforeach {{-- end if certification history exists --}} @else {{-- if no certification history exists --}}


{{-- end if no certification history exists --}} @endif
{{-- volunteer --}}

{{-- {{ dd(isset($employment_history_array)) }} --}}
@if ($volunteer_history_array != null) @foreach ($volunteer_history_array as $index => $volunteer_history)
{{-- row 1 --}}

{{-- row 2 --}}

{{-- row 3 --}}

{{-- row 4 --}}

{{-- start volunteer roles --}}

Roles & Responsibilities


{{-- Roles and responsibilities --}} {{-- @dd($volunteer_history['volunteer_roles_done']) --}} @php $counter_vol_role = 240; $counter_vol_role++; @endphp @foreach ($volunteer_history['volunteer_roles_done'] as $key => $role)
@endforeach

{{-- end volunteer roles --}}

@endforeach @else
{{-- row 1 --}}

{{-- row 2 --}}

{{-- row 3 --}}

{{-- row 4 --}}

@php $role_volunteer_counter = 520; $role_volunteer_counter++; @endphp {{-- start volunteer roles --}}

Roles & Responsibilities



{{-- --}} {{-- end volunteer roles --}}

@endif

{{-- Other information --}}

Awards


{{-- @if (isset($awards_array)) --}} {{-- {{ dd($award['award_date']) }} --}}
@if (isset($awards_array)) @foreach ($awards_array as $key => $award)
@endforeach @else
@endif

Social Profiles


{{-- {{ dd($social_profiles_array) }} --}} @if (isset($social_profiles_array)) {{-- if data exists in social profile array: loop --}} @foreach ($social_profiles_array as $key => $social_profile)
@endforeach @else {{-- if no data exists on social profiles --}}
@endif

{{-- start hobbies --}}

Hobbies


@if (isset($hobbies_array)) @foreach ($hobbies_array as $key => $hobby)
@endforeach @else
@endif
{{-- end of hobbies --}}
{{-- start general skills --}}

General Skills & Competencies


@if (!empty($general_skills_array)) @foreach ($general_skills_array as $key => $general_skill)
@endforeach @else
@endif
{{-- end general skills --}}
{{-- start technical skills --}}

Technical Skills


{{-- {{ dd($technical_skills_array) }} --}}
@if (isset($technical_skills_array)) @foreach ($technical_skills_array as $key => $technical_skill)
{{-- --}}
{{-- --}}
@endforeach @else
{{-- --}}
{{-- --}}
@endif
{{-- end technical skills --}}
{{-- start languages --}}

Languages


@if (isset($languages_array)) @foreach ($languages_array as $key => $language) {{-- {{ dd($language) }} --}}
{{-- --}}
@endforeach @else
{{-- --}}
@endif
{{-- end of langages --}}

References


{{-- {{ dd($references_array) }} --}} @if (isset($references_array)) @foreach ($references_array as $key => $reference) {{-- {{ dd($reference) }} --}}
{{-- --}}





@endforeach @else
{{-- --}}





@endif


@endsection @section('extra_scripts') {{-- handline select2 --}} {{-- employment history --}} {{-- volunteer history --}} {{-- education_history --}} {{-- internship history --}} {{-- certification row --}} {{-- awards --}} {{-- social profiles --}} {{-- social profiles --}} {{-- hobbies --}} {{-- general skills --}} {{-- technical skills --}} {{-- languages --}} {{-- references --}} @endsection