InvoiceGeneratingMail
extends AbstractClientMail
in package
InvoiceGeneratingMail
This mailable handle the invoice generating notification for the user
Tags
Table of Contents
- $companyName : string
- $email : string
- $firstName : string
- $lastName : string
- $customer : CustomerResource|stdClass|Customer
- $invoiceDate : Carbon
- __construct() : mixed
- InvoiceGeneratingMail
- content() : Content
Properties
$companyName
protected
string
$companyName
of the user
protected
string
$email
email of the user
$firstName
protected
string
$firstName
firstname of the user
$lastName
protected
string
$lastName
of the user
$customer read-only
private
CustomerResource|stdClass|Customer
$customer
$invoiceDate read-only
private
Carbon
$invoiceDate
= new Carbon('first day of next month 00:00')
Methods
__construct()
InvoiceGeneratingMail
public
__construct(CustomerResource|stdClass $customer[, Carbon $invoiceDate = new Carbon('first day of next month 00:00') ]) : mixed
Parameters
- $customer : CustomerResource|stdClass
-
the customer
- $invoiceDate : Carbon = new Carbon('first day of next month 00:00')
-
the date when the invoice is being generated
Tags
Return values
mixed —content()
public
content() : Content
Return values
Content —the rendered content of the email