X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Ftr-select-discount.html;h=30a60ec85cac948ed75c49d05ac076f2e6acd1cb;hb=ea3ce8d7f076e7fecff4be7ae63bc413adb0adf5;hp=258eeb3496d6d056dbc7b1d360c17b26eebad1c9;hpb=b5c4237a34aef94976bc343c8d9e138664fc3984;p=freeside.git diff --git a/httemplate/elements/tr-select-discount.html b/httemplate/elements/tr-select-discount.html index 258eeb349..30a60ec85 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,16 @@ ) %> + <% 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'}, + ) + %> +