@extends('layouts.app') @section('title', 'Services') @section('content')
Every provisioned service across the estate.
| Service | Customer | Plan | RADIUS | Session | Price | Status | Next bill | Due | |
|---|---|---|---|---|---|---|---|---|---|
|
{{ $service->service_number }}
{{ $service->installation_address }}
|
{{ $service->customer->display_name }}
{{ $service->customer->phone }} |
{{ $service->plan?->name }}
{{ $service->plan?->speed_label }} |
{{ $service->username }}
@if ($service->radius_synced)
synced
@else
not synced
@endif |
@if ($service->is_online) online @else offline @endif | {{ money($service->effective_price, $service->customer->currency) }} | {{ $service->status }} | {{ $service->next_billing_date?->format('d M Y') ?: '—' }} | @if ($service->next_due_date && $service->next_due_date->isPast() && $service->outstanding > 0) {{ (int) $service->next_due_date->diffInDays(now()) }}d @else {{ $service->next_due_date?->format('d M') ?: '—' }} @endif | Open |
| @include('components.empty-state', ['icon' => '⇄', 'title' => 'No services found', 'message' => 'Provision a subscription to begin.', 'action' => '+ Provision service']) | |||||||||