Notifikasi

Pemberitahuan dan peringatan penting

@if(isset($notifications) && $notifications->count() > 0)
@csrf
@endif
@forelse($notifications ?? [] as $notification)
@switch($notification->type) @case('budget_alert')
@break @case('goal_achieved')
@break @case('bill_reminder')
@break @default
@endswitch

{{ $notification->title }}

{{ $notification->message }}

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

@unless($notification->read_at)
@csrf
@endunless
@csrf @method('DELETE')
@empty

Tidak ada notifikasi

Semua sudah terbaca!

@endforelse @if(isset($notifications) && $notifications->hasPages())
{{ $notifications->links() }}
@endif