summaryrefslogtreecommitdiff
path: root/httemplate/edit/cust_main
diff options
context:
space:
mode:
authorjeff <jeff>2009-07-28 22:21:40 +0000
committerjeff <jeff>2009-07-28 22:21:40 +0000
commit50f5d60aef5ee82be33c978db6424372bfd7995b (patch)
tree2e78dbf937ae8c63c69500f76aaa2ec0da2268c9 /httemplate/edit/cust_main
parente1b1693a656964c6db0b8a3fb85494014434dcb1 (diff)
feature to email CSV of CDRs with invoices #5727
Diffstat (limited to 'httemplate/edit/cust_main')
-rw-r--r--httemplate/edit/cust_main/billing.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/httemplate/edit/cust_main/billing.html b/httemplate/edit/cust_main/billing.html
index 3f3d801..363dd04 100644
--- a/httemplate/edit/cust_main/billing.html
+++ b/httemplate/edit/cust_main/billing.html
@@ -438,6 +438,13 @@
<INPUT TYPE="hidden" NAME="squelch_cdr" VALUE="<% $cust_main->squelch_cdr %>">
% }
+% if ( $conf->exists('voip-cust_email_csv_cdr') ) {
+ <TR>
+ <TD COLSPAN="2"><INPUT TYPE="checkbox" NAME="email_csv_cdr" VALUE="Y" <% $cust_main->email_csv_cdr eq "Y" ? 'CHECKED' : '' %>> Attach CDRs as CSV to emailed invoices</TD>
+ </TR>
+% } else {
+ <INPUT TYPE="hidden" NAME="email_csv_cdr" VALUE="<% $cust_main->email_csv_cdr %>">
+% }
% if ( $show_term || $cust_main->cdr_termination_percentage ) {
<TR>