@endif
@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 ($feature == 'max_filesize')
File sharing limit:
{{ $enabled == '-1' ? 'Unlimited' : 'Up to ' . $enabled . 'MB' }}
@elseif ($feature == 'video_quality')
{{ $enabled }}
Video quality
@elseif ($feature == 'meeting_no')
{{ $enabled == '-1' ? 'Unlimited' : $enabled }}
Meeting(s)
@elseif ($enabled == -1)
{{ __('Unlimited') }}
{{ ucfirst(str_replace('_', ' ', $feature)) }}
@elseif (is_numeric($enabled) && $enabled > 1)
{{ __('Up to') }} {{ $enabled }}
{{ ucfirst(str_replace('_', ' ', $feature)) }}
@else
{{ ucfirst(str_replace('_', ' ', $feature)) }}
@endif
@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