X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Fbilling.html;h=dd195236a7b642511f4f3adce8b66ce3186be697;hb=0a51b87d75f8c93de863f729ef1ca568ca227e32;hp=c8d0c47cd0600e33ab4410b2873844911e332e20;hpb=63a268637b2d51a8766412617724b9436439deb6;p=freeside.git diff --git a/httemplate/view/cust_main/billing.html b/httemplate/view/cust_main/billing.html index c8d0c47cd..dd195236a 100644 --- a/httemplate/view/cust_main/billing.html +++ b/httemplate/view/cust_main/billing.html @@ -5,7 +5,12 @@ Billing information %if ( $FS::CurrentUser::CurrentUser->access_right('Bill customer now') % && ! $cust_main->is_encrypted($cust_main->payinfo) % ) { - (Bill now) +%# (Bill now) + (<% include('/elements/bill.html', + custnum => $cust_main->custnum, + label => 'Bill now', + url => $p.'view/cust_main.cgi?'.$cust_main->custnum, + ) %>) % } <% ntable("#cccccc") %><% ntable("#cccccc",2) %> @@ -201,6 +206,14 @@ Billing information <% $cust_main->invoice_terms || 'Default ('. ( $conf->config('invoice_default_terms') || 'Payable upon receipt' ). ')' %> + + Credit limit + + <% length($cust_main->credit_limit) ? + $money_char.sprintf("%.2f", $cust_main->credit_limit) : + 'Unlimited' %> + + % if ( $conf->exists('voip-cust_cdr_spools') ) {