app/views/educode_sales/teachers/index.json.jbuilder in educode_sales-1.0.5 vs app/views/educode_sales/teachers/index.json.jbuilder in educode_sales-1.0.6
- old
+ new
@@ -44,9 +44,10 @@
json.created_at d.created_at.to_s(:date)
json.teacher_assist d.teacher_assign_follows.map{|t| t.staff.user.real_name}.join(',')
teacher_follows_count += d.teacher_follows_count
courses_counts += d.courses_count
json.realname d.realname
+ json.is_contact d.follow_up&.is_contact ? "是":"否"
end
end
json.totalRow do
json.teacher_follows_count teacher_follows_count.to_s
\ No newline at end of file