mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Local Pdf generation
This commit is contained in:
parent
68340905b9
commit
318dfd83e1
@ -2296,6 +2296,7 @@ $LANG = array(
|
||||
'exclusive' => 'Exclusive',
|
||||
'postal_city_state' => 'Postal/City/State',
|
||||
'phantomjs_help' => 'In certain cases the app uses :link_phantom to generate the PDF, install :link_docs to generate it locally.',
|
||||
'phantomjs_local' => 'Using local PhantomJS',
|
||||
|
||||
);
|
||||
|
||||
|
@ -30,10 +30,10 @@
|
||||
|
||||
{!! Former::checkbox('pdf_email_attachment')
|
||||
->text(trans('texts.enable'))
|
||||
->help( Utils::isNinja() && ! env('PHANTOMJS_BIN_PATH') ? trans('texts.phantomjs_help', [
|
||||
->help( ! Utils::isNinja() ? (env('PHANTOMJS_BIN_PATH') ? 'phantomjs_local' : 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) !!}
|
||||
])) : false) !!}
|
||||
|
||||
{!! Former::checkbox('document_email_attachment')
|
||||
->text(trans('texts.enable')) !!}
|
||||
|
Loading…
x
Reference in New Issue
Block a user