summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2016-02-02 12:45:17 -0800
committerIvan Kohler <ivan@freeside.biz>2016-02-02 12:45:17 -0800
commita16891c16e0ddd389b32963b638cdfeadf86c447 (patch)
tree784b010a924651839af99806b01dd5bd532ee97c /httemplate
parente4a02dc995c0db1994ff26504c28557d1cb617b4 (diff)
zip email CDRs, RT#40112
Diffstat (limited to 'httemplate')
-rw-r--r--httemplate/edit/cust_main/billing.html2
-rw-r--r--httemplate/view/cust_main/billing.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/httemplate/edit/cust_main/billing.html b/httemplate/edit/cust_main/billing.html
index fbe3e485c..fcb44a50a 100644
--- a/httemplate/edit/cust_main/billing.html
+++ b/httemplate/edit/cust_main/billing.html
@@ -234,7 +234,7 @@ function toggle(obj) {
<INPUT TYPE="hidden" NAME="squelch_cdr" VALUE="<% $cust_main->squelch_cdr %>">
% }
-% if ( $conf->exists('voip-cust_email_csv_cdr') ) {
+% if ( $conf->config('voip-cdr_email_attach') ) {
<TR>
<TD COLSPAN="2"><INPUT TYPE="checkbox" NAME="email_csv_cdr" VALUE="Y" <% $cust_main->email_csv_cdr eq "Y" ? 'CHECKED' : '' %>> <% mt('Attach CDRs as CSV to emailed invoices') |h %></TD>
</TR>
diff --git a/httemplate/view/cust_main/billing.html b/httemplate/view/cust_main/billing.html
index 97b4baffb..cca140bf8 100644
--- a/httemplate/view/cust_main/billing.html
+++ b/httemplate/view/cust_main/billing.html
@@ -242,7 +242,7 @@
</TR>
% }
-% if ( $conf->exists('voip-cust_email_csv_cdr') ) {
+% if ( $conf->config('voip-cdr_email_attach') ) {
<TR>
<TH ALIGN="right"><% mt('Email CDRs as CSV') |h %></TH>
<TD><% $cust_main->email_csv_cdr ? $yes : $no %></TD>