noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 04/12: Bug : incompatibilty with php 7.4


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 04/12: Bug : incompatibilty with php 7.4
Date: Sun, 8 Nov 2020 15:52:13 -0500 (EST)

sparkyx pushed a commit to branch master
in repository noalyss.

commit 598978ca802443b704ec5cf34a4fa6703bc96fa3
Author: Dany wm De Bontridder <danydb@noalyss.eu>
AuthorDate: Sat Nov 7 14:22:08 2020 +0100

    Bug : incompatibilty with php 7.4
---
 include/class/acc_ledger_history_generic.class.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/class/acc_ledger_history_generic.class.php 
b/include/class/acc_ledger_history_generic.class.php
index a50f142..2b96f2a 100644
--- a/include/class/acc_ledger_history_generic.class.php
+++ b/include/class/acc_ledger_history_generic.class.php
@@ -498,8 +498,8 @@ class Acc_Ledger_History_Generic extends Acc_Ledger_History
 // Grand livre == 0
         $Res=$this->db->exec_sql("select jr_id,j_id,j_id as 
int_j_id,to_char(j_date,'DD.MM.YYYY') as j_date,
                                      jr_internal,
-                                     case j_debit when 't' then 
j_montant::text else '   ' end as deb_montant,
-                                     case j_debit when 'f' then 
j_montant::text else '   ' end as cred_montant,
+                                     case j_debit when 't' then j_montant else 
0 end as deb_montant,
+                                     case j_debit when 'f' then j_montant else 
0 end as cred_montant,
                                      j_debit as debit,j_poste as 
poste,j_qcode,jr_montant , ".
                 "case when j_text='' or j_text is null then pcm_lib else 
j_text end as description,j_grpt as grp,
                                      jr_comment||' ('||jr_internal||')'  as 
jr_comment,



reply via email to

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