Quote mailer

This commit is contained in:
David Bomba 2023-03-14 06:59:11 +11:00
parent 04b5f9f638
commit 4d9065624b

View File

@ -13,8 +13,7 @@ namespace App\Services\Quote;
use App\Jobs\Entity\EmailEntity; use App\Jobs\Entity\EmailEntity;
use App\Models\ClientContact; use App\Models\ClientContact;
use App\Services\Email\MailEntity;
use App\Services\Email\MailObject;
class SendEmail class SendEmail
{ {
@ -46,7 +45,7 @@ class SendEmail
$this->reminder_template = $this->quote->calculateTemplate('quote'); $this->reminder_template = $this->quote->calculateTemplate('quote');
} }
$mo = new MailObject(); // $mo = new MailObject();
$this->quote->service()->markSent()->save(); $this->quote->service()->markSent()->save();