@inject('role_helper', 'App\Helpers\RoleHelper')
{{ ym_input(['label' => __('form.name'), 'type' => 'text', 'name' => 'service_name', 'required' => true]) }}
{{ ym_select([
'label' => __('form.service_group'),
'type' => 'select',
'name' => 'service_group',
'required' => true,
'options' => config('dropdown.service_group'),
'value' => $model->service_group
]) }}
{{ ym_input(['label' => __('form.service_amount'), 'type' => 'number', 'name' => 'service_amount', 'required' => true]) }}
{{ ym_input(['label' => __('form.service_validity_days'), 'type' => 'number', 'name' => 'service_validity_days', 'required' => true]) }}
{{ ym_input(['label' => __('form.discount_pct'), 'type' => 'number', 'name' => 'discount_pct', 'required' => true, 'min:0', 'max:100']) }}
{{ ym_input(['label' => __('form.discount_start'), 'type' => 'date', 'name' => 'discount_start']) }}
{{ ym_input(['label' => __('form.discount_end'), 'type' => 'date', 'name' => 'discount_end']) }}
{{ ym_textarea(['label' => __('form.description'), 'type' => 'textarea', 'name' => 'service_description']) }}