{{ Form::label('name', __('messages.subscription_plan.name').(':'), ['class' => 'pb-2 fs-4 text-gray-600']) }} {{ $subscriptionPlans->name }}
{{ Form::label('currency', __('messages.subscription_plan.currency').(':'), ['class' => 'pb-2 fs-4 text-gray-600']) }} {{ strtoupper($subscriptionPlans->currency) }}
{{ Form::label('price', __('messages.subscription_plan.price').(':'), ['class' => 'pb-2 fs-4 text-gray-600']) }} {{ getSubscriptionPlanCurrencyIcon($subscriptionPlans->currency) }} {{ number_format($subscriptionPlans->price) }}
{{ Form::label('plan_type', __('messages.subscription_plan.plan_type').(':'), ['class' => 'pb-2 fs-4 text-gray-600']) }}

@if($subscriptionPlans->frequency == \App\Models\SubscriptionPlan::MONTH) {{ \App\Models\SubscriptionPlan::PLAN_TYPE[$subscriptionPlans->frequency] }} @elseif($subscriptionPlans->frequency == \App\Models\SubscriptionPlan::YEAR) {{ \App\Models\SubscriptionPlan::PLAN_TYPE[$subscriptionPlans->frequency] }} @elseif ($subscriptionPlans->frequency == \App\Models\SubscriptionPlan::UNLIMITED) {{ \App\Models\SubscriptionPlan::PLAN_TYPE[$subscriptionPlans->frequency] }} @else {{ __('messages.common.n/a') }} @endif

{{ Form::label('valid_until', __('messages.subscription_plan.valid_until').(':'), ['class' => 'pb-2 fs-4 text-gray-600']) }} {{ $subscriptionPlans->trial_days != 0 ? $subscriptionPlans->trial_days : __('messages.common.n/a') }}
{{ Form::label('active_plan', __('messages.subscription_plan.active_plan').(':'), ['class' => 'pb-2 fs-4 text-gray-600']) }} {{ $subscriptionPlans->subscriptions->count() }}
{{ Form::label('active_plan', __('messages.events').(':'), ['class' => 'pb-2 fs-4 text-gray-600']) }} @if ($subscriptionPlans->planFeature->events == -1) {{__('messages.common.unlimited')}} @else {{$subscriptionPlans->planFeature->events }} @endif
{{ Form::label('active_plan', __('messages.schedule_events').(':'), ['class' => 'pb-2 fs-4 text-gray-600']) }} @if ($subscriptionPlans->planFeature->schedule_events == -1 ) {{__('messages.common.unlimited')}} @else {{ $subscriptionPlans->planFeature->schedule_events }} @endif
{{ Form::label('created_at', __('messages.common.created_on').(':'), ['class' => 'pb-2 fs-4 text-gray-600']) }} {{ $subscriptionPlans->created_at->diffForHumans() }}
{{ Form::label('updated_at', __('messages.common.updated_at').(':'), ['class' => 'pb-2 fs-4 text-gray-600']) }} {{ $subscriptionPlans->updated_at->diffForHumans() }}