@if($notifications)
@php
$cnt= 0;
@endphp
@foreach ($notifications as $notification)
@if ($notification->is_active)
@php
$cnt++;
@endphp
@if($companion->id == $notification->fromUser->id)
{{$companion->name}}
@if($notification->offerData)
@foreach ( $notification->offerData as $title => $value)
{{ $title . ": " . $value }}
@endforeach
@endif
{{--
{{$notification->message}}
--}}
{{$notification->message}}
{{$notification->created_at}}
@else
{{__("I am")}}
@if($notification->offerData)
@foreach ( $notification->offerData as $title => $value)
{{ $title . ": " . $value }}
@endforeach
@endif
{{$notification->message}}
{{$notification->created_at}}
@endif
@endif
@endforeach
@if(!$cnt)
{{__('You do not have any messages')}}
@endif
@else
{{__('You do not have any messages')}}
@endif