@if ($plan->trial_days > 0)
{!! $plan->name !!}
@if ($plan['trial_days'] > 0)
@endif
@if ($plan->custom_select == 1 && $plan->planCustomFields->isNotEmpty())
@else
@endif
@if ($plan->custom_select == 1 && $plan->planCustomFields->isNotEmpty())
{{ $plan->currency->currency_icon }}
{{ $plan->planCustomFields[0]->custom_vcard_price }}
@if ($plan->frequency == 1)
/ {{ __('messages.plan.monthly') }}
@elseif($plan->frequency == 2)
/ {{ __('messages.plan.yearly') }}
@endif
@else
id }}"">
{{ $plan->currency->currency_icon }}{{ $plan->price }}
@if ($plan->frequency == 1)
/ {{ __('messages.plan.monthly') }}
@elseif($plan->frequency == 2)
/ {{ __('messages.plan.yearly') }}
@endif
@endif
@foreach (getPlanFeature($plan) as $feature => $value)
-
@if (checkFrontLanguageSession() == 'ar')
{{ __('messages.feature.' . $feature) }}
@else
{{ __('messages.feature.' . $feature) }}
@endif
@endforeach
@if (getLoggedInUserRoleId() != getSuperAdminRoleId())
@if (getLogInUser() && getLoggedInUserRoleId() != getSuperAdminRoleId())
@if (
!empty(getCurrentSubscription()) &&
$plan->id == getCurrentSubscription()->plan_id &&
!getCurrentSubscription()->isExpired())
@if ($plan->price != 0)
@else
@endif
@else
@if (
!empty(getCurrentSubscription()) &&
!getCurrentSubscription()->isExpired() &&
($plan->price == 0 || $plan->price != 0))
@if ($plan->hasZeroPlan->count() == 0)
{{ __('messages.subscription.switch_plan') }}
@else
@endif
@else
@if ($plan->hasZeroPlan->count() == 0)
{{ __('messages.subscription.choose_plan') }}
@else
@endif
@endif
@endif
@else
@endif
@endif