app/views/educode_sales/sales/index.json.jbuilder in educode_sales-0.6.2 vs app/views/educode_sales/sales/index.json.jbuilder in educode_sales-0.6.3

- old
+ new

@@ -98,10 +98,10 @@ json.business_c businesses_c_count.to_s json.business_d businesses_d_count.to_s json.business_e businesses_e_count.to_s json.business_o businesses_o_count.to_s json.school_count school_counts.to_s - json.follow_school_rate (follow_school_rates.to_f / @staffs.size).to_s + '%' - json.follow_department_rate (follow_department_rates.to_f / @staffs.size).to_s + '%' + json.follow_school_rate (follow_school_rates.to_f / @staffs.size).round(2).to_s + '%' + json.follow_department_rate (follow_department_rates.to_f / @staffs.size).round(2).to_s + '%' end json.code 0 json.count @staffs.total_count \ No newline at end of file