[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 22/73: Fix bug : not TVA asked
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 22/73: Fix bug : not TVA asked |
Date: |
Fri, 28 May 2021 05:26:25 -0400 (EDT) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit abcaa12313c0e588634dd71e4903f82e83d0ae46
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Fri Apr 16 14:54:40 2021 +0200
Fix bug : not TVA asked
---
include/class/acc_ledger_sold.class.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/class/acc_ledger_sold.class.php
b/include/class/acc_ledger_sold.class.php
index ae42b10..ad362e7 100644
--- a/include/class/acc_ledger_sold.class.php
+++ b/include/class/acc_ledger_sold.class.php
@@ -364,7 +364,7 @@ class Acc_Ledger_Sold extends Acc_Ledger {
$l = new Acc_Tva($this->db, $idx_tva);
$l->load();
$tva_item_currency = bcmul($amount,
$l->get_parameter('rate'));
- $tva_item=round($tva_item,2);
+ $tva_item=round($tva_item_currency,2);
}
$tva_item=bcdiv($tva_item_currency,$p_currency_rate);
$tva_item=round($tva_item,2);
- [Noalyss-commit] [noalyss] 13/73: SQL file for action, (continued)
- [Noalyss-commit] [noalyss] 13/73: SQL file for action, Dany De Bontridder, 2021/05/28
- [Noalyss-commit] [noalyss] 07/73: cosmetic col. alignment, Dany De Bontridder, 2021/05/28
- [Noalyss-commit] [noalyss] 11/73: Sendmail : improve , add abilities to add headers, Dany De Bontridder, 2021/05/28
- [Noalyss-commit] [noalyss] 23/73: remove debug info, Dany De Bontridder, 2021/05/28
- [Noalyss-commit] [noalyss] 21/73: Fix : warning when Acc_Param not set properly for BANK, CASH,, Dany De Bontridder, 2021/05/28
- [Noalyss-commit] [noalyss] 19/73: Merge branch 'dev-8104', Dany De Bontridder, 2021/05/28
- [Noalyss-commit] [noalyss] 35/73: improve cosmetic, Dany De Bontridder, 2021/05/28
- [Noalyss-commit] [noalyss] 01/73: Nouveau logo, Dany De Bontridder, 2021/05/28
- [Noalyss-commit] [noalyss] 09/73: CSS : position dashboard and ledger name, Dany De Bontridder, 2021/05/28
- [Noalyss-commit] [noalyss] 12/73: Cosmetic, Dany De Bontridder, 2021/05/28
- [Noalyss-commit] [noalyss] 22/73: Fix bug : not TVA asked,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 20/73: Cosmetic : place of login, Dany De Bontridder, 2021/05/28
- [Noalyss-commit] [noalyss] 31/73: Task #0001961: Devise, cosmetic align number, Dany De Bontridder, 2021/05/28
- [Noalyss-commit] [noalyss] 33/73: CURRENCY : conversion problem, Dany De Bontridder, 2021/05/28
- [Noalyss-commit] [noalyss] 32/73: Fix bug Forecast, Dany De Bontridder, 2021/05/28
- [Noalyss-commit] [noalyss] 15/73: Cosmetic and small bugs, Dany De Bontridder, 2021/05/28
- [Noalyss-commit] [noalyss] 17/73: Cosmetic :, Dany De Bontridder, 2021/05/28
- [Noalyss-commit] [noalyss] 14/73: Cosmetic bg color tabs, Dany De Bontridder, 2021/05/28
- [Noalyss-commit] [noalyss] 42/73: Cosmetic : position of "invoice, template , ..." after saving an operation, Dany De Bontridder, 2021/05/28
- [Noalyss-commit] [noalyss] 43/73: Improve Manage_Table : align column numeric to the right by default, Dany De Bontridder, 2021/05/28
- [Noalyss-commit] [noalyss] 18/73: Direct Access with a Single AC (without the full path), Dany De Bontridder, 2021/05/28