app/views/educode_sales/teachers/index.json.jbuilder in educode_sales-0.6.1 vs app/views/educode_sales/teachers/index.json.jbuilder in educode_sales-0.6.2

- old
+ new

@@ -16,10 +16,10 @@ json.source EducodeSales::Common.teacher_source_name[d.source_id] json.attitude d.follow_up&.attitude&.name json.courses_count d.courses_count json.actives d.actives json.students d.students_count - json.regist_at d.user.present? ? d.user.created_on.to_s(:date) : '' + json.created_on d.user.present? ? d.user.created_on.to_s(:date) : '' json.last_login_on (d.user.present? && d.user.last_login_on.present?) ? d.user.last_login_on.to_s(:date) : '' json.teacher_used d.teacher_used json.wechat d.wechat json.created_at d.created_at.to_s(:date) json.teacher_assist d.teacher_assign_follows.map{|t| t.staff.user.real_name}.join(',') \ No newline at end of file