@extends('backoffice.layout.master') @section('setSectionTitle', __('Dettaglio Esperto')) @section('setSectionButton') {{ __('Torna alla Lista') }} @endsection @section('setContent')

{{ $expert->first_name }} {{ $expert->last_name }}

{{ $expert->refUser->email }}
@if($expert->refUser->is_active) {{ __('Account Attivo') }} {{ __('Sospendi Account') }} @else {{ __('Account Disattivato') }} {{ __('Attiva Account') }} @endif

{{ $expert->refExpertsCountriesInterests->count() }}

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

{{ $expert->refExpertsKeyExportSectors->count() }}

{{ __('Settori Export') }}

{{ $expert->refNews->count() }}

{{ __('News pubblicate') }}

{{ $expert->refCandidates->count() }}

{{ __('Candidati seguiti') }}
{{ __('Informazioni Personali') }}
@csrf @method('PUT')
{{ __('Zona Pericolosa') }}

{{ __('L\'eliminazione di questo esperto è un\'azione permanente e non può essere annullata.') }}

@csrf @method('DELETE')
{{ __('Paesi di Interesse') }}
@if($expert->refExpertsCountriesInterests->count() > 0)
    @foreach($expert->refExpertsCountriesInterests as $interest)
  • {{ $interest->refLocationCountry->name }}
    @csrf @method('DELETE')
  • @endforeach
@else

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

@endif
{{ __('Aggiungi Paese') }}
@csrf
{{ __('Settori Chiave di Export') }}
@if($expert->refExpertsKeyExportSectors->count() > 0)
    @foreach($expert->refExpertsKeyExportSectors as $expertSector)
  • {{ $expertSector->refKeyExportSector->name }}
    @csrf @method('DELETE')
  • @endforeach
@else

{{ __('Nessun settore aggiunto.') }}

@endif
{{ __('Aggiungi Settore') }}
@csrf
{{ __('Se il settore esiste già verrà riutilizzato, altrimenti verrà creato.') }}
{{ __('News Pubblicate') }}
@if($expert->refNews->count() > 0)
@foreach($expert->refNews as $news) @endforeach
{{ __('Titolo') }} {{ __('Data Creazione') }} {{ __('Ultima Modifica') }} {{ __('Azioni') }}
{{ $news->title }} {{ $news->created_at->format('d/m/Y H:i') }} {{ $news->updated_at->format('d/m/Y H:i') }}
@csrf @method('DELETE')
@else

{{ __('Nessuna news pubblicata.') }}

@endif
{{ __('Candidati Seguiti') }}
@if($expert->refCandidates->count() > 0)
@foreach($expert->refCandidates as $candidate) @endforeach
{{ __('Nome') }} {{ __('Email') }} {{ __('Data Assegnazione') }} {{ __('Azioni') }}
{{ $candidate->first_name }} {{ $candidate->last_name }} {{ $candidate->refUser->email }} {{ $candidate->created_at->format('d/m/Y H:i') }} {{ __('Visualizza') }}
@else

{{ __('Nessun candidato seguito.') }}

@endif
@endsection @section('setBodyEnd') @endsection