حسابات الاستضافة (WHM)

@if (session('status'))
{{ session('status') }}
@endif @if (session('error'))
{{ session('error') }}
@endif
@forelse($accounts as $account)
{{ $account->domain }} ({{ $account->cpanel_username }})
{{ $account->user->name }} — {{ $account->package?->name }} — $account->status === 'active', 'text-red-600' => $account->status === 'suspended', 'text-gray-400' => $account->status === 'terminated', ])>{{ $account->status }}
@if($account->status === 'active') @elseif($account->status === 'suspended') @endif @if($confirmingTerminateId === $account->id) متأكد؟ @else @if($account->status !== 'terminated') @endif @endif
@if($changingPackageFor === $account->id)
@endif @if($account->last_usage_snapshot)
آخر تحديث للاستخدام: {{ $account->updated_at->diffForHumans() }}
@endif
@empty

مفيش حسابات لسه.

@endforelse
{{ $accounts->links() }}