@include('helpers.form_control', [ 'type' => 'text', 'name' => 'name', 'value' => $plan->name, 'help_class' => 'plan', 'rules' => $plan->rules() ])
@include('helpers.form_control', [ 'type' => 'select', 'class' => '', 'name' => 'color', 'value' => $plan->color, 'help_class' => 'admin', 'options' => $plan->colors("color"), 'rules' => '', ])
@include('helpers.form_control', [ 'type' => 'select_ajax', 'name' => 'currency_id', 'label' => trans('messages.currency'), 'selected' => [ 'value' => $plan->currency_id, 'text' => is_object($plan->currency) ? $plan->currency->displayName() : '' ], 'help_class' => 'plan', 'rules' => $plan->rules(), 'url' => action('Admin\CurrencyController@select2'), 'placeholder' => trans('messages.select_currency') ])
@include('helpers.form_control', [ 'class' => 'numeric', 'type' => 'text', 'name' => 'price', 'value' => $plan->price, 'help_class' => 'plan', 'rules' => $plan->rules() ])
@include('helpers.form_control', [ 'class' => 'numeric', 'type' => 'text', 'name' => 'frequency_amount', 'value' => $plan->frequency_amount, 'help_class' => 'plan', 'rules' => $plan->rules() ])
@include('helpers.form_control', ['type' => 'select', 'name' => 'frequency_unit', 'value' => $plan->frequency_unit, 'options' => $plan->timeUnitOptions(), 'include_blank' => trans('messages.choose'), 'help_class' => 'plan', 'rules' => $plan->rules() ])
@include('helpers.form_control', [ 'class' => '', 'type' => 'checkbox', 'name' => 'tax_billing_required', 'value' => $plan->tax_billing_required, 'options' => [false,true], 'help_class' => 'plan', 'rules' => $plan->rules() ])
@include('admin.plans._options')