|
@@ -42,6 +42,7 @@ $directory = $test->getDirectory();
|
|
|
$pdf_filepath = $directory . "/tester_invoice.pdf";
|
|
$pdf_filepath = $directory . "/tester_invoice.pdf";
|
|
|
if($test->hasTesterInvoicePDF()) {
|
|
if($test->hasTesterInvoicePDF()) {
|
|
|
http::setDownloadHeaders($download_filename);
|
|
http::setDownloadHeaders($download_filename);
|
|
|
|
|
+ header("Content-Type: application/pdf");
|
|
|
readfile($pdf_filepath);
|
|
readfile($pdf_filepath);
|
|
|
exit;
|
|
exit;
|
|
|
}
|
|
}
|