Local Pdf generation

This commit is contained in:
Hillel Coren 2017-01-02 20:52:03 +02:00
parent d0cb07eb2d
commit 68340905b9

View File

@ -30,7 +30,7 @@
{!! Former::checkbox('pdf_email_attachment')
->text(trans('texts.enable'))
->help( Utils::isNinja() ? trans('texts.phantomjs_help', [
->help( Utils::isNinja() && ! env('PHANTOMJS_BIN_PATH') ? trans('texts.phantomjs_help', [
'link_phantom' => link_to('https://phantomjscloud.com/', 'phantomjscloud.com', ['target' => '_blank']),
'link_docs' => link_to('https://www.invoiceninja.com/self-host/#phantomjs', 'PhantomJS', ['target' => '_blank'])
]) : false) !!}