@php // Tone → the icon chip's colours. Kept here so both lists (delivered and // derived) read identically in the panel. $chip = [ 'info' => 'bg-sky-50 text-sky-600', 'success' => 'bg-emerald-50 text-emerald-600', 'warning' => 'bg-amber-50 text-amber-600', 'danger' => 'bg-rose-50 text-rose-600', ]; @endphp

{{ __('Notifications') }}

@if ($total > 0) {{ $total }} {{ __('new') }} @endif @if ($unreadCount > 0) @endif
@if ($pendingRelease)

{{ __('BillPro was updated to v:version', ['version' => $pendingRelease->version]) }}

{{ $pendingRelease->title }}

@endif {{-- Delivered: addressed to this user, someone is waiting on them. --}} @foreach ($delivered as $item)
@endforeach {{-- Derived: recomputed live, nothing to mark read. --}} @foreach ($derived as $item)

{{ $item['title'] }}

{{ $item['message'] }}

@endforeach @if ($total === 0)

{{ __("You're all caught up") }}

{{ __('Nothing needs your attention right now.') }}

@endif
{{-- One-time nudge, shown only while this device is not on push and the server can actually do it. It disappears the moment the device is registered, so it can never become wallpaper. --}}
{{ __('Get these on your phone') }} {{ __('Turn on notifications for this device') }}
@if ($currentVersion) {{ __('BillPro v:version · What\'s new', ['version' => $currentVersion]) }} @endif