2020-04-01 14:39:59 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Mail;
|
|
|
|
|
|
|
|
use Illuminate\Bus\Queueable;
|
|
|
|
use Illuminate\Mail\Mailable;
|
|
|
|
use Illuminate\Queue\SerializesModels;
|
|
|
|
|
|
|
|
class MigrationCompleted extends Mailable
|
|
|
|
{
|
|
|
|
use Queueable, SerializesModels;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Create a new message instance.
|
|
|
|
*
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
public function __construct()
|
|
|
|
{
|
|
|
|
//
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Build the message.
|
|
|
|
*
|
|
|
|
* @return $this
|
|
|
|
*/
|
|
|
|
public function build()
|
|
|
|
{
|
2020-10-02 00:28:29 +02:00
|
|
|
$data['settings'] = auth()->user()->company()->settings;
|
2020-12-02 04:08:35 +01:00
|
|
|
|
2020-12-03 12:00:34 +01:00
|
|
|
return $this->from(config('mail.from.address'), config('mail.from.name'))
|
2020-12-02 04:08:35 +01:00
|
|
|
->view('email.migration.completed', $data);
|
2020-04-01 14:39:59 +02:00
|
|
|
}
|
|
|
|
}
|