@extends('admin.layouts.main') @section('title', 'Recurring Services') @section('menu', 'Services') @section('content')
@forelse($services as $service) @empty @endforelse
Domain / Name Client Product Billing Cycle Status Next Due Actions
{{ $service->domain ?: ($service->product?->name ?? 'N/A') }} @if($service->user) {{ $service->user->first_name }} {{ $service->user->last_name }} @else N/A @endif {{ $service->product?->name ?? 'N/A' }} {{ $service->billingCycle?->name ?? 'N/A' }} @php $badgeClass = match($service->status) { 'active' => 'success', 'pending' => 'warning', 'suspended' => 'danger', 'terminated' => 'dark', 'cancelled' => 'secondary', default => 'secondary', }; @endphp {{ ucfirst($service->status) }} {{ $service->next_due_date?->format('M d, Y') ?? 'N/A' }}
No recurring services found
@if($services->hasPages()) @endif
@endsection