@php
$notification_number ='';
if(Session::has('unread_notification_number')){
$notification_number = Session::get('unread_notification_number');
}
@endphp
-
@if($notifications)
@foreach($notifications as $notification)
@php
$workflow_document = App\WorkflowDocument::where('id', $notification->workflow_document_id)->first();
@endphp
-
@if($notification->read_at == null)
{{ $notification->data['action']}} :: {{ $workflow_document->getRegNumber() }}
@else{{ $notification->data['type']}} :: {{ $workflow_document->getRegNumber() }}
@endif
@endforeach
@endif