{{ $kpis['lignes_indispo'] }} ligne(s) marquée(s) INDISPONIBLE sur des dispensations passées.
Ces médicaments restent à honorer dans une autre pharmacie ou ici, dès remise en stock.
{{-- ============ Graph 14 jours ============ --}}
@php $maxJ = max(1, $serie_14j->max()); @endphp
@foreach($serie_14j as $jour => $valeur)
@php $h = max(2, round(100 * $valeur / $maxJ)); @endphp
{{ substr($jour, 8, 2) }}/{{ substr($jour, 5, 2) }}
@endforeach
{{-- ============ Répartition catégorie ============ --}}
@php $totalCat = max(1, $repartition->sum('total_gnf')); @endphp
@forelse($repartition as $r)
@php
$part = round(100 * $r->total_gnf / $totalCat, 1);
$libCat = \App\Enums\Cmu\CategorieActe::tryFrom($r->categorie)?->libelle() ?? $r->categorie;
@endphp
{{ $libCat }}
{{ $r->nombre }} · {{ \App\Support\Fg::gnfCourt($r->total_gnf) }}
@empty
Aucun acte facturé ce mois.
@endforelse