-<FORM name="billnow">
Billing information
%# If we can't see the unencrypted card, then bill now is an exercise in
%# frustration (without some sort of job queue magic to send it to a secure
(<% include('/elements/bill.html',
custnum => $cust_main->custnum,
label => 'Bill now',
- formname => 'billnow',
url => $p.'view/cust_main.cgi?'.$cust_main->custnum,
) %>)
% }
<TD BGCOLOR="#ffffff"><B><% $balance %></B></TD>
</TR>
+% if ( $conf->exists('cust_main-select-billday')
+% && ($cust_main->payby eq 'CARD' || $cust_main->payby eq 'CHEK') ) {
+<TR>
+ <TD ALIGN="right">Billing day of month</TD>
+ <TD BGCOLOR="#ffffff"><% $cust_main->billday %>
+ </TD>
+</TR>
+% }
+
<TR>
<TD ALIGN="right">Billing type</TD>
<TD BGCOLOR="#ffffff">
<TR>
<TD ALIGN="right">Attention</TD>
- <TD BGCOLOR="#ffffff"><% $cust_main->payname %></TD>
+ <TD BGCOLOR="#ffffff"><% $cust_main->payname |h %></TD>
</TR>
% } elsif ( $cust_main->payby eq 'COMP' ) {
<% $cust_main->invoice_terms || 'Default ('. ( $conf->config('invoice_default_terms') || 'Payable upon receipt' ). ')' %>
</TD>
</TR>
+<TR>
+ <TD ALIGN="right">Credit limit</TD>
+ <TD BGCOLOR="#ffffff">
+ <% length($cust_main->credit_limit) ?
+ $money_char.sprintf("%.2f", $cust_main->credit_limit) :
+ 'Unlimited' %>
+ </TD>
+</TR>
% if ( $conf->exists('voip-cust_cdr_spools') ) {
<TR>
</TR>
% }
+% if ( $conf->exists('voip-cust_accountcode_cdr') ) {
+ <TR>
+ <TD ALIGN="right">Breakdown CDRs by accountcode</TD>
+ <TD BGCOLOR="#ffffff"><% $cust_main->accountcode_cdr ? 'yes' : 'no' %></TD>
+ </TR>
+% }
+
% if ( $conf->exists('voip-cust_email_csv_cdr') ) {
<TR>
<TD ALIGN="right">Email CDRs as CSV</TD>