correction bug calcul total versements sélectionnés

FossilOrigin-Name: 5944111d279436fb40e1fdfafab9b8fe237a02e5e7bb8297c55cb76323cda73a
This commit is contained in:
engel 2022-02-08 09:53:10 +00:00
parent a787c1dacb
commit f2f360cfa0
2 changed files with 22 additions and 22 deletions

View File

@ -85,7 +85,7 @@ function calculerTotal(listeCases, listeMontants, idTotal) {
for (var i = 1; i < listeCases.length; ++i)
{
if (listeCases[i].checked) {
total += parseFloat(listeMontants[i-1].textContent);
total += parseFloat(listeMontants[i-1].textContent.replace(/\s/g, ""));
}
}
// "afficher" le total