{{ __('navigation.services') }}

{{-- Status Overview --}}
{{ $services->where('status', 'active')->count() }}

{{ __('Active') }}

{{ $services->where('status', 'pending')->count() }}

{{ __('Pending') }}

{{ $services->where('status', 'suspended')->count() }}

{{ __('Suspended') }}

{{ $services->where('status', 'cancelled')->count() }}

{{ __('Cancelled') }}

@forelse ($services as $service)
{{ $service->product->name }} @if(optional($service->product->server)->extension === 'Proxmox' && $service->proxmoxServer && $service->proxmoxServer->hostname) ({{ $service->proxmoxServer->hostname }}) @endif

{{ __('services.services') }}: {{ $service->product->category->name }} @if(in_array($service->plan->type, ['recurring'])) - {{ __('services.every_period', [ 'period' => $service->plan->billing_period > 1 ? $service->plan->billing_period : '', 'unit' => trans_choice(__('services.billing_cycles.' . $service->plan->billing_unit), $service->plan->billing_period) ]) }} @else - {{ __('One time Payment') }} @endif

@if($service->expires_at)

{{ __('Due at') }}: {{ $service->expires_at->format('d M Y') }}

@endif
@if ($service->status == 'active') {{ __('Active') }} @elseif($service->status == 'suspended') {{ __('Suspended') }} @elseif($service->status == 'cancelled') {{ __('Canceled') }} @elseif($service->status == 'pending') {{ __('Pending') }} @endif
@empty

No services yet.

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