@php $canSeeBilling = \App\Support\StaffUx::showBilling(auth()->user()); $plan = $planKey ?? 'free'; $banner = match ($plan) { 'pro' => config('care.upgrade_banner.pro'), 'free' => config('care.upgrade_banner.free'), default => null, }; @endphp @if ($canSeeBilling && ! empty($banner))

{{ $banner['title'] }}

{{ $banner['description'] }}

{{ $banner['cta'] ?? 'View plans' }}
@endif