@if (auth('admin')->user()->hasPermission('plans.manage')) Add plan @endif @if ($plans->isEmpty()) @if (auth('admin')->user()->hasPermission('plans.manage')) Create your first plan @endif @else
@foreach ($plans as $plan) @endforeach
Plan Price Devices Data Subscribers Status Actions
{{ $plan->name }} @if ($plan->is_featured) Featured @endif

{{ $plan->slug }}

{{ format_money($plan->price_cents, $plan->currency) }} {{ $plan->billing_interval->suffix() }} {{ $plan->device_limit }} {{ $plan->isUnmetered() ? 'Unmetered' : format_bytes($plan->data_limit_bytes) }} {{ $plan->active_subscriptions }} {{ $plan->is_active ? 'Active' : 'Hidden' }} @if (auth('admin')->user()->hasPermission('plans.manage'))
Edit
@csrf @method('DELETE') Delete
@endif
@endif

Editing a plan affects new sign-ups only. Existing subscribers keep the price and limits they agreed to, because those are copied onto the subscription at purchase.