[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 28/44: reverse for quant_fin
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 28/44: reverse for quant_fin |
Date: |
Wed, 26 Dec 2018 04:29:55 -0500 (EST) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit 2d23ca4a9bb998a10c9cd8659294e8fe1826ace8
Author: Dany De Bontridder <address@hidden>
Date: Wed Nov 28 21:28:25 2018 +0100
reverse for quant_fin
---
include/class/acc_ledger.class.php | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/include/class/acc_ledger.class.php
b/include/class/acc_ledger.class.php
index 91dc186..faf46e4 100644
--- a/include/class/acc_ledger.class.php
+++ b/include/class/acc_ledger.class.php
@@ -324,10 +324,10 @@ class Acc_Ledger extends jrn_def_sql
throw (new Exception(__FILE__.__LINE__."SQL ERROR [ $sql ]"));
// reverse in QUANT_FIN table
$Res=$this->db->exec_sql(" INSERT INTO quant_fin(
- qf_bank, qf_other, qf_amount,jr_id)
- SELECT qf_bank, qf_other, qf_amount*(-1),$1
+ qf_bank, qf_other, qf_amount,jr_id,j_id)
+ SELECT qf_bank, qf_other,
qf_amount*(-1),$1,$3
FROM quant_fin where jr_id=$2",
- array($seq, $this->jr_id));
+ array($seq, $this->jr_id,$j_id));
if ($Res==false)
throw (new Exception(__FILE__.__LINE__."SQL ERROR[ $sql ]"));
- [Noalyss-commit] [noalyss] 05/44: Bug : cannot set group, (continued)
- [Noalyss-commit] [noalyss] 05/44: Bug : cannot set group, Dany De Bontridder, 2018/12/26
- [Noalyss-commit] [noalyss] 21/44: cosmetic, Dany De Bontridder, 2018/12/26
- [Noalyss-commit] [noalyss] 30/44: acc_ledger_fin . translation, Dany De Bontridder, 2018/12/26
- [Noalyss-commit] [noalyss] 29/44: Background color, Dany De Bontridder, 2018/12/26
- [Noalyss-commit] [noalyss] 27/44: Quant_Fin : set the j_id when an operation is recorded, Dany De Bontridder, 2018/12/26
- [Noalyss-commit] [noalyss] 25/44: Currency : SQL quant_fin is adapted, Dany De Bontridder, 2018/12/26
- [Noalyss-commit] [noalyss] 31/44: Indentation, Dany De Bontridder, 2018/12/26
- [Noalyss-commit] [noalyss] 32/44: change background, Dany De Bontridder, 2018/12/26
- [Noalyss-commit] [noalyss] 15/44: typo, Dany De Bontridder, 2018/12/26
- [Noalyss-commit] [noalyss] 34/44: predefined operation , invalid value for database::setp, Dany De Bontridder, 2018/12/26
- [Noalyss-commit] [noalyss] 28/44: reverse for quant_fin,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 36/44: Pre_Operation : add attribut, Dany De Bontridder, 2018/12/26
- [Noalyss-commit] [noalyss] 08/44: Merge branch 'master' of gitlab.noalyss.eu:noalyss/noalyss, Dany De Bontridder, 2018/12/26
- [Noalyss-commit] [noalyss] 44/44: Merge branch 'master' of gitlab.noalyss.eu:noalyss/noalyss, Dany De Bontridder, 2018/12/26
- [Noalyss-commit] [noalyss] 42/44: Doc + typo, Dany De Bontridder, 2018/12/26
- [Noalyss-commit] [noalyss] 39/44: cfgcurrency : file for the new version : if the file to include does not exist then display a warning and exit look also into NOALYSS_INCLUDE, Dany De Bontridder, 2018/12/26
- [Noalyss-commit] [noalyss] 11/44: Improve cosmetic, Dany De Bontridder, 2018/12/26
- [Noalyss-commit] [noalyss] 23/44: translate, Dany De Bontridder, 2018/12/26
- [Noalyss-commit] [noalyss] 38/44: cfgcurrency : file for the new version : if the file to include does not exist then display a warning and exit look also into NOALYSS_INCLUDE, Dany De Bontridder, 2018/12/26
- [Noalyss-commit] [noalyss] 41/44: Merge branch 'master' of gitlab.noalyss.eu:noalyss/noalyss, Dany De Bontridder, 2018/12/26
- [Noalyss-commit] [noalyss] 33/44: Database upgrade 131, Dany De Bontridder, 2018/12/26