From bc4f4187a06cd97ab08d54c8c8b815b2b9f58cea Mon Sep 17 00:00:00 2001 From: Sarobidy22 Date: Fri, 29 Aug 2025 23:13:15 +0300 Subject: [PATCH] push 30082025-2 --- app/Controllers/RecouvrementController.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/app/Controllers/RecouvrementController.php b/app/Controllers/RecouvrementController.php index a3711476..3aee6aa3 100644 --- a/app/Controllers/RecouvrementController.php +++ b/app/Controllers/RecouvrementController.php @@ -83,20 +83,19 @@ class RecouvrementController extends AdminController $total = $total_orders + $total_avances; // Ajustements avec recouvrements et sorties caisse - $total_mvola_final = $total_mvola - $me - $mb + $bm; - $total_espece_final = $es1_orders + $es2_orders + $es_avances - $total_sortie_caisse; + $total_mvola_final = $total_mvola - $me - $mb + $bm; + $total_espece_final = $total_espece + $me + $be - $total_sortie_caisse; $total_virement_bancaire_final = $total_vb - $be - $bm + $mb; return [ 'total' => $total, 'total_mvola' => $total_mvola_final, 'total_espece' => $total_espece_final, - 'total_virement_bancaire'=> $total_virement_bancaire_final, + 'total_virement_bancaire' => $total_virement_bancaire_final, 'page_title' => $this->pageTitle, 'permission' => $this->permission ]; } - public function fetchRecouvrementData() {