{{ __('Subscription Plans') }}

Add New Plan
@if(session('success'))
{{ session('success') }}
@endif @if(session('error'))
{{ session('error') }}
@endif
@foreach($plans as $plan)

{{ $plan->display_name }}

{{ $plan->name }}

@if(!$plan->is_active) Inactive @endif
${{ number_format($plan->price, 2) }} / {{ $plan->duration_months }} month{{ $plan->duration_months > 1 ? 's' : '' }}
{{ number_format($plan->credits) }} test credits
Valid for {{ $plan->duration_months }} month{{ $plan->duration_months > 1 ? 's' : '' }}
{{ $plan->subscriptions_count ?? 0 }} active subscriptions
Edit @if(!$plan->subscriptions()->exists())
@csrf @method('DELETE')
@endif
@endforeach
@if($plans->count() === 0)

No plans

Get started by creating a new subscription plan.

@endif