@extends('backend.layouts.master') @section('title') Pré-inscription @endsection @section('css') @endsection @section('body') @endsection @section('content')
{{ $workshop->titre }}
@can('session_export')
@endcan
Nombre de lignes filtrées :
@foreach ($workshop->participants as $participant) @php $category = ''; if ($participant->category == 'Prise en charge') { $category = 'PEC (' . $participant->organisme . ')'; } elseif ($participant->category == $participant->event->client) { $category = $participant->category . ' (' . $participant->organisme . ')'; } elseif ($participant->category == 'Exposant') { $category = $participant->category . ' (' . $participant->organisme . ')'; } else { $category = $participant->category; } @endphp @endforeach
Actions Code pré-inscription Code inscription Catégorie Status Présence Prénom Nom Email Téléphone Domaine Spécialité Mode d'exercice Région Pays
@php $participantWorkshop = $participant->workshop($workshopId); @endphp {{-- Les boutons de présence ne s'affichent que si le participant est validé --}} @if ($participant->code && $participantWorkshop) @can('session_presence') @if (!$participantWorkshop->is_present) @endif @endcan @can('session_cancel_presence') @if ($participantWorkshop->is_present) @endif @endcan @endif {{ $participant->code_pre_registration }} {{ $participant->code }} {{ $category }} @if ($participant->bdc == 'bdc_1') En attente @elseif ($participant->code) Validé @else Pré-inscrit @endif @if ($participantWorkshop) @if ($participantWorkshop->is_present == 1) Présent @else Absent @endif @endif {{ $participant->user->firstname }} {{ $participant->user->name }} {{ $participant->user->email }} {{ $participant->user->phone }} {{ $participant->user->domain }} {{ $participant->user->specialty }} {{ $participant->user->mode }} {{ $participant->user->gouvernorat }} {{ $participant->user->country }}
{{-- Confirmation modal for cancelling presence --}} {{-- Toast notification --}}
@endsection @section('scripts') @endsection