@extends('frontend.mediknode.layout.mainlayout') @section('content') @component('frontend.mediknode.components.breadcrumb') @slot('title') Demande de Pré-inscription @endslot @slot('li_1') Demande de Pré-inscription @endslot @endcomponent
@csrf @foreach ($request->workshop as $item) @if ($item) @endif @endforeach @php $is_adherent = 0; $is_fee = 0; $isBDC = 0; $preferentiel = 0; $showMasterclass = 0; if ($request->is_adherent_1 === '1') { $is_adherent = 0; $is_fee = 1; } if ($request->is_adherent_1 === '0') { $is_adherent = 0; $is_fee = 0; } if ($request->is_adherent_2 === '0') { $is_adherent = 0; $is_fee = 0; } if ($request->is_adherent_2 === '1') { $is_adherent = 1; $is_fee = 0; } if ($request->is_adherent_2 === '2') { $is_adherent = 0; $is_fee = 1; } if ($request->statut == 'isBDC') { $isBDC = 1; } if ($event->has_before_date == 1 && $event->is_before_date_active == 1) { $preferentiel = 1; } else { $preferentiel = 0; } if ($is_adherent == 1 || $is_fee == 1) { $showMasterclass = 1; } @endphp
@foreach ($workshops->groupBy('groupe') as $groupe => $workshopsGroup) @if ($workshopsGroup->first()->header_visible == 1 && $workshopsGroup->first()->f2 == 'Déjeuner') @endif @foreach ($workshopsGroup as $index => $workshop) @if ($workshop->f2 == 'Déjeuner') @endif @endforeach {{-- @if ($workshopsGroup->first()->show_not_participate_choice) @endif --}} @endforeach
{{ $workshopsGroup->first()->label }}
id . ']', (isset($participant->workshops) && $participant->workshops->where('workshop_id', $workshop->id)->first()?->workshop_id == $workshop->id) || $workshop->input_pre_checked == 1 || $workshop->f2 == 'adhesion2' ? 'checked' : '') }} value="" class="form-check-input workshop-item {{ $workshop->f2 }} {{ $workshop->capacity - $workshop->participants->count() > 0 ? 'workshop-available' : 'workshop-disabled' }}" type="{{ $workshop->input }}" name="workshop[{{ $workshop->input == 'radio' ? $workshop->groupe : $workshop->id }}]" id="workshop[{{ $workshop->id }}]" data-id="{{ $workshop->id }}" {{ $workshop->capacity - $workshop->participants->count() > 0 ? '' : 'disabled' }}> @if ($workshop->description)
{!! $workshop->description !!}
@endif
TND
@component('frontend.mediknode.components.scrolltotop') @endcomponent @endsection