{{ __('VPS Orders') }}

{{ __('Manajemen pemesanan RDP/VPS (Cloud & Lokal IDN).') }}

@if (session('status') === 'saved')
{{ __('Tersimpan.') }}
@endif @if (session('status') === 'deleted')
{{ __('Terhapus.') }}
@endif @if (session('status') === 'restored')
{{ __('Direstore.') }}
@endif
{{ __('Reset') }}
@forelse ($items as $item) @php $activeClass = $item->is_active ? 'bg-emerald-500/15 text-emerald-200 ring-emerald-500/30' : 'bg-white/5 text-gray-200 ring-white/10'; $deleted = $item->deleted_at !== null; $deletedClass = $deleted ? 'bg-red-500/10 text-red-200 ring-red-500/30' : 'bg-white/5 text-gray-200 ring-white/10'; @endphp @empty @endforelse
{{ __('Customer') }} {{ __('Tipe') }} {{ __('Spec') }} {{ __('Durasi') }} {{ __('Status') }} {{ __('Tag') }} {{ __('Action') }}
{{ $item->customer_name }}
@if ($item->customer_email) {{ $item->customer_email }} @endif @if ($item->customer_phone) {{ $item->customer_phone }} @endif @if ($item->customer_company) {{ $item->customer_company }} @endif
{{ strtoupper($item->vps_type) }}
{{ $item->vps_location ?: '-' }}
{{ $item->cpu_cores }}C / {{ $item->ram_gb }}GB
{{ $item->storage_gb }}GB
{{ $item->duration_days }} {{ __('hari') }}
{{ $item->is_active ? __('Aktif') : __('Nonaktif') }} {{ $deleted ? __('Terhapus') : strtoupper($item->status) }}
@if (is_array($item->tags) && count($item->tags))
@foreach (array_slice($item->tags, 0, 4) as $tag) {{ $tag }} @endforeach
@else - @endif
{{ __('Edit') }}
{{ __('Tidak ada data.') }}
{{ $items->links() }}
{{ __('Statistik') }}
{{ __('Total') }}
{{ number_format((int) ($stats['total'] ?? 0)) }}
{{ __('Cloud') }}
{{ number_format((int) (($stats['by_type']['cloud'] ?? 0))) }}
{{ __('Lokal IDN') }}
{{ number_format((int) (($stats['by_type']['local_idn'] ?? 0))) }}
{{ __('Active') }}
{{ number_format((int) (($stats['by_status']['active'] ?? 0))) }}
@foreach (($stats['by_status'] ?? []) as $k => $v) {{ strtoupper($k) }}: {{ (int) $v }} @endforeach
{{ __('Grafik') }}
{{ __('14 hari terakhir') }}
@php $max = 0; foreach ($daily as $p) { $max = max($max, (int) ($p['count'] ?? 0)); } $max = max(1, $max); @endphp
@foreach ($daily as $p) @php $h = (int) round(((int) ($p['count'] ?? 0)) / $max * 64); @endphp
{{ $p['date'] }} • {{ (int) ($p['count'] ?? 0) }}
@endforeach