feat(grid): make gamme filters dynamic based on available data and support Aucune state

This commit is contained in:
Michael committed 2026-02-21 19:02:44 +01:00
1 parent 86c6946c3e
commit d3b349cc31
3 files changed
+44 -18

No files matched your search

+2 -2
View File
@@ -26,8 +26,8 @@ export interface VenteProduit {
margeMvt: number | null;
}
/** A/B/C/Z status codes for product categories */
export type GammeCode = "A" | "B" | "C" | "Z";
/** A/B/C/Z status codes for product categories, but can be any string from DB (like 'Aucune') */
export type GammeCode = string;
/** A product row with its 12-month sales history and computed KPIs */
export interface ProductRow {