summaryrefslogtreecommitdiff
path: root/httemplate/edit/cust_main
diff options
context:
space:
mode:
authorivan <ivan>2011-07-14 17:21:08 +0000
committerivan <ivan>2011-07-14 17:21:08 +0000
commitf13d4c6396201bdf26a4086c708523a0db313acc (patch)
tree860d9b5c89627d6f9f4217a51c0b47b88fff1d12 /httemplate/edit/cust_main
parentd9818900e0c2ec7da76200d05601cd534977151e (diff)
fix labels for cdr_squelch depending on conf setting of voip-cdr_email, RT#13561
Diffstat (limited to 'httemplate/edit/cust_main')
-rw-r--r--httemplate/edit/cust_main/billing.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/edit/cust_main/billing.html b/httemplate/edit/cust_main/billing.html
index 3ac063509..3266c16af 100644
--- a/httemplate/edit/cust_main/billing.html
+++ b/httemplate/edit/cust_main/billing.html
@@ -509,7 +509,7 @@ function toggle(obj) {
% if ( $conf->exists('voip-cust_cdr_squelch') ) {
<TR>
- <TD COLSPAN="2"><INPUT TYPE="checkbox" NAME="squelch_cdr" VALUE="Y" <% $cust_main->squelch_cdr eq "Y" ? 'CHECKED' : '' %>> <% mt('Omit CDRs from printed invoices') |h %></TD>
+ <TD COLSPAN="2"><INPUT TYPE="checkbox" NAME="squelch_cdr" VALUE="Y" <% $cust_main->squelch_cdr eq "Y" ? 'CHECKED' : '' %>> <% mt($conf->exists('voip-cdr_email') ? 'Omit CDRs from printed invoices' : 'Omit CDRs from invoices') |h %></TD>
</TR>
% } else {
<INPUT TYPE="hidden" NAME="squelch_cdr" VALUE="<% $cust_main->squelch_cdr %>">