@extends('layouts.student') {{-- @section('student-style') @endsection --}} @section('content')
All Notifications
@forelse (auth()->user()->unreadNotifications->take(10) as $item)
@if ($item->type == 'App\Notifications\MeetingNotification')
@elseif ($item->type == 'App\Notifications\WalletTransactions')
@endif

{{$item->data['title']}}

{{$item->created_at->diffForHumans()}}

{{$item->data['body']}}

@empty

There are no notifications

@endforelse
@endsection @section('student-js') @endsection