@extends('backoffice.layout.master') @section('setSectionTitle', __('Il mio profilo')) @section('setSectionDescription', __('Questo è il dettaglio del tuo profilo. Da qui, puoi aggiornare i tuoi dati.')) @section('setContent')

{{ __('Modifica le informazioni del tuo account.') }}

@csrf

{{ __('Indirizzo di residenza') }}

{{ __('Documenti') }}:

@foreach ($files_necessary as $type) @php $file = $candidate_files ->where('type', $type)->first(); @endphp @endforeach
{{ __('Tipo file') }} {{ __('Nome file') }} {{ __('Caricato il') }} {{ __('Approvazione') }} {{ __('Azioni') }}
{{ __($type) }} {{ $file ? $file->refFile->file_name : '' }} @if ($file) {{ Carbon\Carbon::parse($file->created_at)->format('d M Y - H:i') }} @else {{ __('Non caricato') }} @endif @if ($file && !is_null($file->approved_at)) {{ Carbon\Carbon::parse($file->approved_at)->format('d M Y - H:i') }} @elseif ($file) {{ __('In fase di verifica') }} @else @endif @if ($file) {{ __('Scarica') }} @endif

{{ __('Carica un file obbligatorio') }}:

@csrf

{{ __('Le tue lingue') }}

@if (!empty($languages_spoken))
    @foreach ($languages_spoken as $lang)
  • @if ($lang->is_primary == 1) @else @endif {{ $lang->refLanguageSpoken->language_name }} @if ($lang->is_primary != 1) @endif
  • @endforeach
@else

{{ __('Nessuna lingua aggiunta.') }}

@endif

{{ __('Aggiungi una lingua') }}

@csrf

{{ __('Paesi di interesse') }}

@if (!empty($countries_interests))
    @foreach ($countries_interests as $country)
  • {{ $country->refLocationCountry->name }}
  • @endforeach
@else

{{ __('Nessun paese di interesse aggiunto.') }}

@endif

{{ __('Aggiungi un paese di interesse') }}

@csrf

{{ __('Modifica password') }}

@csrf
@endsection @section('setBodyEnd') @endsection