@if ($plan->amount_month * 12 > $plan->amount_year)
{{ __(':value%', ['value' => number_format((($plan->amount_month * 12 - $plan->amount_year) / ($plan->amount_month * 12)) * 100, 0)]) }}
{{ $plan->name }}
@if (formatMoney($plan->amount_month, $plan->currency) == 0.0)
{{ __('Free') }}
@else
{{ formatMoney($plan->amount_month, $plan->currency) }}
{{ $plan->currency }}
@endif
@if (formatMoney($plan->amount_year, $plan->currency) == 0.0)
{{ __('Free') }}
@else
{{ formatMoney($plan->amount_year, $plan->currency) }}
{{ $plan->currency }}
@endif
@foreach ($plan->features as $feature => $enabled)
-
@if ($enabled == -1)
{{ __('Unlimited') }}
@elseif (is_numeric($enabled) && $enabled > 1)
{{ __('Up to') }} {{ $enabled }}
@endif
{{ ucfirst(str_replace('_', ' ', $feature)) }}
@endforeach
@auth
@if ($plan->hasPrice() && count(paymentGateways()) != 0)
@if (isset(getAuthUserInfo('plan')->id) &&
getAuthUserInfo('plan')->id == $plan->id &&
getAuthUserInfo('plan_recurring_at') != null)
{{ __('Active') }}
@else
@endif
@else
{{ __('Free') }}
@endif
@else
@endauth