@extends('layouts.backend.app') @section('title', 'Notification') @push('css') @endpush @section('content')
Notification
@foreach ($notifications as $notification) @endforeach
ID User Name Title Message Status Created At Action
{{ $notification->id }} ({{ $notification->user_id }}){{ $notification->user->name }} {{ $notification->title }} {{ Str::limit($notification->message, 200) }}
is_read == true ? 'checked' : '' }} type="checkbox" class="form-check-input get_status" id="status_{{ $notification->id }}" name="status_{{ $notification->id }}">
{{ $notification->created_at->diffForHumans() }}
{{ $notifications->links() }}
@endsection @push('js') @endpush