ldc-portsalaries/app/Mail/EmployeeInfoBank.php

23 lines
535 B
PHP
Raw Normal View History

2021-05-08 06:50:19 +02:00
<?php
namespace App\Mail;
class EmployeeInfoBank extends EmployeeInfo
{
/**
* Build the message.
*
* @return $this
*/
public function build()
{
$this->joinFileIfProvided();
return $this
2021-06-24 13:28:11 +02:00
->subject(sprintf('%s : Un salarié a mis à jour ses informations', config('app.name')))
2021-05-08 06:50:19 +02:00
->view('emails.employee-bank')
->text('emails.employee-bank-plain')
->with('employee', $this->data['employee'])
->with('data', $this->data);
}
}