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.95 app/views/educode_sales/teacher_follows/index.json.jbuilder
educode_sales-0.9.94 app/views/educode_sales/teacher_follows/index.json.jbuilder
educode_sales-0.9.93 app/views/educode_sales/teacher_follows/index.json.jbuilder
educode_sales-0.9.92 app/views/educode_sales/teacher_follows/index.json.jbuilder
educode_sales-0.9.91 app/views/educode_sales/teacher_follows/index.json.jbuilder
educode_sales-0.9.90 app/views/educode_sales/teacher_follows/index.json.jbuilder
educode_sales-0.9.89 app/views/educode_sales/teacher_follows/index.json.jbuilder
educode_sales-0.9.86 app/views/educode_sales/teacher_follows/index.json.jbuilder
educode_sales-0.9.84 app/views/educode_sales/teacher_follows/index.json.jbuilder
educode_sales-0.9.83 app/views/educode_sales/teacher_follows/index.json.jbuilder
educode_sales-0.9.82 app/views/educode_sales/teacher_follows/index.json.jbuilder
educode_sales-0.9.81 app/views/educode_sales/teacher_follows/index.json.jbuilder
educode_sales-0.9.80 app/views/educode_sales/teacher_follows/index.json.jbuilder
educode_sales-0.9.79 app/views/educode_sales/teacher_follows/index.json.jbuilder
educode_sales-0.9.78 app/views/educode_sales/teacher_follows/index.json.jbuilder
educode_sales-0.9.77 app/views/educode_sales/teacher_follows/index.json.jbuilder
educode_sales-0.9.76 app/views/educode_sales/teacher_follows/index.json.jbuilder
educode_sales-0.9.75 app/views/educode_sales/teacher_follows/index.json.jbuilder
educode_sales-0.9.74 app/views/educode_sales/teacher_follows/index.json.jbuilder
educode_sales-0.9.73 app/views/educode_sales/teacher_follows/index.json.jbuilder