@if($sessions->isEmpty())

{{ __('admin/survey.no_archived_sessions') }}

@else
@foreach($sessions as $session) @php $responsesCount = $session->surveySubmissions->count(); @endphp @endforeach
{{ __('admin/survey.training') }} {{ __('admin/survey.session_name') }} {{ __('admin/survey.date') }} {{ __('admin/survey.responses') }} {{ __('admin/survey.actions') }}
{{ $session->training->translateOrDefault(app()->getLocale())->title ?? 'N/A' }} {{ $session->name }} {{ \Carbon\Carbon::parse($session->start_date)->format('d/m/Y') }} @if($responsesCount > 0) {{ $responsesCount }} {{ __('admin/survey.response', ['count' => $responsesCount]) }} @else {{ __('admin/survey.no_responses') }} @endif
@if($responsesCount > 0) @endif
{{ __('admin/survey.showing_results', [ 'from' => $sessions->firstItem() ?? 0, 'to' => $sessions->lastItem() ?? 0, 'total' => $sessions->total() ]) }}
@if($sessions->hasPages()) @endif
@endif