@extends('layouts.app') @section('title', 'Hotspot plans') @section('content')
Time, data and speed caps applied to voucher RADIUS sessions.
| Plan | Price | Time limit | Data limit | Down / Up | Vouchers | Status | |
|---|---|---|---|---|---|---|---|
| {{ $plan->name }}
{{ $plan->description }} |
{{ money($plan->price) }} | {{ $plan->time_limit_min ? $plan->time_limit_min.' min' : 'Unlimited' }} | {{ $plan->data_limit_mb ? human_bytes($plan->data_limit_mb * 1048576) : 'Unlimited' }} | {{ $plan->download_limit ? round($plan->download_limit / 1024).' / '.round($plan->upload_limit / 1024).' Mbps' : '—' }} | {{ $plan->vouchers()->count() }} | {{ $plan->is_active ? 'active' : 'inactive' }} | |
| @include('components.empty-state', ['icon' => '☍', 'title' => 'No hotspot plans', 'action' => '']) | |||||||