@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 ( $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 {{--

request->is_adherent_1 : {{ $request->is_adherent_1 }}

request->is_adherent_2 : {{ $request->is_adherent_2 }}

is_resident : {{ $request->is_resident }}

is_adherent : {{ $is_adherent }}

is_fee : {{ $is_fee }}

isBDC : {{ $isBDC }}

preferentiel : {{ $preferentiel }}

showMasterclass : {{ $showMasterclass }}

--}}
@foreach ($workshops->groupBy('groupe') as $groupe => $workshopsGroup) @if ($workshopsGroup->first()->type == 'atelier') @endif @foreach ($workshopsGroup as $index => $workshop) @if ($workshop->type == 'atelier') @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 == 'adhesion') ? 'checked' : '') }} value="" class="form-check-input workshop-item {{ $workshop->f2 }}" 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