summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2013-02-20 16:46:07 -0800
committerMark Wells <mark@freeside.biz>2013-02-20 16:46:07 -0800
commitd7135a628c2e30cb31ce062d730b4288c38cae98 (patch)
treea1fc639c47031b5dede5f5ade621a65665d94099 /httemplate
parented30348c21d00246e3e5fd4d98ec6ef1f8efb20b (diff)
decimal places
Diffstat (limited to 'httemplate')
-rw-r--r--httemplate/elements/tr-select-discount_term.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/httemplate/elements/tr-select-discount_term.html b/httemplate/elements/tr-select-discount_term.html
index e9faeb228..d4218f848 100644
--- 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)' : '',
&>