@php /* | Resolved through the Foundation contract, never through the Licensing | module — core may not depend on a module. With the module removed the | permissive default answers null and this partial renders nothing. | | The banner is for signed-in staff only. A licence dispute between us and | a clinic is not something to display over a waiting room screen. */ $licenseNotice = auth()->check() ? app(\App\Foundation\Licensing\LicenseStatusProvider::class)->notice() : null; @endphp @if ($licenseNotice !== null)
{{ $licenseNotice }} @if (Route::has('license.show') && auth()->user()?->can('license.view')) {{ __('licensing::messages.page.title') }} @endif
@endif