push 30082025-2

This commit is contained in:
Sarobidy22 2025-08-29 23:13:15 +03:00
parent 09ffc99c0f
commit bc4f4187a0

View File

@ -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()
{