{{-- Ressources --}} {{-- ═══════════ LOADING ═══════════ --}}
@php $moisNoms = [1=>'Janvier',2=>'Février',3=>'Mars',4=>'Avril',5=>'Mai',6=>'Juin', 7=>'Juillet',8=>'Août',9=>'Septembre',10=>'Octobre',11=>'Novembre',12=>'Décembre']; $activeFiltersCount = 0; if (!empty($centre_id) && $centre_id != 0) $activeFiltersCount++; if (!empty($annee_id) && $annee_id != 0) $activeFiltersCount++; if (!empty($mois) && $mois != 0) $activeFiltersCount++; @endphp
{{-- ═══════════ HEADER EXÉCUTIF ═══════════ --}}
P

Indicateur demandes

Suivi des demandes de documents : statut, délais et performance

Demandes de documents
{{-- ═══════════ BARRE DE FILTRES STICKY ═══════════ --}}
@if($centre_id) {{ getCenterName($centre_id) }} @endif @if($annee_id) {{ getAnneeName($annee_id) }} @endif @if($mois) {{ $moisNoms[$mois] ?? $mois }} @endif
{{-- ═══════════ PANEL FILTRES (repliable, live) ═══════════ --}}
{{-- ═══════════ KPI ═══════════ --}}
Total demandes
{{ number_format($total_demandes, 0, ',', ' ') }}
Toutes demandes
Livrées + Scannées
{{ number_format($livree_scannee_count, 0, ',', ' ') }}
Traitées
Taux livraison
{{ $taux_livree_scannee }}%
Sur total demandes
Répartition format
@forelse($par_format as $format => $nb)
{{ $format }} : {{ number_format($nb, 0, ',', ' ') }}
@empty — @endforelse
{{-- ═══════════ GRAPHIQUES ═══════════ --}}
{{-- Doughnut statut --}}
Répartition par statut Sur {{ number_format($total_demandes, 0, ',', ' ') }} demandes
Donut
@if(empty($par_statut))
Aucune donnée disponible
@else
@endif
{{-- Line évolution --}}
Évolution mensuelle Total demandes par mois
Ligne
@if(empty($evolution_mensuelle))
Aucune donnée disponible
@else
@endif
{{-- ═══════════ TOPS ═══════════ --}}
{{-- Top préparateurs --}}
Top préparateurs {{ count($stats_preparateurs) }} préparateurs
@if(empty($stats_preparateurs))
Aucune donnée
@else
@foreach($this->paginatedPreparateurs as $i => $p) @php $rank = ($this->pagePreparateurs - 1) * $this->perPage + $i + 1; @endphp @endforeach
# Nom complet Docs Progression %
{{ $rank }} {{ $p['nomComplet'] }} {{ number_format($p['nbDocuments'], 0, ',', ' ') }}
{{ $p['pourcentage'] }}%
@if($this->totalPreparateursPages > 1)
Page {{ $this->pagePreparateurs }} / {{ $this->totalPreparateursPages }}
@endif @endif
{{-- Top livreurs --}}
Top livreurs {{ count($stats_livreurs) }} livreurs
@if(empty($stats_livreurs))
Aucune donnée
@else
@foreach($this->paginatedLivreurs as $i => $l) @php $rank = ($this->pageLivreurs - 1) * $this->perPage + $i + 1; @endphp @endforeach
# Nom complet Docs Progression %
{{ $rank }} {{ $l['nomComplet'] }} {{ number_format($l['nbDocuments'], 0, ',', ' ') }}
{{ $l['pourcentage'] }}%
@if($this->totalLivreursPages > 1)
Page {{ $this->pageLivreurs }} / {{ $this->totalLivreursPages }}
@endif @endif
@script @endscript