change
This commit is contained in:
@@ -24,7 +24,7 @@ class NotificationController extends Controller
|
||||
$page = $request->query('page', 1);
|
||||
|
||||
if ($customerIamId) {
|
||||
$notificationsData = NotificationDetails::where('principal_xid', $customerIamId)->orderBy('id', 'Desc')->get();
|
||||
$notificationsData = NotificationDetails::where('principal_xid', $customerIamId)->where('is_active', 1)->orderBy('id', 'Desc')->get();
|
||||
|
||||
$totalItems = $notificationsData->count();
|
||||
$totalPages = ceil($totalItems / $perPage);
|
||||
|
||||
Reference in New Issue
Block a user