@section('page-title', 'Hosting Management')
Hosting Accounts List
Link New Hosting
@foreach($hostings as $host) @endforeach
Domain Client Name Disk Quota Used Disk Package Expiry Date Has Domain With Us Hosting Renewal Domain Renewal Status Actions
{{ $host->primary_domain }} {{ $host->client->name }} {{ $host->disk_limit > 0 ? number_format($host->disk_limit) . ' MB' : 'unlimited' }} {{ number_format($host->disk_space) }} MB {{ $host->hosting_package ?? '-' }} {{ $host->expiry_date ? $host->expiry_date->format('Y-m-d') : '-' }}
@csrf
@csrf {{ $host->currency }}
@if($host->has_domain)
@csrf {{ $host->currency }}
@else Not Us @endif
@if($host->status === 'active') Active @elseif($host->status === 'expired') Expired @elseif($host->status === 'suspended') Suspended @elseif($host->status === 'migrated') Migrated @else {{ ucfirst($host->status) }} @endif