• {{ $notifications['unread_count'] }}
    {{ $notifications['unread_count'] . ' thông báo' }}
    @foreach ($notifications['data'] as $notification)
    id }}>
    {{ collect(json_decode(collect(json_decode($notification->data))->get('data')))->get('content') }} @if (\Carbon\Carbon::now()->diff($notification->created_at)->days >= 1) {{ \Carbon\Carbon::parse($notification->created_at)->format('d-m-Y') }} @else {{ \Carbon\Carbon::now()->diffInMinutes($notification->created_at) > 60 ? \Carbon\Carbon::now()->diffInHours($notification->created_at) . ' giờ trước' : \Carbon\Carbon::now()->diffInMinutes($notification->created_at) . ' phút trước' }} @endif
    @endforeach
    Xem thông báo trước đó Đã hết thông báo