{{-- Compliance notification --}} @php $urgentNotifications = showUrgentNotifications(); if(!empty($urgentNotifications)): foreach($urgentNotifications as $urgent): @endphp @include('layout.notification-modal',['notification' => $urgent, "type" => 1]) @push('scripts') @endpush @php endforeach; endif; @endphp {{-- Regular notification --}} @php $notifications = showNotificationModal(); if(!empty($notifications)): foreach($notifications as $notification): @endphp @include('layout.notification-modal',['notification' => $notification, "type" => 2]) @push('scripts') @endpush @php endforeach; endif; @endphp {{-- Repeated notification --}} @php $notifications = showRepeatedNotificationModal(); if(!empty($notifications)): foreach($notifications as $notification): @endphp @include('layout.notification-modal',['notification' => $notification, "type" => 3]) @push('scripts') @endpush @php endforeach; endif; @endphp