projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed30348
)
decimal places
author
Mark Wells
<mark@freeside.biz>
Thu, 21 Feb 2013 00:46:07 +0000
(16:46 -0800)
committer
Mark Wells
<mark@freeside.biz>
Thu, 21 Feb 2013 00:46:07 +0000
(16:46 -0800)
httemplate/elements/tr-select-discount_term.html
patch
|
blob
|
history
diff --git
a/httemplate/elements/tr-select-discount_term.html
b/httemplate/elements/tr-select-discount_term.html
index
e9faeb2
..
d4218f8
100644
(file)
--- a/
httemplate/elements/tr-select-discount_term.html
+++ b/
httemplate/elements/tr-select-discount_term.html
@@
-24,7
+24,9
@@
function change_discount_term(what) {
id => 'discount_term',
options => [ '', @discount_term ],
labels => { '' => mt('1 month'),
- map { $_ => mt('[_1] months', $_) } @discount_term },
+ map { $_ => mt('[_1] months', sprintf('%.0f', $_)) }
+ @discount_term
+ },
curr_value => '',
onchange => $amount_id ? 'change_discount_term(this)' : '',
&>