01 2020
This commit is contained in:
parent
f117f79bb9
commit
3711fcc8d0
101 changed files with 4027 additions and 918 deletions
|
|
@ -12,6 +12,7 @@ class MailActivateUser extends Mailable
|
|||
use Queueable, SerializesModels;
|
||||
|
||||
protected $token;
|
||||
protected $user;
|
||||
public $subject;
|
||||
|
||||
public function __construct($token, User $user)
|
||||
|
|
@ -25,7 +26,7 @@ class MailActivateUser extends Mailable
|
|||
$salutation = __('email.salutation').",";
|
||||
|
||||
if($this->user->account){
|
||||
if($this->user->account->salutation == "mr"){
|
||||
if($this->user->account->salutation === "mr"){
|
||||
$salutation = __('email.dear_sir')." ".$this->user->account->first_name.",";
|
||||
}else{
|
||||
$salutation = __('email.dear_mrs')." ".$this->user->account->first_name.",";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue