Sha256: e43b7c4fba938751c1b752308310899327263fb42a193db490efaae9955a0049
Contents?: true
Size: 803 Bytes
Versions: 1
Compression:
Stored size: 803 Bytes
Contents
json.data do json.array! @follow_ups do |d| json.id d.id json.clazz d.clazz.name json.stage d.stage.name json.staff d.staff.user.real_name json.clazz EducodeSales::FollowUpTrend.clazzs.invert[d['clazz']] json.description d['content'] json.school d.business.department&.school&.name json.school_id d.business.department&.school&.id json.signed_department d.signed_department&.school&.name || '' json.created_at d.created_at.to_s json.business d.business.name json.business_id d.business.id json.staff_manages d.business.last_follow_up&.assign_follow_ups.present? ? (d.business.last_follow_up.assign_follow_ups.map{ |d| d.staff.user.real_name}.join("、")) : d.business.staff&.user&.real_name end end json.code 0 json.count @follow_ups.total_count
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
educode_sales-0.9.76 | app/views/educode_sales/contracts/follow_ups.json.jbuilder |