Sha256: 6f2d2fba339f612682167aa5979826b9821c0bc0fc2f77bc9a47694a78a51ec8

Contents?: true

Size: 268 Bytes

Versions: 193

Compression:

Stored size: 268 Bytes

Contents

json.data do
  json.array! @data do |d|
      json.value d.id
      if d.department.present?
        json.name "#{d.name}(#{d.department&.school&.name}-#{d.department&.name})"
      else
        json.name "#{d.name}"
      end
  end
end
json.code 0
json.msg 'succcess'

Version data entries

193 entries across 193 versions & 1 rubygems

Version Path
educode_sales-1.10.26 app/views/educode_sales/home/search_operation_teacher.json.jbuilder
educode_sales-1.10.25 app/views/educode_sales/home/search_operation_teacher.json.jbuilder
educode_sales-1.10.24 app/views/educode_sales/home/search_operation_teacher.json.jbuilder
educode_sales-1.10.23 app/views/educode_sales/home/search_operation_teacher.json.jbuilder
educode_sales-1.10.22 app/views/educode_sales/home/search_operation_teacher.json.jbuilder
educode_sales-1.10.21 app/views/educode_sales/home/search_operation_teacher.json.jbuilder
educode_sales-1.10.20 app/views/educode_sales/home/search_operation_teacher.json.jbuilder
educode_sales-1.10.19 app/views/educode_sales/home/search_operation_teacher.json.jbuilder
educode_sales-1.10.18 app/views/educode_sales/home/search_operation_teacher.json.jbuilder
educode_sales-1.10.17 app/views/educode_sales/home/search_operation_teacher.json.jbuilder
educode_sales-1.10.16 app/views/educode_sales/home/search_operation_teacher.json.jbuilder
educode_sales-1.10.15 app/views/educode_sales/home/search_operation_teacher.json.jbuilder
educode_sales-1.10.14 app/views/educode_sales/home/search_operation_teacher.json.jbuilder
educode_sales-1.10.13 app/views/educode_sales/home/search_operation_teacher.json.jbuilder
educode_sales-1.10.12 app/views/educode_sales/home/search_operation_teacher.json.jbuilder
educode_sales-1.10.11 app/views/educode_sales/home/search_operation_teacher.json.jbuilder
educode_sales-1.10.10 app/views/educode_sales/home/search_operation_teacher.json.jbuilder
educode_sales-1.10.9 app/views/educode_sales/home/search_operation_teacher.json.jbuilder
educode_sales-1.10.8 app/views/educode_sales/home/search_operation_teacher.json.jbuilder
educode_sales-1.10.7 app/views/educode_sales/home/search_operation_teacher.json.jbuilder