X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fcust_pay.cgi;h=ec7391b20ec0ca3b5a80593281b5574779bb55f8;hb=028c83edfa000f6bdbcd32ee3ffd5ee5561110d2;hp=f0826f65215c963bc8fa8028ca42f719924867e0;hpb=b3f48204012dd722912dcb3703908bd1eaf6df7b;p=freeside.git diff --git a/httemplate/edit/cust_pay.cgi b/httemplate/edit/cust_pay.cgi index f0826f652..ec7391b20 100755 --- a/httemplate/edit/cust_pay.cgi +++ b/httemplate/edit/cust_pay.cgi @@ -23,7 +23,7 @@ <% mt('Payment') |h %> <% ntable("#cccccc", 2) %> -% if ( $FS::CurrentUser::CurrentUser->access_right(['Backdate payment']) ) { +% if ( $FS::CurrentUser::CurrentUser->access_right('Backdate payment') ) { <% mt('Date') |h %> @@ -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' ) {