Tenant: {{ $tenant->name }} ({{ $tenant->graphTenantId() }})
@isset($connection)Connection: {{ $connection->connection_type->value === 'platform' ? 'Platform connection' : 'Dedicated connection' }}
Verification state: {{ ucfirst($connection->verification_status->value) }}
@endisset@if($error)
Error: {{ $error }}
@elseif($consentGranted === false)Admin consent was not granted. Review the connection state and try again.
@elseAdmin consent was granted. Run verification again to confirm operational readiness.
@endif@php $isOnboarding = in_array($tenant->status, [\App\Models\Tenant::STATUS_DRAFT, \App\Models\Tenant::STATUS_ONBOARDING], true); $backUrl = $isOnboarding ? route('admin.onboarding') : route('filament.admin.resources.tenants.view', ['tenant' => $tenant->external_id, 'record' => $tenant]); $backLabel = $isOnboarding ? 'Zurück zum Onboarding' : 'Zurück zur Tenant-Detailseite'; @endphp {{ $backLabel }}