Sha256: 2d642c3b16a42510cb7b4857b0f264bb736145707f6b0fb3b5abffabf96ec00d

Contents?: true

Size: 653 Bytes

Versions: 104

Compression:

Stored size: 653 Bytes

Contents

json.data do
  json.array! @follow_ups do |d|
    json.id d.id
    json.staff_manage @staff_manages[d.teacher&.department&.school&.province]&.join(",")
    json.attitude d.attitude.name
    json.staff d.staff&.user.real_name
    json.description d.description
    json.advise d.advise || ''
    json.school d.teacher&.department&.school&.name || ''
    json.school_id d.teacher&.department&.school&.id
    json.created_at d.created_at.to_s
    json.teacher_id d.teacher_id
    json.teacher d.teacher&.name || ''
    json.login d.teacher&.user&.login || ''
    json.mobile d.teacher&.mobile || ''
  end
end

json.code 0
json.count @follow_ups.total_count

Version data entries

104 entries across 104 versions & 1 rubygems

Version Path
educode_sales-0.9.52 app/views/educode_sales/teacher_follows/index.json.jbuilder
educode_sales-0.9.51 app/views/educode_sales/teacher_follows/index.json.jbuilder
educode_sales-0.9.50 app/views/educode_sales/teacher_follows/index.json.jbuilder
educode_sales-0.9.49 app/views/educode_sales/teacher_follows/index.json.jbuilder