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:
parent
d325822180
commit
78474bc5cd
@ -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();
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user