@php use App\Models\Workshop; @endphp @extends('backend.layouts.master') @section('title') Validation inscription @endsection @section('css') @endsection @section('body') @endsection @section('content')
Revalider inscription « {{ $participant->user->firstname }} {{ $participant->user->name }} »
Status
@if ($participant->code)
Inscrit
@else
Pré-inscrit
@endif
Code pré-inscription
{{ $participant->code_pre_registration }} 
Code inscription
{!! $participant->code !!} 
Prénom
{{ $participant->user->firstname }} 
Nom
{{ $participant->user->name }} 
Email @if ($participant->user->is_mailbox_full == 1) boîte de réception pleine @elseif($participant->user->email_valid == 1) valide @elseif($participant->user->email_valid == 0) invalide @endif
@if ($participant->user->email_valid == 0) {{ $participant->user->email }} @elseif ($participant->user->is_mailbox_full == 1) {{ $participant->user->email }} @elseif ($participant->user->email_valid == 1) {{ $participant->user->email }} @endif
Téléphone
{{ $participant->user->phone }} 
@if ($event->has_establishment)
Organisme
{!! $participant->user?->establishment ?? ' ' !!}
@endif @if ($event->has_fonction)
Fonction
{!! $participant->user?->fonction ?? ' ' !!}
@endif @if ($event->has_domain)
Domaine
{!! $participant->user?->domain ?? ' ' !!}
@endif @if ($event->has_specialty)
Spécialité
{!! $participant->user?->specialty ?? ' ' !!}
@endif @if ($event->has_mode)
Mode d'exercice
{!! $participant->user?->mode ?? ' ' !!}
@endif @if ($event->has_city)
Ville
{!! $participant->user?->city ?? ' ' !!}
@endif @if ($event->has_region)
Région
{!! $participant->user?->gouvernorat ?? ' ' !!}
@endif @if ($event->has_country)
Pays
{!! $participant->user?->country ?? ' ' !!}
@endif
{{-- {{ dd(session('data'), ['workshop'], session('data')['workshop']) }} --}} @if (isset(session('data')['workshop']))
@php $totalPrice = 0; $has_adhesion = false; @endphp @foreach (session('data')['workshop'] as $atelierKey => $atelierInfo) @if ($atelierInfo) @php $values = explode('|', $atelierInfo); $atelierId = $values[0]; $atelierPrice = $values[1]; $atelier = Workshop::where('id', $atelierId)->first(); $totalPrice = $totalPrice + $atelierPrice; if ($atelierId == $event->adhesion_id) { $has_adhesion = true; } @endphp @endif @endforeach
Désignation Prix
{{ $atelier->titre ?? '' }} {{ $atelierPrice ?? '' }} TND
Total {{ $totalPrice }} TND
Moyen de paiement {{ session('data')['paiement_mode'] }}
@endif @if (isset(session('data')['workshop'])) @endif
@csrf @include('backend.manage.categories')
@endsection @section('scripts') @endsection