|
|
|
|
{{--
{!! \App\Helpers\TextHelper::addSup($event->title) !!}
--}}
Validation inscription
|
|
|
|
{{ $participant->user->domain == 'Médecine' ? 'Dr. ' : '' }}{{ $firstname }}
{{ $lastname }}, nous avons le
plaisir
de vous informer que votre inscription est validée pour
{{ $event->is_masculin ? 'le' : 'la' }}
{!! \App\Helpers\TextHelper::addSup($event->title) !!}.
Votre code d'inscription : {{ $code }}
@if ($event->has_attachment_badge == 1 && $participant->category != 'Bon de commande')
Vous trouverez ci-joint votre badge à présenter à l'entrée
pour
faciliter votre accès.
@endif
@if (
$participant->category == 'Prise en charge' ||
$participant->category == 'Self-payer' ||
$participant->category == 'Bon de commande')
Les détails de votre inscription :
|
Désignation
|
Prix
|
@php
$formationTiers = [
1 => 40,
2 => 80,
3 => 100,
4 => 130,
5 => 150,
];
$inscriptionRow = null;
$formations = [];
$otherRows = [];
foreach ($workshops as $pw) {
if (!$pw->workshop->visible_fe) {
continue;
}
if ($pw->workshop->f2 === 'formation') {
$formations[] = $pw;
} elseif ($pw->workshop->f2 === 'inscription') {
$inscriptionRow = $pw;
} else {
$otherRows[] = $pw;
}
}
$formationCount = count($formations);
$formationTotal =
$formationTiers[$formationCount] ?? $formationCount * 40;
$computedTotal =
($inscriptionRow ? $inscriptionRow->price : 0) +
$formationTotal +
collect($otherRows)->sum('price');
@endphp
@if ($inscriptionRow)
|
{{ $inscriptionRow->workshop->titre }}
|
{{ $inscriptionRow->price }} TND
|
@endif
@if ($formationCount > 0)
Ateliers ({{ $formationCount }})
@foreach ($formations as $f)
- {{ $f->workshop->titre }}
@endforeach
|
{{ $formationTotal }} TND
|
@endif
@foreach ($otherRows as $o)
|
{{ $o->workshop->titre }}
|
{{ $o->price }} TND
|
@endforeach
|
Total
|
{{ $computedTotal }}
TND
|
|
Mode de paiement
|
{{ $participant->paiement_mode }}
|
@endif
Au plaisir de vous accueillir au
{!! \App\Helpers\TextHelper::addSup($event->title) !!}
|
|
|
|
Contactez-nous :
{{ $event->phone_contact }}
{{ $event->pre_registration_reply_to_email }}
|
|
|
@if (View::exists('emails.footer.' . $event->slug))
@include('emails.footer.' . $event->slug)
@endif