noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 06/19: export historic card csv : column wron


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 06/19: export historic card csv : column wrong
Date: Thu, 12 Dec 2019 15:49:04 -0500 (EST)

sparkyx pushed a commit to tag rel7200
in repository noalyss.

commit 577115a78855c5f8d3a5b869b77a04c15659a477
Author: Dany <address@hidden>
Date:   Wed Dec 4 17:01:59 2019 +0100

    export historic card csv : column wrong
---
 include/export/export_fiche_balance_csv.php | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/export/export_fiche_balance_csv.php 
b/include/export/export_fiche_balance_csv.php
index 6142ea7..f2d7520 100644
--- a/include/export/export_fiche_balance_csv.php
+++ b/include/export/export_fiche_balance_csv.php
@@ -176,11 +176,13 @@ else
                                if ($row['j_debit'] == 't')
                                {
                                        
$export->add($row['j_montant'],"number");
+                                       $export->add(0,"number");
                                        
$amount_deb=bcadd($amount_deb,$row['j_montant']);
                                        $prog = bcadd($prog, $row['j_montant']);
                                }
                                else
                                {
+                                   $export->add(0,"number");
                                        
$export->add($row['j_montant'],"number");
                                        
$amount_cred=bcadd($amount_cred,$row['j_montant']);
                                        $prog = bcsub($prog, $row['j_montant']);



reply via email to

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