@hasanyrole('manager') @php $isSubscribeRoute = \Route::currentRouteName() === 'my.subscribe'; $isDashboardRoute = \Route::currentRouteName() === 'dashboard'; $showFullModal = $subExpired && !$isSubscribeRoute && !$isDashboardRoute; $showBanner = $subExpired && ($isDashboardRoute || $isSubscribeRoute); @endphp @if ($showFullModal)

{{ __('Subscription Required') }}

{{ __('Access Restricted') }}

{{ __('Your subscription has expired') }}

{{ __('To continue using all features and accessing this page, please renew your subscription. You will be redirected to complete your subscription.') }}

{{ __('What you\'re missing:') }}

  • {{ __('Full access to all features') }}
  • {{ __('Unlimited data access') }}
  • {{ __('Priority support') }}
@elseif ($showBanner)

{{ __('Subscription Expired') }}

{{ __('Your subscription has expired. Please renew to continue accessing all features.') }}

@endif @endhasanyrole