Commit 4cacc37b by aa.gusti

perbaikan template moneywidget

1 parent 21482e15
...@@ -5,6 +5,9 @@ ...@@ -5,6 +5,9 @@
'${oid|field.oid}', '${oid|field.oid}',
function (oid) { function (oid) {
let val = parseInt('${cstruct}'); let val = parseInt('${cstruct}');
$("#" + oid).html(val.toLocaleString()); $("#" + oid).html(val.toLocaleString(undefined, {
minimumFractionDigits: 2,
maximumFractionDigits: 2,
}));
}); });
</script> </script>
\ No newline at end of file \ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!