closed:#628 Item reminder is not reminding with notifications

This commit is contained in:
Batuhan Baş
2018-11-16 16:34:23 +03:00
parent f5495474c6
commit c81f156c89
3 changed files with 14 additions and 0 deletions

View File

@ -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,
]);