| @@ 18-33 (lines=16) @@ | ||
| 15 | use Illuminate\Mail\Mailable; |
|
| 16 | use Illuminate\Queue\SerializesModels; |
|
| 17 | ||
| 18 | class OrderReceived extends Mailable |
|
| 19 | { |
|
| 20 | use Queueable, SerializesModels; |
|
| 21 | ||
| 22 | public $order; |
|
| 23 | ||
| 24 | public function __construct(Order $order) |
|
| 25 | { |
|
| 26 | $this->order = $order; |
|
| 27 | } |
|
| 28 | ||
| 29 | public function build() |
|
| 30 | { |
|
| 31 | return $this->markdown('billme::emails.receivedorder'); |
|
| 32 | } |
|
| 33 | } |
|
| 34 | ||
| @@ 18-33 (lines=16) @@ | ||
| 15 | use Illuminate\Mail\Mailable; |
|
| 16 | use Illuminate\Queue\SerializesModels; |
|
| 17 | ||
| 18 | class NewOrder extends Mailable |
|
| 19 | { |
|
| 20 | use Queueable, SerializesModels; |
|
| 21 | ||
| 22 | public $order; |
|
| 23 | ||
| 24 | public function __construct(Order $order) |
|
| 25 | { |
|
| 26 | $this->order = $order; |
|
| 27 | } |
|
| 28 | ||
| 29 | public function build() |
|
| 30 | { |
|
| 31 | return $this->markdown('billme::emails.neworder'); |
|
| 32 | } |
|
| 33 | } |
|
| 34 | ||