@extends('frontend.mediknode.layout.mainlayout') @section('content') @component('frontend.mediknode.components.breadcrumb') @slot('title') Ma participation @endslot @slot('li_1') Ma participation @endslot @endcomponent
@component('frontend.mediknode.components.buttons', ['event' => $event]) @endcomponent
@if (request('v') == 'a')

Vous devez vous inscrire au congrès pour pouvoir déposer vos abstracts

S'inscrire au congrès
@else
@csrf
@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)
@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')
@foreach ($participant->workshops as $workshop) @endforeach @if ($participant->code || $payment[1] == 'success') @endif
Désignation Prix
{{ $workshop->workshop?->titre }} {{ $workshop->price }} TND
Total {{ $participant->total_price }} TND
Mode de paiement {{ $participant->paiement_mode }}
@endif @if (true && $participant->code) {{-- --}} {{-- --}} @endif @if (!$participant->code && $payment[1] != 'success')
@foreach ($paimentModes as $key => $paimentMode) @if ($participant->isBDC == 1 && $paimentMode->name == 'Bon de commande')
paiement_mode->name) && $participant->paiement_mode == $paimentMode->name ? 'checked' : '') }} value="{{ $paimentMode->name }}" class="form-check-input paiement-mode" type="radio" name="paiement_mode" id="paiement-mode-{{ $key }}" required> @if ($loop->last)
Choisir votre mode de paiement
@endif
@elseif ($participant->isBDC == 0 && $paimentMode->name != 'Bon de commande') @if (auth()->user()->id == 6 && $paimentMode->key == 'konnect')
paiement_mode) && $participant->paiement_mode == $paimentMode->name ? 'checked' : '') }} value="{{ $paimentMode->name }}" class="form-check-input paiement-mode" type="radio" name="paiement_mode" id="paiement-mode-{{ $paimentMode->key }}" required> @if ($loop->last)
Choisir votre mode de paiement
@endif
@elseif($paimentMode->key !== 'konnect')
paiement_mode) && $participant->paiement_mode == $paimentMode->name ? 'checked' : '') }} value="{{ $paimentMode->name }}" class="form-check-input paiement-mode" type="radio" name="paiement_mode" id="paiement-mode-{{ $paimentMode->key }}" required> @if ($loop->last)
Choisir votre mode de paiement
@endif
@endif @endif @endforeach
@endif
@if (!$participant->code && $payment[1] != 'success')
@endif
@endif
@component('frontend.mediknode.components.buttons', ['event' => $event]) @endcomponent
@component('frontend.mediknode.components.scrolltotop') @endcomponent @endsection @section('scripts') @endsection