From 028c83edfa000f6bdbcd32ee3ffd5ee5561110d2 Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Tue, 6 May 2014 18:53:46 -0700 Subject: config to turn on term discounts feature, fixing perf problems entering payments / manually processing cards, RT#27038 --- httemplate/edit/cust_pay.cgi | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'httemplate/edit') 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 @@ <% mt('by') |h %> <% mt(FS::payby->payname($payby)) |h %> - <& /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' ) { -- cgit v1.2.1