noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 35/35: Impress JRN Fix bug with qcode


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 35/35: Impress JRN Fix bug with qcode
Date: Tue, 24 May 2016 21:25:40 +0000 (UTC)

sparkyx pushed a commit to branch master
in repository noalyss.

commit 008ed58896fa71ea441665ad0fe9047993007151
Author: Dany De Bontridder <address@hidden>
Date:   Mon May 23 22:53:04 2016 +0200

    Impress JRN Fix bug with qcode
---
 include/class/class_acc_ledger.php |    7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/include/class/class_acc_ledger.php 
b/include/class/class_acc_ledger.php
index 010caa4..e9c1522 100644
--- a/include/class/class_acc_ledger.php
+++ b/include/class/class_acc_ledger.php
@@ -472,7 +472,7 @@ class Acc_Ledger extends jrn_def_sql
                                        'cred_montant' => ' ',
                                        'description' => '<b><i>' . 
h($line['jr_comment']) . ' [' . $tot_op . '] </i></b>',
                                        'poste' => $line['oc'],
-                                       'qcode' => $line['j_qcode'],
+                                       'j_qcode' => $line['j_qcode'],
                                        'periode' => $line['periode'],
                                        'jr_pj_number' => $line 
['jr_pj_number']);
 
@@ -486,7 +486,7 @@ class Acc_Ledger extends jrn_def_sql
                                        'cred_montant' => $mont_cred,
                                        'description' => $line['description'],
                                        'poste' => $line['poste'],
-                                       'qcode' => $line['j_qcode'],
+                                       'j_qcode' => $line['j_qcode'],
                                        'periode' => $line['periode'],
                                        'jr_pj_number' => ''
                                );
@@ -503,7 +503,7 @@ class Acc_Ledger extends jrn_def_sql
                                        'cred_montant' => $mont_cred,
                                        'description' => $line['description'],
                                        'poste' => $line['poste'],
-                                       'qcode' => $line['j_qcode'],
+                                       'j_qcode' => $line['j_qcode'],
                                        'periode' => $line['periode'],
                                        'jr_pj_number' => '');
                        }
@@ -3388,6 +3388,7 @@ class Acc_Ledger extends jrn_def_sql
         //---------------------------------------------------------------------
         function get_tiers_id($p_jrn_type, $jr_id)
         {
+            $tiers=0;
             switch ($p_jrn_type)
                {
                        case 'VEN':



reply via email to

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