@props(['title', 'active' => 'dashboard']) @php $business = request()->attributes->get('business_profile'); $membership = request()->attributes->get('business_membership'); $manage = $membership === null || $membership->role->canManageTeam(); $webhooks = app(App\Services\EnterpriseApi\CancWebhookService::class)->moduleEnabled(); $navigation = [ 'dashboard' => ['business.dashboard', 'squares-2x2'], 'api' => ['business.api.index', 'code-bracket'], ...($manage ? ['team' => ['business.team.index', 'users']] : []), ...($manage && $webhooks ? ['webhooks' => ['business.webhooks.index', 'bolt']] : []), ...($membership === null ? ['billing' => ['billing.index', 'document-text']] : []), 'docs' => ['developers.index', 'book-open'], 'support' => ['support.index', 'chat-bubble-left-right'], ]; @endphp
{{ app(App\Services\Administrability\CancUiTheme::class)->branding()['platform_name'] }}{{ __('canc.business_portal.eyebrow') }}
{{ __('canc.business_portal.profile') }}
@csrf
@if(session('success'))
{{ session('success') }}
@endif @if($errors->any())@endif {{ $slot }}