โ {{ session('success') }}
@endif
Recent Notifications
Loan and payment updates
@if($unreadCount > 0)
@endif
@forelse($notifications as $notification)
@php
$data = $notification->data ?? [];
$level = data_get(
$data,
'level',
'info'
);
if (!in_array(
$level,
['success','warning','error','info'],
true
)) {
$level = 'info';
}
$title = data_get(
$data,
'title',
'Notification'
);
$message = data_get(
$data,
'message',
''
);
$loanNumber = data_get(
$data,
'loan_number'
);
$loanId = data_get(
$data,
'loan_id'
);
@endphp
@if(!$notification->read_at || $loanId)
@endif
@empty
{{ $title }}
{{ $level }}
๐ No notifications
New loan and payment updates will appear here.
@endforelse