Gérant {{ auth('cmu')->user()->prenoms }} {{ auth('cmu')->user()->nom }}
{{-- ============ Bandeau identité société ============ --}} {{ $societe->raison_sociale }} @if($societe->sigle) {{ $societe->sigle }} @endif
RCCM {{ $societe->numero_rccm }}
Taux commission : {{ number_format($societe->tauxCommissionApplicable(), 2, ',', '') }} %
{{-- ============ Alerte taux validation ============ --}} @if($kpis['alerte_taux_validation'])
Alerte qualité enrôlement — taux de validation {{ number_format($kpis['taux_validation'], 1, ',', '') }} % sous le seuil {{ $kpis['seuil_taux_validation'] }} %. Vérifier la complétude des dossiers soumis par vos agents.
@endif {{-- ============ 4 KPIs ============ --}}
{{-- ============ Graph 30 jours ============ --}} @php $maxJ = max(1, $serie30j->max()); @endphp
@foreach($serie30j as $jour => $valeur) @php $h = max(2, round(100 * $valeur / $maxJ)); @endphp
@endforeach
{{ $serie30j->keys()->first() ? \Carbon\Carbon::parse($serie30j->keys()->first())->format('d/m') : '' }} {{ $serie30j->keys()->last() ? \Carbon\Carbon::parse($serie30j->keys()->last())->format('d/m') : '' }}
{{-- ============ Donut profils ============ --}} @php $total = max(1, $repartition->sum('total')); @endphp
@forelse($repartition as $r) @php $part = round(100 * $r->total / $total, 1); @endphp
{{ $r->libelle }} {{ $r->total }} · {{ number_format($part, 1, ',', '') }} %
@empty
Aucun adhérent enrôlé pour le moment.
@endforelse
{{-- ============ Vos Points AMU ============ --}} Tout gérer → @forelse($points as $p) {{ $p->code }} {{ $p->nom_officiel }} {{ $p->agents }} {{ $p->adherents_periode }} {{ $p->adherents_total }} {{ number_format($p->taux_validation, 1, ',', '') }} % @empty Aucun Point AMU rattaché. Créer le premier point → @endforelse
{{-- ============ Performance agents ============ --}} @forelse($agents as $rang => $a) {{ $rang + 1 }}
{{ $a->prenoms }} {{ $a->nom }}
{{ $a->email }}
{{ $a->point_nom ?? '—' }} {{ $a->adherents }} {{ $a->valides }} {{ $a->rejetes }} {{ number_format($a->taux_validation, 1, ',', '') }} % @empty Aucun agent affecté à vos Points AMU. @endforelse