[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 97/238: Fin : currency , add missing info int
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 97/238: Fin : currency , add missing info into Operation_Currency |
Date: |
Sat, 26 Oct 2019 04:40:42 -0400 (EDT) |
sparkyx pushed a commit to annotated tag rel7110
in repository noalyss.
commit 7b8daebd3f453d7e3e7ca055fc507a22e8c8b95e
Author: Dany De Bontridder <address@hidden>
Date: Tue Nov 27 17:52:46 2018 +0100
Fin : currency , add missing info into Operation_Currency
---
include/class/acc_ledger_fin.class.php | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/include/class/acc_ledger_fin.class.php
b/include/class/acc_ledger_fin.class.php
index 74a0427..4668b28 100644
--- a/include/class/acc_ledger_fin.class.php
+++ b/include/class/acc_ledger_fin.class.php
@@ -838,6 +838,7 @@ class Acc_Ledger_Fin extends Acc_Ledger
// -- Insert into Operation Currency
$operation_currency = new
Operation_currency_SQL($this->db);
$operation_currency->oc_amount=$amount_input;
+ $operation_currency->oc_vat_amount=0;
$operation_currency->oc_price_unit=$amount_input;
$operation_currency->j_id=$j_id;
$operation_currency->insert();
@@ -892,6 +893,10 @@ class Acc_Ledger_Fin extends Acc_Ledger
$acc_operation->mt = $mt;
$idx_operation++;
$acc_operation->pj = '';
+ $acc_operation->currency_id=$this->currency_id;
+ $acc_operation->currency_rate=$currency_rate;
+
$acc_operation->currency_rate_ref=$currency_rate;
+
if (trim($e_pj) != '' &&
$this->numb_operation() == true)
$acc_operation->pj = $e_pj .
str_pad($idx_operation, 3, 0, STR_PAD_LEFT);
- [Noalyss-commit] [noalyss] 81/238: adapt to 7.2 , error with sizeof, (continued)
- [Noalyss-commit] [noalyss] 81/238: adapt to 7.2 , error with sizeof, Dany De Bontridder, 2019/10/26
- [Noalyss-commit] [noalyss] 87/238: translate, Dany De Bontridder, 2019/10/26
- [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 <=
- [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, 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