app/views/educode_sales/assessments/new.html.erb in educode_sales-0.9.26 vs app/views/educode_sales/assessments/new.html.erb in educode_sales-0.9.27
- old
+ new
@@ -5,14 +5,15 @@
<div class="layui-form-item" style="padding: 25px">
<div class="layui-inline">
<label class="layui-form-label required ">考核指标</label>
<div class="layui-input-inline">
<select name="assessment" lay-verify="required" lay-filter="new_assessment_id" >
- <option value="0" selected ></option>
+ <%= options_for_select EducodeSales::AssessmentsSetting::CLAZZ.invert.to_a %>
+ <!-- <option value="0" selected ></option>
<option value="1">签单金额</option>
<option value="2">回款金额</option>
<option value="3">拜访量</option>
- <option value="4">新增商机数</option>
+ <option value="4">新增商机数</option> -->
</select>
</div>
</div>
<div class="layui-inline">
<label class="layui-form-label required">考核人员</label>
\ No newline at end of file