@php $style = [ 'success' => ['check-circle-2', 'text-green-400', 'bg-green-500/10'], 'warning' => ['alert-triangle', 'text-amber-400', 'bg-amber-500/10'], 'error' => ['alert-circle', 'text-red-400', 'bg-red-500/10'], 'info' => ['info', 'text-blue-400', 'bg-blue-500/10'], ]; $typeAction = [ \App\Models\BillingNotification::TYPE_PAYMENT_SUCCESS => ['billing', 'View billing'], \App\Models\BillingNotification::TYPE_INVOICE_READY => ['billing', 'View invoice'], \App\Models\BillingNotification::TYPE_RENEWAL_REMINDER => ['billing', 'Manage plan'], \App\Models\BillingNotification::TYPE_SUBSCRIPTION_EXPIRING => ['billing', 'Renew now'], \App\Models\BillingNotification::TYPE_EXPIRED => ['billing', 'Renew now'], \App\Models\BillingNotification::TYPE_GRACE_REMAINING => ['billing', 'Renew now'], \App\Models\BillingNotification::TYPE_DESKTOP_LOCKED => ['user.devices', 'View devices'], ]; @endphp
Billing alerts, subscription reminders and system messages.
{{ $n->body }}
@endif{{ $filter === 'unread' ? 'Every notification has been read.' : 'Billing and subscription alerts will appear here.' }}