Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
aa.gusti
/
opensipkd-base
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 4cacc37b
authored
Dec 31, 2024
by
aa.gusti
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
perbaikan template moneywidget
1 parent
21482e15
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
opensipkd/base/views/widgets/readonly/money_input.pt
opensipkd/base/views/widgets/readonly/money_input.pt
View file @
4cacc37
...
@@ -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
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment