mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-08 05:54:29 -04:00
Add tags to mailables
This commit is contained in:
parent
4de240c3ab
commit
b38b0e4517
@ -119,7 +119,8 @@ class TemplateEmail extends Mailable
|
|||||||
->withSymfonyMessage(function ($message) use ($company) {
|
->withSymfonyMessage(function ($message) use ($company) {
|
||||||
$message->getHeaders()->addTextHeader('Tag', $company->company_key);
|
$message->getHeaders()->addTextHeader('Tag', $company->company_key);
|
||||||
$message->invitation = $this->invitation;
|
$message->invitation = $this->invitation;
|
||||||
});
|
})
|
||||||
|
->tag($company->company_key);
|
||||||
|
|
||||||
/*In the hosted platform we need to slow things down a little for Storage to catch up.*/
|
/*In the hosted platform we need to slow things down a little for Storage to catch up.*/
|
||||||
|
|
||||||
|
@ -113,7 +113,8 @@ class VendorTemplateEmail extends Mailable
|
|||||||
->withSymfonyMessage(function ($message) {
|
->withSymfonyMessage(function ($message) {
|
||||||
$message->getHeaders()->addTextHeader('Tag', $this->company->company_key);
|
$message->getHeaders()->addTextHeader('Tag', $this->company->company_key);
|
||||||
$message->invitation = $this->invitation;
|
$message->invitation = $this->invitation;
|
||||||
});
|
})
|
||||||
|
->tag($this->company->company_key);
|
||||||
|
|
||||||
/*In the hosted platform we need to slow things down a little for Storage to catch up.*/
|
/*In the hosted platform we need to slow things down a little for Storage to catch up.*/
|
||||||
// if (Ninja::isHosted()) {
|
// if (Ninja::isHosted()) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user