correction bug calcul total versements sélectionnés
FossilOrigin-Name: 5944111d279436fb40e1fdfafab9b8fe237a02e5e7bb8297c55cb76323cda73a
This commit is contained in:
parent
a787c1dacb
commit
f2f360cfa0
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user