Sha256: c89dcbb3afc3056ffb97007779dbc6585fe251b37560d50426afada3f42045d9

Contents?: true

Size: 526 Bytes

Versions: 22

Compression:

Stored size: 526 Bytes

Contents

json.data do
  json.array! @follow_ups do |d|
    json.(d, *d.attributes.keys)
    json.status d.idea&.status
    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
    json.is_latest d.id == @latest.id
  end
end

json.code 0
json.count @follow_ups.total_count

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
educode_sales-1.10.74 app/views/educode_sales/ideas/follow_list.json.jbuilder
educode_sales-1.10.73 app/views/educode_sales/ideas/follow_list.json.jbuilder
educode_sales-1.10.72 app/views/educode_sales/ideas/follow_list.json.jbuilder
educode_sales-1.10.71 app/views/educode_sales/ideas/follow_list.json.jbuilder
educode_sales-1.10.70 app/views/educode_sales/ideas/follow_list.json.jbuilder
educode_sales-1.10.59 app/views/educode_sales/ideas/follow_list.json.jbuilder
educode_sales-1.10.58 app/views/educode_sales/ideas/follow_list.json.jbuilder
educode_sales-1.10.49 app/views/educode_sales/ideas/follow_list.json.jbuilder
educode_sales-1.10.48 app/views/educode_sales/ideas/follow_list.json.jbuilder
educode_sales-1.10.46 app/views/educode_sales/ideas/follow_list.json.jbuilder
educode_sales-1.10.41 app/views/educode_sales/ideas/follow_list.json.jbuilder
educode_sales-1.10.37 app/views/educode_sales/ideas/follow_list.json.jbuilder
educode_sales-1.10.36 app/views/educode_sales/ideas/follow_list.json.jbuilder
educode_sales-1.10.35 app/views/educode_sales/ideas/follow_list.json.jbuilder
educode_sales-1.10.34 app/views/educode_sales/ideas/follow_list.json.jbuilder
educode_sales-1.10.33 app/views/educode_sales/ideas/follow_list.json.jbuilder
educode_sales-1.10.31 app/views/educode_sales/ideas/follow_list.json.jbuilder
educode_sales-1.10.30 app/views/educode_sales/ideas/follow_list.json.jbuilder
educode_sales-1.10.29 app/views/educode_sales/ideas/follow_list.json.jbuilder
educode_sales-1.10.28 app/views/educode_sales/ideas/follow_list.json.jbuilder