[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 119/238: currency : adapt middle of payment
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 119/238: currency : adapt middle of payment |
Date: |
Sat, 26 Oct 2019 04:40:49 -0400 (EDT) |
sparkyx pushed a commit to annotated tag rel7110
in repository noalyss.
commit 076eadeec5853ed17e398467e5428cc37efb5499
Author: Dany De Bontridder <address@hidden>
Date: Sun Dec 9 12:12:50 2018 +0100
currency : adapt middle of payment
---
include/class/acc_ledger_purchase.class.php | 2 +-
include/class/acc_ledger_sold.class.php | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/class/acc_ledger_purchase.class.php
b/include/class/acc_ledger_purchase.class.php
index 2d19e04..76e0c03 100644
--- a/include/class/acc_ledger_purchase.class.php
+++ b/include/class/acc_ledger_purchase.class.php
@@ -992,7 +992,7 @@ class Acc_Ledger_Purchase extends Acc_Ledger
/* if ledger is FIN then insert into quant_fin */
if ( $prop['jrn_def_type'] == 'FIN' )
{
-
$ledger->insert_quant_fin($acfiche->id,$mp_jr_id,$cust->id,bcmul($famount,-1));
+
$ledger->insert_quant_fin($acfiche->id,$mp_jr_id,$cust->id,bcmul($famount,-1),$let_other);
}
diff --git a/include/class/acc_ledger_sold.class.php
b/include/class/acc_ledger_sold.class.php
index 28b3d35..ebf58c9 100644
--- a/include/class/acc_ledger_sold.class.php
+++ b/include/class/acc_ledger_sold.class.php
@@ -675,7 +675,7 @@ class Acc_Ledger_Sold extends Acc_Ledger {
/* if ledger is FIN then insert into quant_fin */
if ($prop['jrn_def_type'] == 'FIN') {
- $ledger->insert_quant_fin($acfiche->id, $mp_jr_id,
$cust->id, bcmul($famount, 1));
+ $ledger->insert_quant_fin($acfiche->id, $mp_jr_id,
$cust->id, bcmul($famount, 1),$let_other);
}
}
} catch (Exception $e) {
- [Noalyss-commit] [noalyss] 94/238: acc_ledger_fin : cosmetic : input, (continued)
- [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, 2019/10/26
- [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 <=
- [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
- [Noalyss-commit] [noalyss] 139/238: Translation, Dany De Bontridder, 2019/10/26
- [Noalyss-commit] [noalyss] 133/238: Translation, Dany De Bontridder, 2019/10/26
- [Noalyss-commit] [noalyss] 142/238: Currency : Precision 6, Dany De Bontridder, 2019/10/26
- [Noalyss-commit] [noalyss] 156/238: Merge branch 'r700-currency' of gitlab.noalyss.eu:noalyss/noalyss into r700-currency, Dany De Bontridder, 2019/10/26
- [Noalyss-commit] [noalyss] 143/238: Currency : precision 6, display default currency , protect used currency against delete, Dany De Bontridder, 2019/10/26
- [Noalyss-commit] [noalyss] 134/238: use of httpInput, Dany De Bontridder, 2019/10/26
- [Noalyss-commit] [noalyss] 135/238: Translation, Dany De Bontridder, 2019/10/26