mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-05 03:34:36 -04:00
Fixes for preview
This commit is contained in:
parent
d7009f5072
commit
019427602c
@ -301,6 +301,8 @@ class PreviewController extends BaseController
|
|||||||
->batch();
|
->batch();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
DB::connection()->getDoctrineConnection()->close();
|
||||||
|
DB::disconnect();
|
||||||
|
|
||||||
$response = Response::make($file_path, 200);
|
$response = Response::make($file_path, 200);
|
||||||
$response->header('Content-Type', 'application/pdf');
|
$response->header('Content-Type', 'application/pdf');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user