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-0.9.92 app/views/educode_sales/ideas/follow_ups.json.jbuilder
educode_sales-0.9.91 app/views/educode_sales/ideas/follow_ups.json.jbuilder
educode_sales-0.9.90 app/views/educode_sales/ideas/follow_ups.json.jbuilder
educode_sales-0.9.89 app/views/educode_sales/ideas/follow_ups.json.jbuilder
educode_sales-0.9.86 app/views/educode_sales/ideas/follow_ups.json.jbuilder
educode_sales-0.9.84 app/views/educode_sales/ideas/follow_ups.json.jbuilder
educode_sales-0.9.83 app/views/educode_sales/ideas/follow_ups.json.jbuilder
educode_sales-0.9.82 app/views/educode_sales/ideas/follow_ups.json.jbuilder
educode_sales-0.9.81 app/views/educode_sales/ideas/follow_ups.json.jbuilder
educode_sales-0.9.80 app/views/educode_sales/ideas/follow_ups.json.jbuilder
educode_sales-0.9.79 app/views/educode_sales/ideas/follow_ups.json.jbuilder
educode_sales-0.9.78 app/views/educode_sales/ideas/follow_ups.json.jbuilder
educode_sales-0.9.77 app/views/educode_sales/ideas/follow_ups.json.jbuilder
educode_sales-0.9.76 app/views/educode_sales/ideas/follow_ups.json.jbuilder
educode_sales-0.9.75 app/views/educode_sales/ideas/follow_ups.json.jbuilder
educode_sales-0.9.74 app/views/educode_sales/ideas/follow_ups.json.jbuilder