@if ($canManage) @endif
@forelse ($panels as $panel) @php $sub = $panel->subscription; @endphp @empty @endforelse
{{ __('Reseller') }} {{ __('Owner') }} {{ __('Plan') }} {{ __('Subscription') }} {{ __('Balance') }} {{ __('Domains') }} {{ __('Next charge') }} {{ __('Action') }}
{{ $panel->name }}
{{ $panel->slug }}
@if ($panel->ownerUser)
{{ $panel->ownerUser->name }}
{{ $panel->ownerUser->email }} @else {{ __('No owner') }} @endif
{{ $sub?->plan?->name ?? '—' }} @if ($sub)@else{{ __('None') }}@endif {{ money($balances[$panel->id] ?? '0', $panel->base_currency) }} {{ number_format($panel->domains_count) }} {{ rf_date($sub?->next_charge_at) }} {{ __('Manage') }} @if ($canImpersonate && $panel->ownerUser) @endif @if ($canManage) {{-- Two different actions, deliberately kept separate: "Add funds" is a top-up (only adds, leaves a receipt and counts as money received); "Adjust balance" is an accounting correction that goes up or down and revenue reports never count. --}} @endif {{-- Panel-row writes: gated by resellers.manage AND panels.manage. --}} @if ($canPanelManage)
@endif
{{-- ══ Create reseller ══ --}}
@error('panel_name')

{{ $message }}

@enderror
{{-- The address is assigned by the ADMIN: the subdomain hangs off the install's domain, so who occupies it is not the reseller's decision. --}}
@if ($baseHost)
.{{ $baseHost }}

{{ $subdomain !== '' ? __('Their storefront will live at :url', ['url' => 'https://'.$subdomain.'.'.$baseHost]) : __('Leave empty to assign an address later.') }}

@else

{{ __('Set RF_PANEL_BASE_HOST in your .env to hand out subdomains.') }}

@endif @error('subdomain')

{{ $message }}

@enderror
@error('admin_name')

{{ $message }}

@enderror
@error('admin_email')

{{ $message }}

@enderror
@error('admin_password')

{{ $message }}

@enderror
{{-- .live: the plan decides which designs the tier carries, and the "Not in plan" badges below have to react to the change instantly, not on save. --}}
{{-- ══ Adjust reseller balance ══ --}}

{{ __('An accounting correction, up or down. It is not counted as money received — use Add funds to record a real top-up.') }}

@error('balanceAmount')

{{ $message }}

@enderror
{{-- ══ Edit reseller ══ --}}
@error('edit_name')

{{ $message }}

@enderror
@if ($baseHost)
.{{ $baseHost }}

{{ $edit_subdomain !== '' ? __('Their storefront will live at :url', ['url' => 'https://'.$edit_subdomain.'.'.$baseHost]) : __('Empty means no address under :host — their own domain (if any) keeps working.', ['host' => $baseHost]) }}

@else

{{ __('Set RF_PANEL_BASE_HOST in your .env to hand out subdomains.') }}

@endif @error('edit_subdomain')

{{ $message }}

@enderror
{{-- ══ Add funds (top-up of the reseller's prepaid wallet) ══ --}}
{{ $addFundsPanelName }}
{{ __('Current balance') }}: {{ money($addFundsBalance, $addFundsCurrency) }}
@error('addFundsAmount')

{{ $message }}

@enderror
@error('addFundsReference')

{{ $message }}

@enderror
@error('addFundsNote')

{{ $message }}

@enderror

{{ __('Recorded as a top-up: it appears in the reseller top-up history with a receipt and counts as money received.') }}

{{-- ══ Change plan ══ --}}

{{ __('Updating the plan for') }} {{ $changePlanPanelName }}. {{ __('Changes take effect immediately.') }}

@error('changePlanId')

{{ $message }}

@enderror
@error('changePlanBilling')

{{ $message }}

@enderror