add svc_elec_features merged from reference code RT#7643
[freeside.git] / httemplate / view / cust_bill-pdf.cgi
index 51e47e0..c1639fd 100755 (executable)
@@ -31,6 +31,12 @@ my $cust_bill = qsearchs({
 });
 die "Invoice #$invnum not found!" unless $cust_bill;
 
+if ( $notice_name eq 'Record' ) {
+  $opt{base}='rec';
+} elsif ( $notice_name eq 'Record Ignoring DUE DATE' ) {
+  $opt{base}='rec';
+  $opt{ignore_due_date}=1;
+}
 my $pdf = $cust_bill->print_pdf(\%opt);
 
 http_header('Content-Type' => 'application/pdf' );