mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
refactor for missing invitation
This commit is contained in:
parent
83692ed618
commit
a004a71218
@ -97,7 +97,7 @@ class TemplateEmail extends Mailable
|
|||||||
'footer' => $this->build_email->getFooter(),
|
'footer' => $this->build_email->getFooter(),
|
||||||
'whitelabel' => $this->client->user->account->isPaid() ? true : false,
|
'whitelabel' => $this->client->user->account->isPaid() ? true : false,
|
||||||
'settings' => $settings,
|
'settings' => $settings,
|
||||||
'unsubscribe_link' => $this->invitation->getUnsubscribeLink(),
|
'unsubscribe_link' => $this->invitation ? $this->invitation->getUnsubscribeLink() : '',
|
||||||
])
|
])
|
||||||
->view($template_name, [
|
->view($template_name, [
|
||||||
'greeting' => ctrans('texts.email_salutation', ['name' => $this->contact->present()->name()]),
|
'greeting' => ctrans('texts.email_salutation', ['name' => $this->contact->present()->name()]),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user