noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 04/11: Fix bug in export_poste_csv


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 04/11: Fix bug in export_poste_csv
Date: Fri, 25 Oct 2019 18:42:51 -0400 (EDT)

sparkyx pushed a commit to branch master
in repository noalyss.

commit c2c6e5d71c7e95e53ea0f7fa456748d09b67e30c
Author: Dany De Bontridder <address@hidden>
Date:   Tue Oct 22 18:51:22 2019 +0200

    Fix bug in export_poste_csv
---
 include/class/acc_operation.class.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/class/acc_operation.class.php 
b/include/class/acc_operation.class.php
index 167325c..3a71a3f 100644
--- a/include/class/acc_operation.class.php
+++ b/include/class/acc_operation.class.php
@@ -338,7 +338,7 @@ class Acc_Operation
         $filter_sql=$g_user->get_ledger_sql('ALL',3);
         $filter_sql=str_replace('jrn_def_id','jr_def_id',$filter_sql);
         if ( $this->jr_id==0 ) return;
-        $sql=" select  jr_date,j_qcode,j_poste,j_montant,jr_internal,case when 
j_debit = 'f' then 'C' else 'D' end as debit,jr_comment as description,
+        $sql=" select  
jr_id,j_id,jr_date,j_qcode,j_poste,j_montant,jr_internal,case when j_debit = 
'f' then 'C' else 'D' end as debit,jr_comment as description,
              
vw_name,pcm_lib,j_debit,coalesce(comptaproc.get_letter_jnt(j_id),-1) as 
letter,jr_def_id ".
              " from jrnx join jrn on (jr_grpt_id=j_grpt)
              join tmp_pcmn on (j_poste=pcm_val)



reply via email to

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