Sha256: 76faef6ecc3e7d55b660192e2e57ecabf674dd724ae07317a04bb2dd8e1e2949

Contents?: true

Size: 401 Bytes

Versions: 106

Compression:

Stored size: 401 Bytes

Contents

json.data do
  json.array! @teachers do |d|
    json.id d.id
    json.name d.name
    json.professional_title d.professional_title
    json.job d.job
    json.attitude_id d.attitude_id.present? ? d.attitude_id : ''
    json.attitude d.attitude&.name
    json.sex d.sex
    json.birth_date d.birth_date
    json.remark d.remark
    json.tel d.tel
  end
end

json.code 0
json.count @teachers.total_count

Version data entries

106 entries across 53 versions & 1 rubygems

Version Path
educode_sales-1.10.41 app/views/educode_sales/businesses/key_person.json.jbuilder
educode_sales-1.10.41 app/views/educode_sales/follow_ups/teachers.json.jbuilder
educode_sales-1.10.37 app/views/educode_sales/businesses/key_person.json.jbuilder
educode_sales-1.10.37 app/views/educode_sales/follow_ups/teachers.json.jbuilder
educode_sales-1.10.36 app/views/educode_sales/follow_ups/teachers.json.jbuilder
educode_sales-1.10.36 app/views/educode_sales/businesses/key_person.json.jbuilder
educode_sales-1.10.35 app/views/educode_sales/follow_ups/teachers.json.jbuilder
educode_sales-1.10.35 app/views/educode_sales/businesses/key_person.json.jbuilder
educode_sales-1.10.34 app/views/educode_sales/businesses/key_person.json.jbuilder
educode_sales-1.10.34 app/views/educode_sales/follow_ups/teachers.json.jbuilder
educode_sales-1.10.33 app/views/educode_sales/businesses/key_person.json.jbuilder
educode_sales-1.10.33 app/views/educode_sales/follow_ups/teachers.json.jbuilder
educode_sales-1.10.31 app/views/educode_sales/businesses/key_person.json.jbuilder
educode_sales-1.10.31 app/views/educode_sales/follow_ups/teachers.json.jbuilder
educode_sales-1.10.30 app/views/educode_sales/follow_ups/teachers.json.jbuilder
educode_sales-1.10.30 app/views/educode_sales/businesses/key_person.json.jbuilder
educode_sales-1.10.29 app/views/educode_sales/follow_ups/teachers.json.jbuilder
educode_sales-1.10.29 app/views/educode_sales/businesses/key_person.json.jbuilder
educode_sales-1.10.28 app/views/educode_sales/businesses/key_person.json.jbuilder
educode_sales-1.10.28 app/views/educode_sales/follow_ups/teachers.json.jbuilder