Sha256: db5700ed62edb564921316c4b7d147c15f26b0c4d2c69597a428874e05696840
Contents?: true
Size: 540 Bytes
Versions: 2
Compression:
Stored size: 540 Bytes
Contents
json.data do json.array! @sale_plans do |d| json.id d.id json.staff d.staff.user.real_name json.business_name d.business.name json.department d.business.department&.name json.school d.business.department&.school&.name json.month d.month.strftime("%Y-%m") json.business_id d.business_id json.content d.content.truncate(40) json.follow_ups_count d.business.follow_ups_count json.finish_rate "#{d.finish_rate}%" json.updated_at d.updated_at.to_s end end json.code 0 json.count @sale_plans.count
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
educode_sales-0.1.4 | app/views/educode_sales/plans/my_month.json.jbuilder |
educode_sales-0.1.3 | app/views/educode_sales/plans/my_month.json.jbuilder |