[freeside-commits] freeside/httemplate/view cust_bill.cgi, 1.44, 1.45

Ivan,,, ivan at wavetail.420.am
Thu Oct 21 23:29:11 PDT 2010


Update of /home/cvs/cvsroot/freeside/httemplate/view
In directory wavetail.420.am:/tmp/cvs-serv5391

Modified Files:
	cust_bill.cgi 
Log Message:
respect voip-cdr_email config when viewing invoices in the backend, RT#10280

Index: cust_bill.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/cust_bill.cgi,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -w -d -r1.44 -r1.45
--- cust_bill.cgi	7 Oct 2009 23:44:26 -0000	1.44
+++ cust_bill.cgi	22 Oct 2010 06:29:09 -0000	1.45
@@ -117,13 +117,14 @@
   $notice_name = $cgi->param('notice_name');
 }
 
+my $conf = new FS::Conf;
+
 my %opt = (
+  'unsquelch_cdr' => $conf->exists('voip-cdr_email'),
   'template'    => $template,
   'notice_name' => $notice_name,
 );
 
-my $conf = new FS::Conf;
-
 my @payby =  grep /\w/, $conf->config('payby');
 #@payby = (qw( CARD DCRD CHEK DCHK LECB BILL CASH WEST COMP ))
 @payby = (qw( CARD DCRD CHEK DCHK LECB BILL CASH COMP ))



More information about the freeside-commits mailing list