noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 06/14: Bug : export PDF card history incorrec


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 06/14: Bug : export PDF card history incorrect balance
Date: Sat, 19 Dec 2015 21:17:11 +0000

sparkyx pushed a commit to branch master
in repository noalyss.

commit 937d49816846271071a536b0f901ce55105b8964
Author: Dany De Bontridder <address@hidden>
Date:   Fri Dec 18 19:29:05 2015 +0100

    Bug : export PDF card history incorrect balance
---
 include/export/export_fiche_detail_pdf.php |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/export/export_fiche_detail_pdf.php 
b/include/export/export_fiche_detail_pdf.php
index a0b6d40..3ca91d7 100644
--- a/include/export/export_fiche_detail_pdf.php
+++ b/include/export/export_fiche_detail_pdf.php
@@ -128,8 +128,8 @@ for ($e=0;$e<count($array);$e++)
             $pdf->SetFont('DejaVuCond','',8);
     }
     $l=0;
-    $progress=bcsub($row['deb_montant'],$row['cred_montant']);
-
+    $delta=bcsub($row['deb_montant'],$row['cred_montant']);
+    $progress=bcadd($progress,$delta);
 
     $date=shrink_date($row['j_date_fmt']);
     $pdf->LongLine($size[$l],6,$date,0,$align[$l]);



reply via email to

[Prev in Thread] Current Thread [Next in Thread]