summaryrefslogtreecommitdiff
path: root/httemplate/edit/cust_pay.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/edit/cust_pay.cgi')
-rwxr-xr-xhttemplate/edit/cust_pay.cgi10
1 files changed, 6 insertions, 4 deletions
diff --git a/httemplate/edit/cust_pay.cgi b/httemplate/edit/cust_pay.cgi
index d4414e44e..ec7391b20 100755
--- a/httemplate/edit/cust_pay.cgi
+++ b/httemplate/edit/cust_pay.cgi
@@ -56,10 +56,12 @@
<TD><INPUT TYPE="text" NAME="paid" ID="paid" VALUE="<% $paid %>" SIZE=8 MAXLENGTH=9> <% mt('by') |h %> <B><% mt(FS::payby->payname($payby)) |h %></B></TD>
</TR>
- <& /elements/tr-select-discount_term.html,
- 'custnum' => $custnum,
- 'amount_id' => 'paid',
- &>
+% if ( $conf->exists('part_pkg-term_discounts') ) {
+ <& /elements/tr-select-discount_term.html,
+ 'custnum' => $custnum,
+ 'amount_id' => 'paid',
+ &>
+% }
% if ( $payby eq 'BILL' ) {
<TR>