@extends('backend.layouts.master') @section('title') Pré-inscription @endsection @section('css') @endsection @section('body') @endsection @section('content')
{{ $user->firstname }} {{ $user->name }}
@csrf @include('backend.manage.account-data') @if (Auth::user()->id == 6)
@if ($errors->has('roles')) {{ $errors->first('roles') }} @endif
@foreach ($allEvents as $event) events->contains($event->id) ? 'checked' : '' }}>
@endforeach
@endif @if ($user->participants->count() > 0)
@foreach ($user->participants as $participant) @endforeach
Evénement Code inscription Code pré-inscription Catégorie
{{ $participant->event->bo_title }} {{ $participant->code }} {{ $participant->code_pre_registration }} @php $new_category = $participant->category; if ($participant->category === 'Prise en charge') { $new_category = 'PEC (' . $participant->organisme . ')'; } elseif ( $participant->category === $participant->event->client || $participant->category === 'Exposant' ) { $new_category = $participant->category . ' (' . $participant->organisme . ')'; } @endphp {{ $new_category }}
@endif
@endsection @section('scripts') @endsection