X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fcust_pay.cgi;h=ec7391b20ec0ca3b5a80593281b5574779bb55f8;hb=028c83edfa000f6bdbcd32ee3ffd5ee5561110d2;hp=d4414e44e754f98d33275a3f2c5f433bea26cc2a;hpb=a6fe07e49e3fc12169e801b1ed6874c3a5bd8500;p=freeside.git 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' ) {