@php $nudgeUser = auth()->user(); $showNudge = false; if ($nudgeUser) { $showNudge = app(\App\Domain\Communications\Services\SubscriptionNudgeService::class)->shouldShow($nudgeUser, request()); if ($showNudge) { app(\App\Domain\Communications\Services\SubscriptionNudgeService::class)->markShown($nudgeUser); } } @endphp @if ($showNudge)
@endif