X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Ftr-select-discount_term.html;h=d4218f848bd3a6dfadf81229db3a8530650970ac;hb=afe30fc7315196cc4ae6da7606995cb8388d1a32;hp=e9faeb228175bc840e3c56862e9a7ca658f21c89;hpb=fb4ab1073f0d15d660c6cdc4e07afebf68ef3924;p=freeside.git 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)' : '', &>