@if(!empty($organization)) {{ $organization['plan'] ?? 'plan' }} {{ $organization['status'] ?? 'status' }} @endif
@foreach ([ 'branding' => 'Branding', 'domains' => 'Domains', 'compliance' => 'Compliance', 'integrations' => 'Integrations', 'payments' => 'Payments', ] as $key => $label) @endforeach

Preview

@if(! empty($brandingForm['logo_light_url'])) Logo preview @else Logo preview @endif

Applied branding

@php $primaryColor = '#1e66c8'; $secondaryColor = '#94a3b8'; $accentColor = '#22c55e'; foreach (($branding['palette'] ?? []) as $item) { if ($item['label'] === 'primary' && ! empty($item['value'])) { $primaryColor = $item['value']; } if ($item['label'] === 'secondary' && ! empty($item['value'])) { $secondaryColor = $item['value']; } if ($item['label'] === 'accent' && ! empty($item['value'])) { $accentColor = $item['value']; } } @endphp @php $appliedLogo = null; foreach (($branding['logo'] ?? []) as $item) { if ($item['label'] === 'light_url' && ! empty($item['value'])) { $appliedLogo = $item['value']; break; } } @endphp @if($appliedLogo) Applied logo @else No applied logo @endif
@error('brandingForm.primary')

{{ $message }}

@enderror @error('brandingForm.secondary')

{{ $message }}

@enderror @error('brandingForm.accent')

{{ $message }}

@enderror @error('brandingForm.logo_light_url')

{{ $message }}

@enderror @error('brandingForm.logo_dark_url')

{{ $message }}

@enderror @error('brandingForm.favicon_url')

{{ $message }}

@enderror @error('brandingForm.theme_font')

{{ $message }}

@enderror
Save branding

Palette

@if(count($branding['palette'] ?? []) > 0)
@foreach($branding['palette'] as $item)
{{ ucFirst($item['label']) }}
{{ $item['value'] }}
@endforeach
@else

No palette configured yet.

@endif

Logos

@if(count($branding['logo'] ?? []) > 0)
@foreach($branding['logo'] as $item)
{{ ucwords(str_replace('_', ' ', $item['label'])) }} @if(! empty($item['value'])) {{ $item['label'] }} @else No image @endif
@endforeach
@else

No logos uploaded yet.

@endif
Add domain
@error('newDomain')

{{ $message }}

@enderror @if(count($domains) > 0)
@foreach($domains as $domain)

{{ $domain['domain'] }}

Verified: {{ $domain['verified_at'] ?? '—' }}

@if(! $domain['verified_at'])

Method: {{ \App\Enums\OrganizationDomainVerificationMethod::tryFrom($domain['verification_method'] ?? '')?->label() ?? 'Dns' }}

@if(! empty($domain['verification_token'])) @if(($domain['verification_method'] ?? 'dns') === 'http')

Verification token: {{ $domain['verification_token'] }}

Place this token in /.well-known/klevalearn-domain-verification.txt on the domain.

@else

TXT record value: {{ $domain['verification_token'] }}

@endif @endif @endif
{{ $domain['is_primary'] ? 'Primary' : 'Secondary' }} @if(! $domain['verified_at']) Get verification token @if(! empty($domain['verification_token'])) Verify now @endif @endif @if(! $domain['is_primary']) Make primary @endif Remove
@endforeach
@else

No custom domains yet.

@endif
Confirm primary domain {{ $primaryDomainCandidateName ? "Set {$primaryDomainCandidateName} as the primary domain? All tenant traffic will resolve to this domain." : 'Set selected domain as primary?' }} Cancel Confirm
Save compliance

Compliance status

@forelse($complianceIndicators as $indicator)

{{ $indicator['label'] }}

{{ $indicator['description'] }}

{{ $indicator['enabled'] ? 'Enabled' : 'Disabled' }}
@if(! empty($indicator['enforced_by']))
@foreach($indicator['enforced_by'] as $enforcement) {{ str_replace('_', ' ', (string) $enforcement) }} @endforeach
@endif
@empty

No compliance indicators available.

@endforelse
@forelse($integrationCards as $card) @php $status = $card['status'] ?? 'disconnected'; $statusBadge = match ($status) { 'connected' => 'bg-emerald-100 text-emerald-800 dark:bg-emerald-500/20 dark:text-emerald-200', 'pending' => 'bg-amber-100 text-amber-800 dark:bg-amber-500/20 dark:text-amber-200', 'error' => 'bg-rose-100 text-rose-800 dark:bg-rose-500/20 dark:text-rose-200', default => 'bg-secondary-200 text-secondary-700 dark:bg-secondary-800 dark:text-secondary-300', }; @endphp

{{ $card['label'] }}

@if(! empty($card['description']))

{{ $card['description'] }}

@endif

Connected: {{ $card['connected_at'] ?? '—' }} • Last sync: {{ $card['last_synced_at'] ?? '—' }}

Last sync status: {{ $card['last_sync_status_label'] ?? '—' }}

{{ $card['status_label'] }}
@if(! empty($card['fields']))
@foreach($card['fields'] as $field) @php $fieldKey = $field['key'] ?? ''; $fieldType = $field['type'] ?? 'text'; $fieldLabel = $field['label'] ?? $fieldKey; $formKey = $card['form_key'] ?? ''; @endphp @endforeach
Save credentials
@endif
Check status @if($status === 'connected') Sync now Refresh token @endif @if($status === 'connected' || $status === 'pending' || $status === 'error') Disconnect @else Connect @endif
@empty

No integrations configured.

@endforelse
@forelse($paymentCards as $card) @php $status = $card['status'] ?? 'disconnected'; $statusBadge = match ($status) { 'connected' => 'bg-emerald-100 text-emerald-800 dark:bg-emerald-500/20 dark:text-emerald-200', 'pending' => 'bg-amber-100 text-amber-800 dark:bg-amber-500/20 dark:text-amber-200', 'error' => 'bg-rose-100 text-rose-800 dark:bg-rose-500/20 dark:text-rose-200', default => 'bg-secondary-200 text-secondary-700 dark:bg-secondary-800 dark:text-secondary-300', }; @endphp

{{ $card['label'] }}

@if(! empty($card['description']))

{{ $card['description'] }}

@endif

Connected: {{ $card['connected_at'] ?? '—' }} • Last sync: {{ $card['last_synced_at'] ?? '—' }}

Last sync status: {{ $card['last_sync_status_label'] ?? '—' }}

{{ $card['status_label'] }}
@if(! empty($card['fields']))
@foreach($card['fields'] as $field) @php $fieldKey = $field['key'] ?? ''; $fieldType = $field['type'] ?? 'text'; $fieldLabel = $field['label'] ?? $fieldKey; $formKey = $card['form_key'] ?? ''; @endphp @endforeach
Save credentials
@endif
Check status @if($status === 'connected') Sync now @endif @if($status === 'connected' || $status === 'pending' || $status === 'error') Disconnect @else Connect @endif
@empty

No payment providers configured.

@endforelse