renamed income/expense

This commit is contained in:
denisdulici
2019-12-31 15:49:09 +03:00
parent e2189158b9
commit 2428feb73b
235 changed files with 815 additions and 2147 deletions

View File

@ -201,7 +201,7 @@ class Users extends Controller
// Mark bill notifications as read
foreach ($user->unreadNotifications as $notification) {
// Not a bill notification
if ($notification->getAttribute('type') != 'App\Notifications\Expense\Bill') {
if ($notification->getAttribute('type') != 'App\Notifications\Purchase\Bill') {
continue;
}
@ -223,7 +223,7 @@ class Users extends Controller
// Mark invoice notifications as read
foreach ($user->unreadNotifications as $notification) {
// Not an invoice notification
if ($notification->getAttribute('type') != 'App\Notifications\Income\Invoice') {
if ($notification->getAttribute('type') != 'App\Notifications\Sale\Invoice') {
continue;
}