summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authorlevinse <levinse>2011-04-27 05:22:22 +0000
committerlevinse <levinse>2011-04-27 05:22:22 +0000
commit9d5ada5763fdeca4f90a7357ab7c384b52c1c41c (patch)
tree76c8d3a3bae3cb2b963a67b2f24d8c4ff2918ed2 /httemplate
parent69a17ed7c31d23670f715ad639ab16b12392dcc1 (diff)
taqua accountcode billing, part 1 of 2, RT12181
Diffstat (limited to 'httemplate')
-rw-r--r--httemplate/edit/cust_main/billing.html14
-rw-r--r--httemplate/view/cust_main/billing.html7
2 files changed, 21 insertions, 0 deletions
diff --git a/httemplate/edit/cust_main/billing.html b/httemplate/edit/cust_main/billing.html
index 2301a0b9c..884d77078 100644
--- a/httemplate/edit/cust_main/billing.html
+++ b/httemplate/edit/cust_main/billing.html
@@ -460,6 +460,20 @@
%>
</TD>
</TR>
+
+% if ( $conf->exists('voip-cust_accountcode_cdr') ) {
+ <TR>
+ <TD COLSPAN="2">
+ <INPUT TYPE="checkbox"
+ NAME="accountcode_cdr"
+ VALUE="Y"
+ <% $cust_main->accountcode_cdr eq "Y" ? 'CHECKED' : '' %>
+ > Breakdown CDRs by accountcode</TD>
+ </TR>
+% } else {
+ <INPUT TYPE="hidden" NAME="accountcode_cdr" VALUE="<% $cust_main->accountcode_cdr %>">
+% }
+
<TR>
<TD ALIGN="right" WIDTH="200">Credit limit </TD>
<TD WIDTH="408">
diff --git a/httemplate/view/cust_main/billing.html b/httemplate/view/cust_main/billing.html
index efff3ed1c..c770833ec 100644
--- a/httemplate/view/cust_main/billing.html
+++ b/httemplate/view/cust_main/billing.html
@@ -238,6 +238,13 @@ Billing information
</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&nbsp;CDRs&nbsp;as&nbsp;CSV</TD>