@extends('layouts.app') @section('title', __('Plans')) @section('content')

{{ __('Subscription plans') }}

{{ __('Define tiers, pricing, quotas and features.') }}

{{ __('New plan') }}
@if(session('status'))
{{ session('status') }}
@endif @if(session('error'))
{{ session('error') }}
@endif
@forelse($plans as $plan) @empty @endforelse
{{ __('Code') }} {{ __('Name') }} {{ __('Status') }} {{ __('Monthly') }} {{ __('Yearly') }} {{ __('Subscribers') }}
{{ $plan->code }}@if($plan->is_featured)@endif
{{ $plan->displayName() }}
@if($t = $plan->displayTagline())
{{ $t }}
@endif
{{ __(ucfirst($plan->status)) }} @if(! $plan->is_public){{ __('hidden') }}@endif @if($plan->currentVersion?->price_monthly !== null){{ number_format($plan->currentVersion->price_monthly, 2) }} {{ $plan->currentVersion->currency }}@else—@endif @if($plan->currentVersion?->price_yearly !== null){{ number_format($plan->currentVersion->price_yearly, 2) }} {{ $plan->currentVersion->currency }}@else—@endif {{ $plan->active_subs_count }} {{ __('Edit') }}
@csrf
@csrf @method('DELETE')
{{ __('No plans yet.') }}
@endsection