Sha256: f55c04b8c39ff58c94c95014447ba9bf4606ce85bdc717461dd638d2b4681896

Contents?: true

Size: 748 Bytes

Versions: 3

Compression:

Stored size: 748 Bytes

Contents

json.data do
  json.array!  @follow_ups do |d|
    json.id d.id
    json.created_at d.created_at.to_s
    json.time d.created_at.to_s(:date)
    json.teacher_attitude EducodeSales::Common.find_by(id: d.attitude_id).name
    json.course_plan EducodeSales::Common.find_by(id: d.course_plan_id).name
    json.course_build EducodeSales::Common.find_by(id: d.course_build_id).name
    json.contact EducodeSales::Common.find_by(id: d.follow_id).name
    json.staff d.staff.user.real_name
    json.students_count d.students_count
    json.courses_count d.courses_count
    json.evaluates_count d.evaluates_count
    json.course_shixuns_count d.course_shixuns_count
    json.shixuns_count d.shixuns_count
  end
end

json.code 0
json.count @follow_ups.count

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
educode_sales-0.1.4 app/views/educode_sales/teachers/show_follow.json.jbuilder
educode_sales-0.1.3 app/views/educode_sales/teachers/show_follow.json.jbuilder
educode_sales-0.1.2 app/views/educode_sales/teachers/show_follow.json.jbuilder