
committed by
Manish Verma

parent
090be28e50
commit
30128cabdf
@@ -111,7 +111,6 @@ class NotificationController extends Controller
|
|||||||
public function show()
|
public function show()
|
||||||
{
|
{
|
||||||
$notifications = $this->getNotifications();
|
$notifications = $this->getNotifications();
|
||||||
//dd($notifications);
|
|
||||||
return view('notifications-all', compact('notifications'));
|
return view('notifications-all', compact('notifications'));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -115,7 +115,7 @@ class="active"
|
|||||||
<!-- /.box-header -->
|
<!-- /.box-header -->
|
||||||
<div class="box-body">
|
<div class="box-body">
|
||||||
<ul class="todo-list">
|
<ul class="todo-list">
|
||||||
@if(count($notifications))
|
@if($notifications)
|
||||||
|
|
||||||
@foreach($notifications->orderBy('created_at', 'desc')->paginate(10) as $notification)
|
@foreach($notifications->orderBy('created_at', 'desc')->paginate(10) as $notification)
|
||||||
@if($notification->notification && $notification->notification->type && $notification->notification->type->type == 'registration')
|
@if($notification->notification && $notification->notification->type && $notification->notification->type->type == 'registration')
|
||||||
|
Reference in New Issue
Block a user