fix top subtotals on refund reports
[freeside.git] / httemplate / search / elements / search-deposit_slip.html
1 <% $deposit_pdf %>\
2 <%init>
3
4 my %args = @_;
5 my $rows = $args{'rows'};
6
7 my $deposit_pdf = deposit_slip_pdf(
8   conf     =>  FS::Conf->new,
9   cust_pay => $rows,
10 );
11
12 http_header('Content-Type'        => 'application/pdf');
13 http_header('Content-Disposition' => "filename=deposit.pdf" );
14 http_header('Content-Length'      => length($deposit_pdf) );
15 http_header('Cache-control'       => 'max-age=60' );
16
17 </%init>