From 68340905b94be618b4cdcf4054fbfa9aed218ace Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Mon, 2 Jan 2017 20:52:03 +0200 Subject: [PATCH] Local Pdf generation --- resources/views/accounts/email_settings.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/accounts/email_settings.blade.php b/resources/views/accounts/email_settings.blade.php index a6d8858195b9..c7dfeebf898f 100644 --- a/resources/views/accounts/email_settings.blade.php +++ b/resources/views/accounts/email_settings.blade.php @@ -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) !!}