1 | <?php |
||
2 | |||
3 | namespace App\Mail; |
||
4 | |||
5 | use Illuminate\Bus\Queueable; |
||
6 | use Illuminate\Mail\Mailable; |
||
7 | use Illuminate\Queue\SerializesModels; |
||
8 | |||
9 | class ExternalCourseReport extends Mailable |
||
10 | { |
||
11 | use Queueable, SerializesModels; |
||
0 ignored issues
–
show
introduced
by
![]() |
|||
12 | |||
13 | public function __construct(public $period_start, public $period_end, public $data) |
||
14 | { |
||
15 | } |
||
16 | |||
17 | public function build() |
||
18 | { |
||
19 | return $this->subject('Facturation '.$this->data['partner_name'])->view('emails.external_courses_report'); |
||
20 | } |
||
21 | } |
||
22 |