{{ t('my_subscription') }}
@forelse ($this->filteredPlans as $plan) @php $user = auth()->user(); $isCurrentTenantUser = tenant_id() && $user && $user->tenant_id === tenant_id(); $isCurrentPlan = $plan->id == $currentPlanId; $link = tenant_route('tenant.billing', ['plan_id' => $plan->id]); $buttonText = $plan->price == 0 ? 'Start Free Trial' : 'Change'; @endphp
@if ($plan['featured'] != 0)
{{ t('most_popular') }}
@endif

{{ $plan->name }}

{{ $plan->description }}

@if ($plan->is_free && $plan->trial_days)
{{ t('free') }}

{{ $plan->trial_days }} {{ t('days_free_trial') }}

@else {{ get_base_currency()->format($plan->price) }} /{{ $plan->billing_period }} @endif
@foreach ($plan['planFeatures'] as $feature) @if ($feature['value'] != 0)
{{ $feature['name'] }}: {{ $feature['value'] == '-1' ? 'Unlimited' : number_format($feature['value']) }}
@endif @endforeach
@if ($isCurrentPlan) {{ t('current_plan') }} @else @if ($plan->price == 0) @else {{ $buttonText }} @endif @endif
@empty

{{ t('no_plans_available') }}

@endforelse