@extends('backend.layouts.master') @section('title') Statistiques @endsection @section('body') @endsection @section('content') {{-- @component('components.breadcrumb') @slot('page_title') Statistiques @endslot @slot('subtitle') Statistiques @endslot @endcomponent --}} @php $allParticipantsCount = App\Models\Participant::where('code_pre_registration', '!=', '') ->where('event_id', '=', $event->id) ->orWhereNull('code_pre_registration') ->count(); $allParticipantsCount = App\Models\Participant::where('event_id', '=', $event->id)->count(); $validatedParticpantsCount = App\Models\Participant::where('code', '!=', '') ->where('event_id', '=', $event->id) ->whereNotNull('code') ->count(); $presentParticipantsCount = App\Models\Participant::where('code', '!=', '') ->where('event_id', '=', $event->id) ->whereNotNull('code') ->where('is_present', 1) ->count(); @endphp
Statistiques
Par pré-inscription - Par inscription - Par présence
@if ($event->stat_register_number)
{{ $allParticipantsCount }}

Pré-inscriptions

{{ $validatedParticpantsCount }}

Inscriptions

{{ $presentParticipantsCount }}

Présences

@endif @if ($event->stat_formation_resident)

Inscriptions médecins (en formation / en exercice)

@endif @if ($event->stat_by_domain)

Inscriptions par domaine d'activité

@endif @if ($event->stat_by_mode)

Inscriptions médecins par mode d'exercice

@endif @if ($event->stat_by_specialty)

Inscriptions médecins par spécialité

@endif @if ($event->stat_by_gouvernorat)

Inscriptions par gouvernorat

@endif @if ($event->stat_by_country)

Inscriptions par pays

@endif @if ($event->stat_by_gender)

Inscriptions par sex

@endif @if ($event->stat_register_by_day)

Inscriptions par jour

@endif @if ($event->stat_register_evolution)

Évolution inscriptions

@endif
@endsection @section('scripts') @endsection