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}
|
|