fixed #135
This commit is contained in:
parent
e52a0a98f3
commit
ee34dec24b
@ -69,7 +69,9 @@ class InvoiceReminder extends Command
|
|||||||
|
|
||||||
foreach ($invoices as $invoice) {
|
foreach ($invoices as $invoice) {
|
||||||
// Notify the customer
|
// Notify the customer
|
||||||
$invoice->customer->notify(new Notification($invoice));
|
if ($invoice->customer) {
|
||||||
|
$invoice->customer->notify(new Notification($invoice));
|
||||||
|
}
|
||||||
|
|
||||||
// Notify all users assigned to this company
|
// Notify all users assigned to this company
|
||||||
foreach ($company->users as $user) {
|
foreach ($company->users as $user) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user