[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 18/107: Mantis #0001651: Problème avec totau
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 18/107: Mantis #0001651: Problème avec totaux en CA |
Date: |
Mon, 26 Aug 2019 10:31:48 -0400 (EDT) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit 60a033458bf25d35a7f0319d8b686c1f87a76c79
Author: Dany De Bontridder <address@hidden>
Date: Mon Feb 18 22:02:38 2019 +0100
Mantis #0001651: Problème avec totaux en CA
---
html/js/anc_script.js | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/html/js/anc_script.js b/html/js/anc_script.js
index 9e2b7a3..101470d 100644
--- a/html/js/anc_script.js
+++ b/html/js/anc_script.js
@@ -162,9 +162,8 @@ function verify_ca(div)
} else {
amount = Math.round(amount*100)/100;
}
- var diff = amount - total_amount;
-
- if (Math.round(diff, 2) != 0.0)
+ var diff = amount*100 - total_amount*100;
+ if (Math.round(diff/100) != 0.0)
{
g(table).style.backgroundColor = 'red';
amount_error++;
- [Noalyss-commit] [noalyss] branch master updated (513424f -> a68b6a8), Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 02/107: Fix bug with payment method, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 07/107: mantis #1690: Bug : impossible d'utiliser < dans Inplace_Edit Replace strip_tags , add a space before the "<", Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 08/107: Mantis #1693: CA - problème avec la balance croisée double, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 11/107: Security : replace $_GET by Http_Input + translate, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 13/107: Icon_Action : add icon for menu, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 16/107: Icon_Action add icon for locking , unlocking, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 24/107: Debug : Add memory info, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 18/107: Mantis #0001651: Problème avec totaux en CA,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 09/107: translation, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 04/107: Php7.2 incompatibility, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 10/107: Security : replace $_GET by Http_Input, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 06/107: TEST : fix some little bugs, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 14/107: Accounting : Cosmetic change icon more by arrow, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 17/107: Mantis #0001651: Problème avec totaux en CA, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 12/107: Code cleaning replace $start and $end by $periode_...>value to avoid to get it several times, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 23/107: Bug javascript mispelled function show_tab, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 21/107: Merge branch 'master' of gitlab.noalyss.eu:noalyss/noalyss into dev7016, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 15/107: Icon_Action : add testing + cosmetic for Icon_Action::menu, Dany De Bontridder, 2019/08/26