From 213d2aee192d0aa9ccf5d2caa6bdb09611686901 Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Fri, 5 Feb 2016 05:32:07 -0800 Subject: zip email CDRs, RT#40112 --- httemplate/edit/cust_main/billing.html | 4 ++-- httemplate/view/cust_main/billing.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'httemplate') diff --git a/httemplate/edit/cust_main/billing.html b/httemplate/edit/cust_main/billing.html index c4b66c8d5..519f2f8f2 100644 --- a/httemplate/edit/cust_main/billing.html +++ b/httemplate/edit/cust_main/billing.html @@ -597,9 +597,9 @@ function toggle(obj) { % } -% if ( $conf->config('voip-cdr_email_attach') ) { +% if ( my $attach = $conf->config('voip-cdr_email_attach') ) { - email_csv_cdr eq "Y" ? 'CHECKED' : '' %>> <% mt('Attach CDRs as CSV to emailed invoices') |h %> + email_csv_cdr eq "Y" ? 'CHECKED' : '' %>> <% mt('Attach CDRs as '. uc($attach). ' to emailed invoices') |h %> % } else { diff --git a/httemplate/view/cust_main/billing.html b/httemplate/view/cust_main/billing.html index 39f032499..3d0983e67 100644 --- a/httemplate/view/cust_main/billing.html +++ b/httemplate/view/cust_main/billing.html @@ -385,9 +385,9 @@ % } -% if ( $conf->config('voip-cdr_email_attach') ) { +% if ( my $attach = $conf->config('voip-cdr_email_attach') ) { - <% mt('Email CDRs as CSV') |h %> + <% mt('Email CDRs as '.uc($attach)) |h %> <% $cust_main->email_csv_cdr ? $yes : $no %> % } -- cgit v1.2.1