Sha256: 37ce942b1e9227607325292fe48a48f04de9c7d61b3c3583516a587a88563456

Contents?: true

Size: 444 Bytes

Versions: 56

Compression:

Stored size: 444 Bytes

Contents

json.data do
  json.array! @data do |d|
    json.(d, *d.attributes.keys)
    json.name d.idea&.business&.name || d.idea&.name
    json.school_name d.idea&.business&.department&.school&.name
    json.created_at d.created_at.strftime("%Y-%m-%d %H:%M:%S")
    json.staff d.staff&.user&.real_name
    json.sale_staff d.sale_staff&.user&.real_name
    json.idea_staff d.idea_staff&.user&.real_name
  end
end

json.code 0
json.count @data.total_count

Version data entries

56 entries across 56 versions & 1 rubygems

Version Path
educode_sales-1.10.23 app/views/educode_sales/ideas/follow_ups.json.jbuilder
educode_sales-1.10.22 app/views/educode_sales/ideas/follow_ups.json.jbuilder
educode_sales-1.10.21 app/views/educode_sales/ideas/follow_ups.json.jbuilder
educode_sales-1.10.20 app/views/educode_sales/ideas/follow_ups.json.jbuilder
educode_sales-1.10.19 app/views/educode_sales/ideas/follow_ups.json.jbuilder
educode_sales-1.10.18 app/views/educode_sales/ideas/follow_ups.json.jbuilder
educode_sales-1.10.17 app/views/educode_sales/ideas/follow_ups.json.jbuilder
educode_sales-1.10.16 app/views/educode_sales/ideas/follow_ups.json.jbuilder
educode_sales-1.10.15 app/views/educode_sales/ideas/follow_ups.json.jbuilder
educode_sales-1.10.14 app/views/educode_sales/ideas/follow_ups.json.jbuilder
educode_sales-1.10.13 app/views/educode_sales/ideas/follow_ups.json.jbuilder
educode_sales-1.10.12 app/views/educode_sales/ideas/follow_ups.json.jbuilder
educode_sales-1.10.11 app/views/educode_sales/ideas/follow_ups.json.jbuilder
educode_sales-1.10.10 app/views/educode_sales/ideas/follow_ups.json.jbuilder
educode_sales-1.10.9 app/views/educode_sales/ideas/follow_ups.json.jbuilder
educode_sales-1.10.8 app/views/educode_sales/ideas/follow_ups.json.jbuilder
educode_sales-1.10.7 app/views/educode_sales/ideas/follow_ups.json.jbuilder
educode_sales-1.10.6 app/views/educode_sales/ideas/follow_ups.json.jbuilder
educode_sales-1.10.5 app/views/educode_sales/ideas/follow_ups.json.jbuilder
educode_sales-1.10.3 app/views/educode_sales/ideas/follow_ups.json.jbuilder