Skip to content
Snippets Groups Projects
Commit 1cd42ae0 authored by Rodolphe Quiedeville's avatar Rodolphe Quiedeville
Browse files

Bugfix

parent 3a6cfa1d
No related branches found
No related tags found
No related merge requests found
......@@ -114,8 +114,7 @@ class RejetPrelevement
// certaines install de PHP renvoie uniquement la partie
// entiere negative
$tot = ereg_replace(",",".",$fac->total_ttc);
$pai->amounts[$facs[$i]] = ($tot * -1);
$pai->amounts[$facs[$i]] = ereg_replace(",",".",($fac->total_ttc * -1));
$pai->datepaye = $this->db->idate(time());
$pai->paiementid = 3; // prlvement
$pai->num_paiement = "Rejet";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment