@extends('backoffice.layout.master') @section('setSectionTitle', __('Dashboard')) @section('setContent')

{{ __('Benvenuto, :name!', ['name' => $candidate->first_name]) }}

{{ __('Ecco un riepilogo delle tue attività sulla piattaforma') }}

{{ $profileCompleteness }}%
{{ __('Profilo Completo') }}
@if(!$candidate->testAnswer || !$candidate->testAnswer->isCompleted())

{{ __('Completa il Test Psico-Attitudinale') }}

{{ __('Per accedere a tutte le funzionalità della piattaforma e completare il tuo profilo, devi completare il test psico-attitudinale. Bastano pochi minuti!') }}

@endif

{{ $stats['active_applications'] }}

{{ __('Candidature Attive') }}

{{ $stats['enrolled_courses'] }}

{{ __('Corsi Iscritti') }}

{{ $stats['new_jobs'] }}

{{ __('Nuove Offerte (7gg)') }}

{{ $stats['unread_messages'] }}

{{ __('Conversazioni Attive') }}

@if($recentApplications->count() > 0)
{{ __('Candidature Recenti') }}
{{ __('Vedi tutte') }}
@foreach($recentApplications as $application)
{{ $application->refJob->position }}

{{ $application->refJob->refOrganization->name }}

{{ $application->created_at->diffForHumans() }}
{{ __('Candidato') }}
@endforeach
@else
{{ __('Candidature Recenti') }}

{{ __('Non hai ancora inviato candidature') }}

{{ __('Esplora Offerte') }}
@endif
@if($enrolledCourses->count() > 0)
{{ __('I Miei Corsi') }}
{{ __('Vedi tutti') }}
@foreach($enrolledCourses as $enrollment)
{{ $enrollment->refSessionCourse->refCourse->name }}

{{ $enrollment->refSessionCourse->refCourse->refOrganization->name }}

{{ __('Iscritto il') }} {{ $enrollment->created_at->format('d/m/Y') }}
@endforeach
@else
{{ __('I Miei Corsi') }}

{{ __('Non sei iscritto a nessun corso') }}

{{ __('Esplora Corsi') }}
@endif
@if(isset($completedCourses) && $completedCourses->count() > 0)
{{ __('Corsi Completati - Test POST-Corso') }}
@foreach($completedCourses as $course)
{{ $course->refSessionCourse->refCourse->name }}

{{ $course->refSessionCourse->refCourse->refOrganization->name }}

{{ __('Completato il') }} {{ $course->completed_at->format('d/m/Y') }}
@if($course->has_post_test) {{ __('Test POST completato') }} @else {{ __('Completa Test POST-Corso') }} @endif
@endforeach
@endif
@if($recommendedJobs->count() > 0) @endif
@if($latestNews->count() > 0)
{{ __('News e Aggiornamenti') }}
@foreach($latestNews as $news)
{{ $news->title }}

{{ Str::limit($news->body, 100) }}

{{ $news->created_at->diffForHumans() }}
@endforeach
@endif
@endsection