{{ $popupNotification->icon }} {{ ucfirst($popupNotification->type) }} {{ $popupNotification->is_active ? 'Active' : 'Inactive' }}

{{ $popupNotification->title }}

📝 Message

{{ $popupNotification->message }}

👁️ Preview

{{ $popupNotification->icon }} {{ $popupNotification->title }}

{{ $popupNotification->message }}

🎯 Targeting Information

@if($popupNotification->target_users) @if(isset($popupNotification->target_users['levels']))
Target Levels: {{ implode(', ', $popupNotification->target_users['levels']) }}
@endif @if(isset($popupNotification->target_users['min_level']))
Minimum Level: Level {{ $popupNotification->target_users['min_level'] }}+
@endif @if(isset($popupNotification->target_users['user_ids'])) @php $targetUsernames = \App\Models\User::whereIn('id', $popupNotification->target_users['user_ids'])->pluck('username')->toArray(); @endphp
Target Users: {{ implode(', ', $targetUsernames) }}
@endif @else
Target Audience: All Users
@endif
@if($popupNotification->start_date || $popupNotification->end_date)

📅 Schedule

@if($popupNotification->start_date)
Start Date: {{ $popupNotification->start_date->format('F j, Y \a\t g:i A') }} @if($popupNotification->start_date > now()) ⏳ Scheduled @else ✅ Active @endif
@endif @if($popupNotification->end_date)
End Date: {{ $popupNotification->end_date->format('F j, Y \a\t g:i A') }} @if($popupNotification->end_date < now()) ❌ Expired @else ⏰ Active @endif
@endif
@endif