<?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 CustomerBInvoice 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.invoiceb');
    }
}
