{{ trans_language('notifications','main-content') != '' ? trans_language('notifications','main-content') : "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']}} {{ trans_language($message,'main-content') != '' ? trans_language($message,'main-content') : $notification->data['message'] }} @else{{$notification->data['user']['name']}} {{ trans_language($message,'main-content') != '' ? trans_language($message,'main-content') : $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 }} |