X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Felements%2Ftr-select-discount.html;h=ee862519f7705b7505c8b988c51d0e3723fe8b77;hp=258eeb3496d6d056dbc7b1d360c17b26eebad1c9;hb=f822e27a1e00594332ffa487a1c284234c5580a6;hpb=0fb307c305e4bc2c9c27dc25a3308beae3a4d33c diff --git a/httemplate/elements/tr-select-discount.html b/httemplate/elements/tr-select-discount.html index 258eeb349..ee862519f 100644 --- a/httemplate/elements/tr-select-discount.html +++ b/httemplate/elements/tr-select-discount.html @@ -6,7 +6,7 @@ % } else { - <% $opt{'label'} || 'Discount' %> + <% $opt{'label'} || ''.emt('Discount').'' %> > <% include( '/elements/select-discount.html', 'curr_value' => $discountnum, @@ -64,6 +64,26 @@ ) %> + <% include( '/elements/tr-checkbox.html', + 'label' => 'Apply discount to setup fee', + 'field' => $name.'_setup', + 'id' => $name.'_setup', + 'curr_value' => scalar($cgi->param($name.'_setup')), + 'value' => 'Y', + 'colspan' => $opt{'colspan'}, + ) + %> + +%# <% include( '/elements/tr-checkbox.html', +%# 'label' => 'Apply discount to add-on packages', +%# 'field' => $name.'_linked', +%# 'id' => $name.'_linked', +%# 'curr_value' => scalar($cgi->param($name.'_linked')), +%# 'value' => 'Y', +%# 'colspan' => $opt{'colspan'}, +%# ) +%# %> +