[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,
- [Noalyss-commit] [noalyss] branch master updated (67dc4a8 -> 9d5d626), Dany De Bontridder, 2020/11/08
- [Noalyss-commit] [noalyss] 02/12: Cosmetic : install structure input, Dany De Bontridder, 2020/11/08
- [Noalyss-commit] [noalyss] 01/12: Cosmetic : follow up, Dany De Bontridder, 2020/11/08
- [Noalyss-commit] [noalyss] 03/12: Cosmetic, Dany De Bontridder, 2020/11/08
- [Noalyss-commit] [noalyss] 04/12: Bug : incompatibilty with php 7.4,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 05/12: ergonomy : add waiting box, Dany De Bontridder, 2020/11/08
- [Noalyss-commit] [noalyss] 06/12: Bug : follow up mixed description and comment, Dany De Bontridder, 2020/11/08
- [Noalyss-commit] [noalyss] 09/12: Print Accounting : export pdf does not work, Dany De Bontridder, 2020/11/08
- [Noalyss-commit] [noalyss] 10/12: Bug : when ledger not found, Dany De Bontridder, 2020/11/08
- [Noalyss-commit] [noalyss] 07/12: task #0001861: Plage de cases à cocher , search action, Dany De Bontridder, 2020/11/08
- [Noalyss-commit] [noalyss] 08/12: Remove direct access _GET, Dany De Bontridder, 2020/11/08
- [Noalyss-commit] [noalyss] 12/12: Bug : follow-up , add a new security against the duplicate for Follo_Up reference (ag_ref), Dany De Bontridder, 2020/11/08
- [Noalyss-commit] [noalyss] 11/12: Improve Test, Dany De Bontridder, 2020/11/08