@forelse ($services as $service)
{{ $service->product->name }}
@if ($service->status == 'active') @elseif($service->status == 'suspended' || $service->status == 'cancelled') @elseif($service->status == 'pending') @endif

Product(s): {{ $service->product->category->name }} {{ 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) ]) : '' }} {{ $service->expires_at ? '- ' . __('services.expires_at') . ': '. $service->expires_at->format('M d, Y') : ''}}

@empty

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

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