mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-12 14:12:44 +01:00
Fixes for send_email triggered action not generating PDFs in time.
This commit is contained in:
parent
89ce2b443e
commit
3417b1ff0f
@ -38,6 +38,7 @@ class TriggeredActions extends AbstractService
|
||||
{
|
||||
|
||||
if ($this->request->has('send_email') && $this->request->input('send_email') == 'true') {
|
||||
$this->credit = $this->credit->service()->markSent()->save();
|
||||
$this->sendEmail();
|
||||
}
|
||||
|
||||
|
@ -49,7 +49,7 @@ class TriggeredActions extends AbstractService
|
||||
}
|
||||
|
||||
if ($this->request->has('send_email') && $this->request->input('send_email') == 'true') {
|
||||
$this->invoice->service()->touchPdf()->save();
|
||||
$this->invoice->service()->markSent()->touchPdf()->save();
|
||||
$this->sendEmail();
|
||||
}
|
||||
|
||||
|
@ -38,6 +38,7 @@ class TriggeredActions extends AbstractService
|
||||
{
|
||||
|
||||
if ($this->request->has('send_email') && $this->request->input('send_email') == 'true') {
|
||||
$this->quote = $this->quote->service()->markSent()->save();
|
||||
$this->sendEmail();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user