Notifications
-
@foreach ($errors->all() as $error)
- {{ $error }} @endforeach
@php
$allnotifications = Auth::user()->notifications;
$countnotification = count(Auth::user()->unreadNotifications);
$unreadnoti = Auth::user()->unreadNotifications;
@endphp
@if(empty($notification->data['data']))
{{$notification->data['user']['name']}} {{$notification->data['message']}} @else{{$notification->data['user']['name']}} {{$notification->data['message']}} {{$notification->data['data']['ticket_name']}} @endif @php date_default_timezone_set('Asia/Kolkata'); $date = $notification->created_at; $formatdate = date('d M Y, h:i A', strtotime($date)); @endphp{{ $formatdate }} |