From 5d1ea89e6c546ef66ea2a63727f5eb64422b4557 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Arod?= Date: Tue, 27 May 2025 21:23:20 +0200 Subject: [PATCH] =?UTF-8?q?feat:=20stats=20TP=20>=20Nb=20familles=20avec?= =?UTF-8?q?=20proc=C3=A8s=20appel=20planifi=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/statistiques/v2/penales/StatsPenales.ts | 3 +++ src/statistiques/v2/penales/tp/computeTribunalPolice.ts | 7 +++++++ 2 files changed, 10 insertions(+) diff --git a/src/statistiques/v2/penales/StatsPenales.ts b/src/statistiques/v2/penales/StatsPenales.ts index 266d9a0..3b12815 100644 --- a/src/statistiques/v2/penales/StatsPenales.ts +++ b/src/statistiques/v2/penales/StatsPenales.ts @@ -129,6 +129,9 @@ export const statsPenalesDesc = { nbFamillesRelaxee: { label: "Nb familles relaxées", }, + nbFamillesProcesAppelPlanifie: { + label: "Nb familles avec procès appel planifié", + }, }, }, intervalGendarmerieProcureur: { diff --git a/src/statistiques/v2/penales/tp/computeTribunalPolice.ts b/src/statistiques/v2/penales/tp/computeTribunalPolice.ts index 144b7df..f330e14 100644 --- a/src/statistiques/v2/penales/tp/computeTribunalPolice.ts +++ b/src/statistiques/v2/penales/tp/computeTribunalPolice.ts @@ -25,5 +25,12 @@ export function computeTribunalPolice( "Relaxe Tribunal de police" ) ), + + nbFamillesProcesAppelPlanifie: nbFamillesAvecPagesLiees( + filterFamillesWithOneOfEvenementsOfType( + famillesResistantesOuEx, + "Procès appel TP" + ) + ), }; }