closed:#628 Item reminder is not reminding with notifications
This commit is contained in:
@ -24,6 +24,7 @@ class Header
|
||||
$bills = [];
|
||||
$invoices = [];
|
||||
$items = [];
|
||||
$items_reminder = [];
|
||||
$notifications = 0;
|
||||
$company = null;
|
||||
|
||||
@ -55,6 +56,10 @@ class Header
|
||||
$items[$data['item_id']] = $data['name'];
|
||||
$notifications++;
|
||||
break;
|
||||
case 'App\Notifications\Common\ItemReminder':
|
||||
$items_reminder[$data['item_id']] = $data['name'];
|
||||
$notifications++;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@ -68,6 +73,7 @@ class Header
|
||||
'bills' => $bills,
|
||||
'invoices' => $invoices,
|
||||
'items' => $items,
|
||||
'items_reminder' => $items_reminder,
|
||||
'company' => $company,
|
||||
'updates' => $updates,
|
||||
]);
|
||||
|
Reference in New Issue
Block a user