Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function build()
- {
- return $this
- ->subject('Order Confirmation')
- ->to(config('mail.to'), [
- [
- 'name' => $this->order->user->name . ' ' . $this->order->user->lastname,
- 'email' => $this->order->user->email,
- ],
- ])
- ->with([
- 'billingAddress' => json_decode($this->order->billing_address, true),
- 'shippingAddress' => json_decode($this->order->shipping_address, true),
- ])
- ->markdown('\mails\shop\order_confirmation');
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement