blob: c7a6cbb18a418f6e509aac7a79548085abb8e8f1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
<% $deposit_pdf %>\
<%init>
my %args = @_;
my $rows = $args{'rows'};
my $deposit_pdf = deposit_slip_pdf(
conf => FS::Conf->new,
cust_pay => $rows,
);
http_header('Content-Type' => 'application/pdf');
http_header('Content-Disposition' => "filename=deposit.pdf" );
http_header('Content-Length' => length($deposit_pdf) );
http_header('Cache-control' => 'max-age=60' );
</%init>
|