refacto : var currency and zone applied

This commit is contained in:
2026-05-19 20:48:39 +02:00
parent ab97af0ea3
commit 3e4374392a
9 changed files with 68 additions and 25 deletions
+1 -1
View File
@@ -528,7 +528,7 @@ function updateSumResult() {
total += val;
});
document.getElementById('sumResultValue').innerText = new Intl.NumberFormat(window.appLang, { style: 'currency', currency: 'EUR', maximumFractionDigits: 0 }).format(total);
document.getElementById('sumResultValue').innerText = Math.round(total).toLocaleString(window.appLang) + ' ' + window.CONFIG.CURRENCY;
}
document.addEventListener('click', function(e) {