From c762998f69f9c99dab5872e85143a8fc014e0019 Mon Sep 17 00:00:00 2001 From: Manus Date: Wed, 10 Jun 2026 09:32:51 +0000 Subject: [PATCH] =?UTF-8?q?Checkpoint:=20Colonne=20Type=20r=C3=A9duite=20?= =?UTF-8?q?=C3=A0=2080px=20avec=20texte=20tronqu=C3=A9.=20Colonne=20Ventil?= =?UTF-8?q?ation=20ajout=C3=A9e=20dans=20le=20panneau=20showDetails=20(vis?= =?UTF-8?q?ible=20avec=20le=20bouton=20Voir=20d=C3=A9tails),=20avec=20badg?= =?UTF-8?q?e=20color=C3=A9=20vert=3DProrata/bleu=3DManuel.=20Ajout=20de=20?= =?UTF-8?q?mode=5Fventilation=20dans=20l'interface=20LigneOpex.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/src/pages/DsiOpex.tsx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/client/src/pages/DsiOpex.tsx b/client/src/pages/DsiOpex.tsx index 62f3273..2f7f689 100644 --- a/client/src/pages/DsiOpex.tsx +++ b/client/src/pages/DsiOpex.tsx @@ -107,6 +107,7 @@ interface LigneOpex { budget_n1: number; montant: number; // montant prévisionnel éditable isCustom: boolean; // true = ajoutée par l'utilisateur + mode_ventilation?: string | null; } interface OpexAnneeState { @@ -1063,9 +1064,10 @@ export default function DsiOpex() { Catégorie - Type + Type Facturation {showDetails && Compte} + {showDetails && Ventilation} Budget N-1 @@ -1109,9 +1111,10 @@ export default function DsiOpex() { {ligne.categorie} - {ligne.type || '—'} + {ligne.type || '—'} {ligne.facturation || '—'} {showDetails && {ligne.compte || '—'}} + {showDetails && {(() => { const mv = ligne.mode_ventilation || 'Prorata'; const isManuelV = mv === 'Manuel'; return {mv}; })()}} {formatNum(ligne.budget_n1)} @@ -1216,7 +1219,7 @@ export default function DsiOpex() { - + TOTAL {selectedCategorie !== 'Toutes' ? selectedCategorie : 'OPEX DSI'} {annee}