X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Felements%2Ftr-select-discount.html;h=ee862519f7705b7505c8b988c51d0e3723fe8b77;hp=e8be3938c777d84b3ac5d10823b1bc14f1bed906;hb=11bbf29de447fe39e9d7155fe280a0df70fa8c3c;hpb=e774555a6ae69da65e7774c701232fdf9dd052b1 diff --git a/httemplate/elements/tr-select-discount.html b/httemplate/elements/tr-select-discount.html index e8be3938c..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, @@ -74,6 +74,16 @@ ) %> +%# <% 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'}, +%# ) +%# %> +