{{-- Header --}}
Workspaces / {{ $workspace->name }}

{{ $workspace->name }}

{{ $workspace->slug }} @if($workspace->is_active) Active @else Inactive @endif
Hades Only
{{-- Action message --}} @if($actionMessage)
{{ $actionMessage }}
@endif {{-- Tabs --}}
{{-- Tab Content --}}
{{-- Overview Tab --}} @if($activeTab === 'overview')
{{-- Quick Stats --}}
{{-- Owner Card --}}

Workspace Owner

@php $owner = $workspace->owner(); @endphp @if($owner)
{{ $owner->name }}
{{ $owner->email }}
@else
No owner assigned
@endif
{{-- Packages Card --}}

Active Packages

@if($this->activePackages->count() > 0)
@foreach($this->activePackages as $wp)
{{ $wp->package?->name ?? 'Unknown' }}
{{ $wp->package?->code ?? '' }}
{{ ucfirst($wp->status) }} @if($wp->expires_at)
Expires {{ $wp->expires_at->format('d M Y') }}
@endif
@endforeach
@else
No packages assigned
@endif
{{-- Boosts Card --}}

Active Boosts

@if($this->activeBoosts->count() > 0)
@foreach($this->activeBoosts as $boost)
{{ $boost->feature_code }}
{{ str_replace('_', ' ', $boost->boost_type) }}@if($boost->limit_value) · +{{ number_format($boost->limit_value) }}@endif
{{ ucfirst($boost->status) }} @if($boost->expires_at)
Expires {{ $boost->expires_at->format('d M Y') }}
@else
Permanent
@endif
@endforeach
@else
No boosts active
@endif
{{-- Subscription Card --}} @if($this->subscriptionInfo)

Subscription

{{ $this->subscriptionInfo['plan'] }}
Renews {{ $this->subscriptionInfo['current_period_end'] }}
@if($this->subscriptionInfo['amount'])
{{ $this->subscriptionInfo['currency'] }} {{ $this->subscriptionInfo['amount'] }}
/month
@endif
@endif
{{-- Sidebar Stats --}}

Quick Stats

Team Members {{ $this->teamMembers->count() }}
@foreach(array_slice($this->resourceCounts, 0, 5) as $resource)
{{ $resource['label'] }} {{ $resource['count'] }}
@endforeach
{{-- Workspace Info --}}

Details

Created
{{ $workspace->created_at->format('d M Y') }}
Domain
{{ $workspace->domain ?: 'Not set' }}
@if($workspace->wp_connector_enabled)
WP Connector
Connected
@endif
@endif {{-- Team Tab --}} @if($activeTab === 'team')

Team Members ({{ $this->teamMembers->count() }})

Add Member
@forelse($this->teamMembers as $member)
{{ $member->name }}
{{ $member->email }}
{{ ucfirst($member->pivot->role) }} @if($member->pivot->role !== 'owner')
@endif
@empty
No team members found.
@endforelse
@endif {{-- Entitlements Tab --}} @if($activeTab === 'entitlements')
{{-- Stats Header --}}

Entitlement Overview

Add Package Add Entitlement
{{ $this->entitlementStats['total'] }}
Total Features
{{ $this->entitlementStats['allowed'] }}
Allowed
{{ $this->entitlementStats['denied'] }}
Not Included
{{ $this->entitlementStats['near_limit'] }}
Near Limit
{{ $this->entitlementStats['packages'] }}
Packages
{{ $this->entitlementStats['boosts'] }}
Boosts
{{-- Active Boosts Section --}} @if($this->activeBoosts->count() > 0)

Active Boosts ({{ $this->activeBoosts->count() }})

@foreach($this->activeBoosts as $boost)
{{ $boost->feature_code }}
{{ str_replace('_', ' ', $boost->boost_type) }} @if($boost->limit_value) · +{{ number_format($boost->limit_value) }} @endif @if($boost->expires_at) · Expires {{ $boost->expires_at->format('d M Y') }} @else · Permanent @endif
@endforeach
@endif {{-- Resolved Entitlements by Category --}} @forelse($this->resolvedEntitlements as $category => $features)

{{ $category ?: 'General' }}

@foreach($features as $entitlement)
{{-- Status indicator --}}
{{ $entitlement['name'] }}
{{ $entitlement['code'] }}
{{-- Type badge --}} @if($entitlement['type'] === 'boolean') Toggle @elseif($entitlement['unlimited']) Unlimited @else Limit @endif {{-- Usage info --}} @if($entitlement['type'] !== 'boolean' && !$entitlement['unlimited'] && $entitlement['allowed'])
{{ number_format($entitlement['used'] ?? 0) }} / {{ number_format($entitlement['limit']) }}
@if($entitlement['limit'] > 0) @php $percent = $entitlement['percentage'] ?? 0; @endphp
@endif
@elseif($entitlement['unlimited'])
{{ number_format($entitlement['used'] ?? 0) }} used
@elseif(!$entitlement['allowed'])
Not included
@endif
@endforeach
@empty
No entitlements configured.
@endforelse {{-- Packages Section --}} @if($this->workspacePackages->count() > 0)

Assigned Packages ({{ $this->workspacePackages->count() }})

@foreach($this->workspacePackages as $wp)
{{ $wp->package?->name ?? 'Unknown' }}
{{ $wp->package?->code ?? '' }} @if($wp->expires_at) · Expires {{ $wp->expires_at->format('d M Y') }} @endif
{{ ucfirst($wp->status) }} @if($wp->status === 'active') @elseif($wp->status === 'suspended') @endif
@endforeach
@endif
@endif {{-- Resources Tab --}} @if($activeTab === 'resources')
@foreach($this->resourceCounts as $resource)
{{ number_format($resource['count']) }}
{{ $resource['label'] }}
@endforeach
@if(count($this->resourceCounts) === 0)
No resources configured for this workspace.
@endif @endif {{-- Activity Tab --}} @if($activeTab === 'activity')

Recent Activity

@forelse($this->recentActivity as $activity)
{{ $activity['message'] }}
@if($activity['detail'])
{{ $activity['detail'] }}
@endif
{{ $activity['created_at']->diffForHumans() }}
@empty
No recent activity found.
@endforelse
@endif
{{-- Add Member Modal --}} Add Team Member
Select user... @foreach($this->availableUsers as $user) {{ $user->name }} ({{ $user->email }}) @endforeach Member Admin Owner
Cancel Add Member
{{-- Edit Member Modal --}} Edit Member Role
Member Admin Owner
Changing to Owner will transfer ownership from the current owner.
Cancel Update Role
{{-- Edit Domain Modal --}} Edit Domain
Enter the domain without the protocol (e.g., example.com not https://example.com).
Cancel Save Domain
{{-- Add Package Modal --}} Add Package
@foreach($this->allPackages as $package) {{ $package->name }} ({{ $package->code }}) @endforeach
The package will be assigned immediately with no expiry date. You can modify or remove it later.
Cancel Add Package
{{-- Add Entitlement Modal --}} Add Entitlement
@foreach($this->allFeatures->groupBy('category') as $category => $features) ── {{ ucfirst($category ?: 'General') }} ── @foreach($features as $feature) {{ $feature->name }} ({{ $feature->code }}) @endforeach @endforeach Enable (Toggle on) Add Limit (Extra quota) Unlimited @if($entitlementType === 'add_limit') @endif Permanent Expires on date @if($entitlementDuration === 'duration') @endif
This will create a boost that grants the selected feature directly to this workspace, independent of packages.
Cancel Add Entitlement