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