[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 09/11: Bug #1838 Souci décimales ventilation
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 09/11: Bug #1838 Souci décimales ventilation CA si automatique |
Date: |
Wed, 31 Mar 2021 13:07:08 -0400 (EDT) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit 2b6ad48ee940438f1c5beb4962588cd9c2c81cc1
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Wed Mar 31 13:27:59 2021 +0200
Bug #1838 Souci décimales ventilation CA si automatique
---
html/js/anc_script.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/html/js/anc_script.js b/html/js/anc_script.js
index ce7cc58..ea88a61 100644
--- a/html/js/anc_script.js
+++ b/html/js/anc_script.js
@@ -59,11 +59,11 @@ function add_row(p_table, p_seq)
{
var cell = row.insertCell(i);
var txt = rowToCopy.cells[i].innerHTML;
-// txt=txt.replace(/row_1/g,"row_"+new_value);
cell.innerHTML = txt;
}
var col = document.getElementsByName("val[" + p_seq + "][]");
- col[col.length - 1].value = max - amount;
+ let tmp_amount=max - amount;
+ col[col.length - 1].value = Math.round(tmp_amount*100)/100;
anc_refresh_remain(p_table, p_seq);
}
/**
- [Noalyss-commit] [noalyss] branch master updated (b00558e -> eba5413), Dany De Bontridder, 2021/03/31
- [Noalyss-commit] [noalyss] 02/11: Harden security, Dany De Bontridder, 2021/03/31
- [Noalyss-commit] [noalyss] 03/11: calcy , bug position divide by 2 on certain circumstances, Dany De Bontridder, 2021/03/31
- [Noalyss-commit] [noalyss] 05/11: Esthestic Bug Forecast if there is no category do not show the save btn, Dany De Bontridder, 2021/03/31
- [Noalyss-commit] [noalyss] 06/11: 0001923: TAG : Date de paiement BALISE DATE_PAID, Dany De Bontridder, 2021/03/31
- [Noalyss-commit] [noalyss] 07/11: Task #0001928: Export ANC/ANCIMP/ANCHOP, Dany De Bontridder, 2021/03/31
- [Noalyss-commit] [noalyss] 08/11: Set version 9.0, Dany De Bontridder, 2021/03/31
- [Noalyss-commit] [noalyss] 09/11: Bug #1838 Souci décimales ventilation CA si automatique,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 04/11: Code #0001905: Champ pour Registre des Personnes Morales (RPM) Réécriture complete de COMPANY , ajout libres de paramètres, Dany De Bontridder, 2021/03/31
- [Noalyss-commit] [noalyss] 10/11: Improve #0001825: Détail opération : mise à jour date + logo 9, Dany De Bontridder, 2021/03/31
- [Noalyss-commit] [noalyss] 01/11: Task #0001735: Standardiser icone, Dany De Bontridder, 2021/03/31
- [Noalyss-commit] [noalyss] 11/11: Cosmetic, Dany De Bontridder, 2021/03/31