X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_bill-pdf.cgi;h=323e502b423a159cb314446941901936deac9c33;hb=4cdb4d97098422b1e55f59b144ea9950b1a99ffd;hp=51e47e00d22568a054fa46d25a211493b098762c;hpb=248bdb67a29a2c7098b4004f8d3dd8c49495dca5;p=freeside.git diff --git a/httemplate/view/cust_bill-pdf.cgi b/httemplate/view/cust_bill-pdf.cgi index 51e47e00d..323e502b4 100755 --- 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' ); } +my $conf = new FS::Conf; + 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({