@php
if ($participant?->code) {
$status = ['Inscription validée', 'success'];
$payment = ['Validé', 'success'];
} elseif (
$participant?->paiement_mode === 'Paiement en ligne' &&
$participant?->payment_status === 'paid'
) {
$status = ['En attente de validation', 'info text-white'];
$payment = ['Validé', 'success'];
} elseif (
$participant?->paiement_mode === 'Virement bancaire'
) {
$status = ['Pré-inscription', 'warning'];
$payment = ['En attente', 'warning'];
} else {
$status = ['Pré-inscription', 'warning'];
$payment = ['En attente', 'warning'];
}
@endphp
@if ($payment[1] == 'success' && request()->has('uid') && request('uid') == $participant?->uid)
Votre paiement a été effectuée avec succès.
@endif
@if ($payment[1] !== 'success' && request()->has('uid') && request('uid') == $participant?->uid)
Transaction refusée par votre banque. Aucun débit n'a
été effectué. Merci de réessayer ou
d'utiliser un autre moyen de paiement.
@endif
{{ $status[0] }}
{{ $payment[0] }}
@if ($participant->code)
{{ $participant?->code }}
@else
{{ $participant?->code_pre_registration }}
@endif
@if (
$participant->category != 'Exposant' &&
$participant->category != 'Presse' &&
$participant->category != 'ONG' &&
$participant->category != 'Staff' &&
$participant->category != 'Team' &&
$participant->category != 'Manager' &&
$participant->category != 'Intervenant')
@endif
@if (true && $participant->code)
{{--
--}}
{{--
--}}
@endif
@if (!$participant->code && $payment[1] != 'success')
@endif
@if (!$participant->code && $payment[1] != 'success')