| 12345678910111213141516171819202122232425262728293031323334353637383940 |
- <?php
-
- namespace App\Mail;
-
- use Illuminate\Bus\Queueable;
- use Illuminate\Mail\Mailable;
- use Illuminate\Queue\SerializesModels;
- use Illuminate\Contracts\Queue\ShouldQueue;
-
- use App\Model\Form;
- use App\Model\Subscriber;
- use App\Model\Product;
-
- class CustomerInvoice extends Mailable
- {
- use Queueable, SerializesModels;
- public $form,$product;
-
- /**
- * Create a new message instance.
- *
- * @return void
- */
- public function __construct(Form $form,Product $product)
- {
- //
- $this->form = $form;
- $this->product = $product;
- }
-
- /**
- * Build the message.
- *
- * @return $this
- */
- public function build()
- {
- return $this->from('no-reply@citybroadband.my','no-reply@citybroadband.my')->subject('Verify your City Broadband (CBB) Subscription')->view('email.invoice');
- }
- }
|