Browse Source

push 30082025-2

master
Sarobidy22 3 months ago
parent
commit
bc4f4187a0
  1. 5
      app/Controllers/RecouvrementController.php

5
app/Controllers/RecouvrementController.php

@ -84,20 +84,19 @@ class RecouvrementController extends AdminController
// Ajustements avec recouvrements et sorties caisse // Ajustements avec recouvrements et sorties caisse
$total_mvola_final = $total_mvola - $me - $mb + $bm; $total_mvola_final = $total_mvola - $me - $mb + $bm;
$total_espece_final = $es1_orders + $es2_orders + $es_avances - $total_sortie_caisse; $total_espece_final = $total_espece + $me + $be - $total_sortie_caisse;
$total_virement_bancaire_final = $total_vb - $be - $bm + $mb; $total_virement_bancaire_final = $total_vb - $be - $bm + $mb;
return [ return [
'total' => $total, 'total' => $total,
'total_mvola' => $total_mvola_final, 'total_mvola' => $total_mvola_final,
'total_espece' => $total_espece_final, 'total_espece' => $total_espece_final,
'total_virement_bancaire'=> $total_virement_bancaire_final, 'total_virement_bancaire' => $total_virement_bancaire_final,
'page_title' => $this->pageTitle, 'page_title' => $this->pageTitle,
'permission' => $this->permission 'permission' => $this->permission
]; ];
} }
public function fetchRecouvrementData() public function fetchRecouvrementData()
{ {
helper(['url', 'form']); helper(['url', 'form']);

Loading…
Cancel
Save