Fixes for send_email triggered action not generating PDFs in time.
This commit is contained in:
parent
89ce2b443e
commit
3417b1ff0f
3 changed files with 3 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue