1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00

Fixes for HTML preview

This commit is contained in:
David Bomba 2022-03-17 07:57:06 +11:00
parent d325822180
commit 78474bc5cd

View File

@ -147,7 +147,7 @@ class PreviewController extends BaseController
->build();
if (request()->query('html') == 'true') {
return $maker->getCompiledHTML;
return $maker->getCompiledHTML();
}
//if phantom js...... inject here..
@ -266,7 +266,7 @@ class PreviewController extends BaseController
DB::connection(config('database.default'))->rollBack();
if (request()->query('html') == 'true') {
return $maker->getCompiledHTML;
return $maker->getCompiledHTML();
}