Add additional company tags in notifications
This commit is contained in:
@ -70,6 +70,10 @@ class Bill extends Notification
|
||||
'{bill_admin_link}',
|
||||
'{vendor_name}',
|
||||
'{company_name}',
|
||||
'{company_email}',
|
||||
'{company_tax_number}',
|
||||
'{company_phone}',
|
||||
'{company_address}',
|
||||
];
|
||||
}
|
||||
|
||||
@ -81,7 +85,11 @@ class Bill extends Notification
|
||||
company_date($this->bill->due_at),
|
||||
route('bills.show', $this->bill->id),
|
||||
$this->bill->contact_name,
|
||||
$this->bill->company->name
|
||||
$this->bill->company->name,
|
||||
$this->bill->company->email,
|
||||
$this->bill->company->tax_number,
|
||||
$this->bill->company->phone,
|
||||
nl2br(trim($this->bill->company->address)),
|
||||
];
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user