@extends('backend.layouts.master') @section('title') Sessions @endsection @section('body') @endsection @section('content') {{-- @component('components.breadcrumb') @slot('page_title') Sessions @endslot @slot('subtitle') Sessions @endslot @endcomponent --}}
Sessions
@foreach ($chunks as $chunk) @php $chunkId = $chunk->first()->id; @endphp
@foreach ($chunk as $workshop) @endforeach
{{ $chunk->first()->label }} Capacité Disponible Pré-inscrits Validés Présents
{{ $workshop->titre }} {{ $workshop->capacity }} {{ $workshop->capacity - $workshop->participants->count() > 0 ? $workshop->capacity - $workshop->participants->count() : 0 }} {{ $workshop->participants->count() }} {{ $workshop->participants->whereNotNull('code')->where('code', '!=', '')->count() }} {{ $workshop->presentAndValidatedParticipants->count() }}
@endforeach
@endsection @section('scripts') @endsection