push 30082025-2
This commit is contained in:
parent
09ffc99c0f
commit
bc4f4187a0
@ -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()
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user