Civilité
{!! $user->civility !!}
Prénom
{!! $user->firstname !!}
Email
@if ($user->is_mailbox_full)
@elseif($user->email_valid)
@else
@endif
{{ $user->email }}
Téléphone
{!! $user->phone !!}
Domaine
{!! $user->domain !!}
Spécialité
{!! $user->specialty !!}
Mode d'exercice
{!! $user->mode !!}
Ville
{!! $user->city !!}
Région
{!! $user->gouvernorat !!}
Pays
{!! $user->country !!}
@role(['Admin'])
@endrole
Date de création
{{ $user->created_at?->isoFormat('DD/MM/YYYY HH:mm') }}
Crée par
@if ($user->added_by === 'import')
IMPORT
@elseif($user->added_by === 'self')
SELF
@else
{{ optional(\App\Models\User::find($user->added_by))->firstname }}
{{ optional(\App\Models\User::find($user->added_by))->name }}
@endif
Dernière connexion
{{ $user->last_login_at?->isoFormat('DD/MM/YYYY HH:mm') ?? '—' }}
@if (Auth::user()->id == 6 && $user->getRoleNames()->count() > 0)
Backoffice Event
@foreach ($userEvents as $event)
- {{ $event->title }}
@endforeach
@endif
@if ($user->participants->count() > 0)
|
Evénement |
Code inscription |
Code pré-inscription |
Catégorie |
@foreach ($user->participants as $participant)
|
|
{{ $participant->event->bo_title }}
|
{{ $participant->code }}
|
{{ $participant->code_pre_registration }}
|
@php
$new_category = $participant->category;
if ($participant->category === 'Prise en charge') {
$new_category = 'PEC (' . $participant->organisme . ')';
} elseif (
$participant->category === $participant->event->client ||
$participant->category === 'Exposant'
) {
$new_category =
$participant->category .
' (' .
$participant->organisme .
')';
}
@endphp
{{ $new_category }}
|
@endforeach
@endif