summaryrefslogtreecommitdiff
path: root/httemplate/elements
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2013-02-20 20:10:34 -0800
committerIvan Kohler <ivan@freeside.biz>2013-02-20 20:10:34 -0800
commit4a473190250bb7fe9108d64693fc4d6e451f707b (patch)
tree506cbe00e47a463e8d117c7d1a78bc3fad782c30 /httemplate/elements
parentefb0128d8e8737a78224831535b44342d0660a23 (diff)
parentf00c16b7e3e6306723ea8b3029e061cff100b901 (diff)
Merge branch 'master' of git.freeside.biz:/home/git/freeside
Diffstat (limited to 'httemplate/elements')
-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)' : '',
&>