[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 99/162: reverse for quant_fin
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 99/162: reverse for quant_fin |
Date: |
Sat, 11 Jul 2020 13:23:50 -0400 (EDT) |
sparkyx pushed a commit to annotated tag E-4
in repository noalyss.
commit 36823c171a81a35cb189c9ffb54bc34ef23f0465
Author: Dany De Bontridder <danydb@noalyss.eu>
AuthorDate: 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 b0dbeba..dcc1ab0 100644
--- a/include/class/acc_ledger.class.php
+++ b/include/class/acc_ledger.class.php
@@ -335,10 +335,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] 89/162: translate, (continued)
- [Noalyss-commit] [noalyss] 89/162: translate, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 92/162: Merge branch 'master' into r700-currency, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 93/162: Fin : currency , add missing info into Operation_Currency, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 91/162: currency : adapt for FIN, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 96/162: Currency : financial use the rate depending of the operation date, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 90/162: acc_ledger_fin : cosmetic : input, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 94/162: Fin currency : detail operation show currency , rate and amount, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 95/162: Modify quant_fin , we add a column j_id to have a fk to jrnx and operation_currency, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 97/162: Currency : SQL quant_fin is adapted, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 98/162: Version DB 131, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 99/162: reverse for quant_fin,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 100/162: Reverse for Currency, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 102/162: Currency : adapt for bank saldo, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 103/162: Currency : export PDF and CSV with currency for printing financial ledger listing(oneline), Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 101/162: Background color, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 104/162: acc_ledger_fin . translation, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 106/162: Currency : All ledger's listing mode , html , csv and pdf, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 111/162: Currency : ledger printing for FIN + detail operation, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 105/162: Indentation, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 108/162: currency : sale extended html , csv, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 109/162: change background, Dany De Bontridder, 2020/07/11