summaryrefslogtreecommitdiff
path: root/httemplate/elements
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2016-12-14 09:36:44 -0800
committerIvan Kohler <ivan@freeside.biz>2016-12-14 09:36:44 -0800
commitf50abf757bb3ff6cd567906adcb2ae4375b278cb (patch)
tree2c452535df804df71e53c7489e2dbf6621cf0d94 /httemplate/elements
parent9ed21392289deb8f4f80bce4e501af66dd84ad8c (diff)
add double-click prevention to discount popup/form, RT#73799, and clarify labels
Diffstat (limited to 'httemplate/elements')
-rw-r--r--httemplate/elements/tr-select-pkg-discount.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/httemplate/elements/tr-select-pkg-discount.html b/httemplate/elements/tr-select-pkg-discount.html
index dc38cff3e..0c57fd89e 100644
--- a/httemplate/elements/tr-select-pkg-discount.html
+++ b/httemplate/elements/tr-select-pkg-discount.html
@@ -34,7 +34,7 @@ description if curr_value_setup is set. Likewise "disable_recur".
% if ( $curuser->access_right('Waive setup fee') ) {
% push @$pre_options, -2 => 'Waive setup fee';
% }
-<& tr-td-label.html, label => emt('Setup fee') &>
+<& tr-td-label.html, label => $opt{setup_label} || emt('Setup fee') &>
<td>
<& select-discount.html,
field => 'setup_discountnum',
@@ -97,7 +97,7 @@ description if curr_value_setup is set. Likewise "disable_recur".
% if ( $curuser->access_right('Discount customer package')
% and !$opt{disable_recur} ) {
-<& tr-td-label.html, label => emt('Recurring fee') &>
+<& tr-td-label.html, label => $opt{recur_label} || emt('Recurring fee') &>
<td>
<& select-discount.html,
field => 'recur_discountnum',