From 76854614424dd9823f8a54c284d8beec84471308 Mon Sep 17 00:00:00 2001 From: Tolotsoa Date: Wed, 3 Sep 2025 09:34:57 +0300 Subject: [PATCH] fix change type in clientType --- .gitignore | 1 + gestion/lib/Controller/PageController.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index c320e28..90d0d77 100644 --- a/.gitignore +++ b/.gitignore @@ -23,6 +23,7 @@ pnpm-debug.log* # Fichiers d'environnement .env .env.*.local +docker-compose.yml # Fichiers système / IDE .DS_Store diff --git a/gestion/lib/Controller/PageController.php b/gestion/lib/Controller/PageController.php index e7aabeb..b348609 100644 --- a/gestion/lib/Controller/PageController.php +++ b/gestion/lib/Controller/PageController.php @@ -3086,7 +3086,7 @@ class PageController extends Controller $clientId = $data['clientId'] ?? null; $month = $data['month'] ?? null; $year = $data['year'] ?? null; - $filterType = $data['type'] ?? 'client'; + $filterType = $data['clientType'] ?? 'client'; $montant = $data['montant'] ?? null; $devisFilename = $this->devisRecapService->generateDevisRecap(