projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix CDRs showing on typeset (but not printed) invoices w/squelch_cdr, RT#13561
[freeside.git]
/
httemplate
/
view
/
cust_bill-pdf.cgi
diff --git
a/httemplate/view/cust_bill-pdf.cgi
b/httemplate/view/cust_bill-pdf.cgi
index
51e47e0
..
323e502
100755
(executable)
--- a/
httemplate/view/cust_bill-pdf.cgi
+++ b/
httemplate/view/cust_bill-pdf.cgi
@@
-17,9
+17,12
@@
if ( $query =~ /^((.+)-)?(\d+)(.pdf)?$/ ) {
$notice_name = ( $cgi->param('notice_name') || 'Invoice' );
}
$notice_name = ( $cgi->param('notice_name') || 'Invoice' );
}
+my $conf = new FS::Conf;
+
my %opt = (
my %opt = (
- 'template' => $template,
- 'notice_name' => $notice_name,
+ 'unsquelch_cdr' => $conf->exists('voip-cdr_email'),
+ 'template' => $template,
+ 'notice_name' => $notice_name,
);
my $cust_bill = qsearchs({
);
my $cust_bill = qsearchs({