From a2380f11379d3cb717e1f6da5712a484be318638 Mon Sep 17 00:00:00 2001 From: valentina Date: Wed, 31 Jul 2024 11:18:46 +0200 Subject: [PATCH] Fix minore --- modules/primanota/movimenti.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/primanota/movimenti.php b/modules/primanota/movimenti.php index 4b604a3af..7a4ddbd81 100755 --- a/modules/primanota/movimenti.php +++ b/modules/primanota/movimenti.php @@ -375,11 +375,11 @@ $(document).on("change", "[id*=dare], [id*=avere]", function() { var totalAvere = 0; $("[id*=dare]").each(function() { - totalDare += parseFloat($(this).val()) || 0; + totalDare += parseFloat($(this).val().toEnglish()) || 0; }); $("[id*=avere]").each(function() { - totalAvere += parseFloat($(this).val()) || 0; + totalAvere += parseFloat($(this).val().toEnglish()) || 0; }); $("#totale_dare").text(totalDare.toLocale());