This commit is contained in:
2024-01-31 11:59:25 +07:00
parent 6dd13c49ff
commit 37e4278d53
6 changed files with 213 additions and 80 deletions

View File

@@ -33,4 +33,12 @@
localStorage.setItem(hideMenuBig ? 'menu_big' : 'menu_small', 'hidden');
localStorage.removeItem(hideMenuBig ? 'menu_small' : 'menu_big');
}
function formatCurrency(a) {
var b = parseFloat(a).toFixed(2).replace(/(\d)(?=(\d{3})+\.)/g, "$1.").toString();
var len = b.length;
b = b.substring(0, len - 3);
return b;
}
</script>