[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 103/238: reverse for quant_fin
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 103/238: reverse for quant_fin |
Date: |
Sat, 26 Oct 2019 04:40:43 -0400 (EDT) |
sparkyx pushed a commit to annotated tag rel7110
in repository noalyss.
commit 36823c171a81a35cb189c9ffb54bc34ef23f0465
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 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/238: adapt to 7.2 ,array, (continued)
- [Noalyss-commit] [noalyss] 89/238: adapt to 7.2 ,array, Dany De Bontridder, 2019/10/26
- [Noalyss-commit] [noalyss] 80/238: Improve debug info, Dany De Bontridder, 2019/10/26
- [Noalyss-commit] [noalyss] 82/238: adapt to 7.2 , error with count, Dany De Bontridder, 2019/10/26
- [Noalyss-commit] [noalyss] 84/238: Style.css Ajout de nowrap, Dany De Bontridder, 2019/10/26
- [Noalyss-commit] [noalyss] 90/238: Code cleaning : remove SQL with hardcoded value, Dany De Bontridder, 2019/10/26
- [Noalyss-commit] [noalyss] 92/238: Merge branch 'master' into r700-currency, Dany De Bontridder, 2019/10/26
- [Noalyss-commit] [noalyss] 86/238: Currency : show the currency of the ledger when entering info, Dany De Bontridder, 2019/10/26
- [Noalyss-commit] [noalyss] 94/238: acc_ledger_fin : cosmetic : input, Dany De Bontridder, 2019/10/26
- [Noalyss-commit] [noalyss] 97/238: Fin : currency , add missing info into Operation_Currency, Dany De Bontridder, 2019/10/26
- [Noalyss-commit] [noalyss] 95/238: currency : adapt for FIN, Dany De Bontridder, 2019/10/26
- [Noalyss-commit] [noalyss] 103/238: reverse for quant_fin,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 96/238: Merge branch 'master' into r700-currency, Dany De Bontridder, 2019/10/26
- [Noalyss-commit] [noalyss] 106/238: Currency : adapt for bank saldo, Dany De Bontridder, 2019/10/26
- [Noalyss-commit] [noalyss] 102/238: Version DB 131, Dany De Bontridder, 2019/10/26
- [Noalyss-commit] [noalyss] 113/238: change background, Dany De Bontridder, 2019/10/26
- [Noalyss-commit] [noalyss] 112/238: currency : sale extended html , csv, Dany De Bontridder, 2019/10/26
- [Noalyss-commit] [noalyss] 110/238: Currency : All ledger's listing mode , html , csv and pdf, Dany De Bontridder, 2019/10/26
- [Noalyss-commit] [noalyss] 119/238: currency : adapt middle of payment, Dany De Bontridder, 2019/10/26
- [Noalyss-commit] [noalyss] 124/238: Currency : when we pay at the same time as we record the sale / purchase , either the bank is in euro (default currency) or the sale/purchase has the same currency than the financial ledger, Dany De Bontridder, 2019/10/26
- [Noalyss-commit] [noalyss] 126/238: Merge branch 'master' into r700-currency, Dany De Bontridder, 2019/10/26
- [Noalyss-commit] [noalyss] 146/238: Currency : history for accounting , correct amount in currency, Dany De Bontridder, 2019/10/26