projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
taqua accountcode billing, part 1 of 2, RT12181
[freeside.git]
/
httemplate
/
view
/
cust_main
/
billing.html
diff --git
a/httemplate/view/cust_main/billing.html
b/httemplate/view/cust_main/billing.html
index
f1d00a1
..
c770833
100644
(file)
--- a/
httemplate/view/cust_main/billing.html
+++ b/
httemplate/view/cust_main/billing.html
@@
-9,7
+9,6
@@
Billing information
(<% include('/elements/bill.html',
custnum => $cust_main->custnum,
label => 'Bill now',
(<% include('/elements/bill.html',
custnum => $cust_main->custnum,
label => 'Bill now',
- formname => 'billnow',
url => $p.'view/cust_main.cgi?'.$cust_main->custnum,
) %>)
% }
url => $p.'view/cust_main.cgi?'.$cust_main->custnum,
) %>)
% }
@@
-24,6
+23,15
@@
Billing information
<TD BGCOLOR="#ffffff"><B><% $balance %></B></TD>
</TR>
<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">Billing type</TD>
<TD BGCOLOR="#ffffff">
@@
-133,7
+141,7
@@
Billing information
<TR>
<TD ALIGN="right">Attention</TD>
<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' ) {
</TR>
% } elsif ( $cust_main->payby eq 'COMP' ) {
@@
-207,6
+215,14
@@
Billing information
<% $cust_main->invoice_terms || 'Default ('. ( $conf->config('invoice_default_terms') || 'Payable upon receipt' ). ')' %>
</TD>
</TR>
<% $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>
% if ( $conf->exists('voip-cust_cdr_spools') ) {
<TR>
@@
-222,6
+238,13
@@
Billing information
</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>
% if ( $conf->exists('voip-cust_email_csv_cdr') ) {
<TR>
<TD ALIGN="right">Email CDRs as CSV</TD>