{{-- Filter & Actions Panel --}}

{{ __('Plans') }}

{{ __('Manage subscription plans, pricing, and feature access.') }}

{{ __('Reset') }}
{{-- Plans Table Panel --}}

{{ __('Plan Directory') }}

{{ __('Showing') }} {{ $plans->count() }} {{ __('plans.') }}

{{ __('Export') }}
{{-- List View --}}
@forelse($plans as $plan) {{-- Delete confirmation modal --}}
@csrf @method('DELETE')

{{ __('Delete') }} "{{ $plan->name }}"?

{{ __('This will') }} {{ __('permanently delete') }} {{ __('this plan. Existing subscribers may be affected.') }}

@empty @endforelse
{{ __('Plan') }} {{ __('Price') }} {{ __('Subscribers') }} {{ __('Status') }} {{ __('Actions') }}
{{ strtoupper(substr($plan->name, 0, 2)) }}
{{ $plan->name }}

{{ $plan->slug }}

@if($plan->isFree()) {{ __('Free') }} @else
@currency($plan->monthly_price){{ __('/mo') }}

@currency($plan->yearly_price){{ __('/yr') }}

@endif
{{ number_format($plan->active_subscriptions_count) }} {{ $plan->is_active ? __('Active') : __('Inactive') }}
{{ __('View') }} {{ __('Edit') }}
{{ __('No plans found.') }}
{{-- Grid View --}}
@forelse($plans as $plan)
{{ strtoupper(substr($plan->name, 0, 2)) }}
{{ $plan->name }}

{{ $plan->slug }}

@if($plan->isFree()) {{ __('Free') }} @else @currency($plan->monthly_price){{ __('/mo') }} @endif {{ number_format($plan->active_subscriptions_count) }} {{ __('subs') }}
{{ $plan->is_active ? __('Active') : __('Inactive') }}
@empty
{{ __('No plans found.') }}
@endforelse
{{-- Import Modal --}}
@csrf

{{ __('Import Plans') }}

{{ __('Upload a CSV file that matches the provided template.') }}

{{-- Bulk Delete Modal --}}
@csrf

{{ __('Delete selected plans?') }}

{{ __('You are about to') }} {{ __('permanently delete') }} {{ __('the selected plan(s). Plans with active subscriptions will be skipped. This action cannot be undone.') }}