summaryrefslogtreecommitdiff
path: root/httemplate/edit/cust_main
diff options
context:
space:
mode:
authorlevinse <levinse>2011-05-09 20:07:31 +0000
committerlevinse <levinse>2011-05-09 20:07:31 +0000
commit7e9e7b187565d8168500d48e775d0e94b5374d35 (patch)
tree3659e11afd4c2a4e6a40f9da29985774e0599e42 /httemplate/edit/cust_main
parent5ac0692bfeabd57bf930702f6d5f4b55da7be5a1 (diff)
fix UI bugs in accountcode billing implementation, RT12181
Diffstat (limited to 'httemplate/edit/cust_main')
-rw-r--r--httemplate/edit/cust_main/billing.html26
1 files changed, 13 insertions, 13 deletions
diff --git a/httemplate/edit/cust_main/billing.html b/httemplate/edit/cust_main/billing.html
index 884d770..532bfc7 100644
--- a/httemplate/edit/cust_main/billing.html
+++ b/httemplate/edit/cust_main/billing.html
@@ -461,19 +461,6 @@
</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">
@@ -511,6 +498,19 @@ function toggle(obj) {
<INPUT TYPE="hidden" NAME="email_csv_cdr" VALUE="<% $cust_main->email_csv_cdr %>">
% }
+% 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 %>">
+% }
+
% if ( $show_term || $cust_main->cdr_termination_percentage ) {
<TR>
<TD ALIGN="right">CDR termination settlement</TD>