diff options
Diffstat (limited to 'httemplate/misc/payment.cgi')
-rw-r--r-- | httemplate/misc/payment.cgi | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/httemplate/misc/payment.cgi b/httemplate/misc/payment.cgi index 5b9f63dc0..90b03c7e8 100644 --- a/httemplate/misc/payment.cgi +++ b/httemplate/misc/payment.cgi @@ -20,10 +20,12 @@ 'surcharge_percentage' => scalar($conf->config('credit-card-surcharge-percentage')), &> - <& /elements/tr-select-discount_term.html, - 'custnum' => $custnum, - 'amount_id' => 'amount', - &> +% if ( $conf->exists('part_pkg-term_discounts') ) { + <& /elements/tr-select-discount_term.html, + 'custnum' => $custnum, + 'amount_id' => 'amount', + &> +% } % if ( $payby eq 'CARD' ) { % |