{{ Form::label('name', __('messages.common.name').':', ['class' => 'form-label required']) }}
{{ Form::text('name', isset($plan) ? $plan->name : null, ['class' => 'form-control', 'placeholder' => __('messages.form.plan_name'), 'required']) }}
{{ Form::label('frequency', __('messages.plan.frequency').':',['class' => 'form-label required']) }}
{{ Form::select('frequency', \App\Models\Plan::DURATION, isset($plan) ? $plan->frequency : null, ['class' => 'form-control', 'required', 'data-control' => 'select2']) }}
{{ Form::label('currency_id', __('messages.plan.currency').':',['class' => 'form-label required']) }}
{{ Form::select('currency_id', getCurrencies(), isset($plan) ? $plan->currency_id : null, ['class' => 'form-control select2Selector', 'required','placeholder' => __('messages.form.select_currency'), 'data-control' => 'select2', 'required']) }}
{!! Form::label('price', __('messages.plan.price').':',['class' => 'form-label required']) !!}
{!! Form::text('price', isset($plan) ? ($plan->price) : null, ['class' => 'form-control price-format-input', 'min'=>'0', 'step' => '0.01', 'placeholder' => __('messages.form.price'), 'required', isset($plan) && $plan->is_trial ? 'disabled' : '',]) !!}
{!! Form::label('no_of_vcards', __('messages.plan.no_of_vcards').':',['class' => 'form-label required']) !!}
{!! Form::number('no_of_vcards', isset($plan) ? $plan->no_of_vcards : null, ['class' => 'form-control', 'min'=>'1', 'placeholder' => __('messages.form.allowed_vcard'), 'required']) !!}
{!! Form::label('trial_days', __('messages.plan.trial_days').':',['class' => 'form-label']) !!}
{!! Form::number('trial_days', isset($plan) ? $plan->trial_days : null, ['class' => 'form-control', 'placeholder' => __('messages.form.enter_trial')]) !!}
{{ Form::label('template', __('messages.plan.multi_templates').':', ['class' => 'form-label required']) }}
{{ Form::label('feature', __('messages.plan.features').':', ['class' => 'form-label required']) }}