summaryrefslogtreecommitdiff
path: root/httemplate/view/cust_bill-pdf.cgi
diff options
context:
space:
mode:
authorjeff <jeff>2010-08-02 19:49:26 +0000
committerjeff <jeff>2010-08-02 19:49:26 +0000
commit0a3b346806615bd893048d2a5c26f8d126a12f4b (patch)
tree6912cbc88774bfa513e95a58e05e7ce76fbc04c1 /httemplate/view/cust_bill-pdf.cgi
parent995a145c931164347683071c95c6754379d36604 (diff)
add svc_elec_features merged from reference code RT#7643svc_elec_features
Diffstat (limited to 'httemplate/view/cust_bill-pdf.cgi')
-rwxr-xr-xhttemplate/view/cust_bill-pdf.cgi6
1 files changed, 6 insertions, 0 deletions
diff --git a/httemplate/view/cust_bill-pdf.cgi b/httemplate/view/cust_bill-pdf.cgi
index 51e47e00d..c1639fd48 100755
--- a/httemplate/view/cust_bill-pdf.cgi
+++ b/httemplate/view/cust_bill-pdf.cgi
@@ -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' );