mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fix for email queues
This commit is contained in:
parent
f2c65155b9
commit
3bba7f035e
@ -1305,6 +1305,9 @@
|
|||||||
// if the client's language is different then we can't use the browser version of the PDF
|
// if the client's language is different then we can't use the browser version of the PDF
|
||||||
} else if (clientLanguageId && clientLanguageId != accountLanguageId) {
|
} else if (clientLanguageId && clientLanguageId != accountLanguageId) {
|
||||||
submitAction('email');
|
submitAction('email');
|
||||||
|
// if queues are enabled we need to use PhantomJS
|
||||||
|
} else if ({{ config('queue.default') != 'sync' ? 'true' : 'false' }}) {
|
||||||
|
submitAction('email');
|
||||||
} else {
|
} else {
|
||||||
preparePdfData('email');
|
preparePdfData('email');
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user