mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Add email preferences link to EmailMailable class
This commit is contained in:
parent
c1993f2142
commit
27dd844f79
@ -77,6 +77,9 @@ class EmailMailable extends Mailable
|
||||
'company' => $this->email_object->company,
|
||||
'greeting' => '',
|
||||
'links' => array_merge($this->email_object->links, $links->toArray()),
|
||||
'email_preferences' => $this->email_object->invitation
|
||||
? URL::signedRoute('client.email_preferences', ['entity' => $this->email_object->invitation->getEntityString(), 'invitation_key' => $this->email_object->invitation->key])
|
||||
: false,
|
||||
]
|
||||
);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user