@extends('layouts.app') @section('title', 'Service catalog') @section('content')
Plans, speed profiles, add-ons and tax rates.
| Plan | Technology | Price | Speed | Subscribers | Status | |
|---|---|---|---|---|---|---|
| {{ $plan->name }}
{{ $plan->description }} |
{{ $plan->serviceType?->technology ?? '—' }} | {{ money($plan->price) }}
/{{ str_replace('_',' ',$plan->billing_period) }} |
{{ $plan->speed_label }} | {{ $plan->services()->where('status', 'active')->count() }} | {{ $plan->is_active ? 'active' : 'inactive' }} @if ($plan->is_full)FULL@endif | |
| @include('components.empty-state', ['icon' => '📦', 'title' => 'No plans defined', 'action' => '']) | ||||||
| Profile | Down / Up | Priority | Quota | Status |
|---|---|---|---|---|
| {{ $speed->name }} | {{ round($speed->download_kbps / 1024, 1) }} / {{ round($speed->upload_kbps / 1024, 1) }} Mbps | {{ $speed->priority }} | {{ $speed->monthly_quota_gb ? $speed->monthly_quota_gb.' GB' : 'Unlimited' }} | {{ $speed->is_active ? 'active' : 'inactive' }} |
| @include('components.empty-state', ['icon' => '⚡', 'title' => 'No speed profiles']) | ||||
| Add-on | Price | Billing | Subscribers | Status |
|---|---|---|---|---|
| {{ $addon->name }}
{{ $addon->description }} |
{{ money($addon->price) }} | {{ title_case_words($addon->billing_type) }} | {{ $addon->serviceAddons()->count() }} | {{ $addon->is_active ? 'active' : 'inactive' }} |
| @include('components.empty-state', ['icon' => '➕', 'title' => 'No add-ons defined']) | ||||
| Tax | Rate | Code | Default | Status | |
|---|---|---|---|---|---|
| {{ $tax->name }} | {{ rtrim(rtrim(number_format($tax->rate, 2), '0'), '.') }}% | {{ $tax->code }} | {{ $tax->is_default ? 'default' : '—' }} | {{ $tax->is_active ? 'active' : 'inactive' }} | |
| @include('components.empty-state', ['icon' => '💲', 'title' => 'No tax rates configured']) | |||||