From 295ba2932909416ed4475fa54af870055a34f562 Mon Sep 17 00:00:00 2001 From: Manus Date: Thu, 30 Jul 2026 12:37:32 +0000 Subject: [PATCH] =?UTF-8?q?Checkpoint:=20Zone=20de=20filtres=20Factures=20?= =?UTF-8?q?BAP=20refactoris=C3=A9e=20en=203=20lignes=20dans=20un=20cartouc?= =?UTF-8?q?he=20vert=20=C3=A9meraude=20pastel=20:=20ligne=201=20(recherche?= =?UTF-8?q?),=20ligne=202=20(filtres=20p=C3=A9riode=20ann=C3=A9e/mois),=20?= =?UTF-8?q?ligne=203=20(boutons=20statut=20+=20tri=20align=C3=A9=20=C3=A0?= =?UTF-8?q?=20droite).?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/src/pages/InvoicesBAP.tsx | 255 ++++++++++++++++--------------- 1 file changed, 130 insertions(+), 125 deletions(-) diff --git a/client/src/pages/InvoicesBAP.tsx b/client/src/pages/InvoicesBAP.tsx index 18807e1..9f0c112 100644 --- a/client/src/pages/InvoicesBAP.tsx +++ b/client/src/pages/InvoicesBAP.tsx @@ -714,146 +714,151 @@ export default function InvoicesBAP() { - - - {/* Search */} -
-
- - setSearchQuery(e.target.value)} - className="pl-10" - /> -
-
- - {/* Period Filter + Status Filters */} -
-
- - Période : -
- {/* Year selector */} - - {/* Month selector — disabled when year = all */} - - {(selectedYear !== "all" || selectedMonth !== "all") && ( - - )} -
+ {/* ===== CARTOUCHE FILTRES BAP ===== */} +
- {/* Tri */} -
- Trier par : + {/* Ligne 1 : Recherche */} +
+
+ + setSearchQuery(e.target.value)} + className="pl-10 bg-white border-emerald-200 focus:border-emerald-400" + /> +
+
+ + {/* Ligne 2 : Filtres période (année + mois) */} +
+
+ + Période : +
+ + + {(selectedYear !== "all" || selectedMonth !== "all") && ( + + )} +
+ + {/* Ligne 3 : Boutons statut + tri */} +
+ + + + + + + +
+ Trier :
+
+
+ {/* ===== FIN CARTOUCHE BAP ===== */} - {/* Status Filters */} -
- - - - - - - -
+ + {/* Table */} {isLoading ? (