Sha256: 1f8e1b7be920f95fd20f2f7e6265a15ad0be94ceb09cef9196b0338f467e4152
Contents?: true
Size: 706 Bytes
Versions: 1
Compression:
Stored size: 706 Bytes
Contents
json.data do json.array! @follow_ups do |d| json.id d.id json.created_at d.created_at.to_s json.clazz d.clazz.name json.stage d.stage.name json.teachers_count d.key_people_count json.invitation_at d.invitation_at&.to_s(:date) json.reception_at d.reception_at&.to_s(:date) json.total_amount d.total_amount json.actual_amount d.actual_amount json.divide_rate d.divide_amount ? d.divide_amount : "" json.staff d.staff.user.real_name json.place d.place&.name json.money_plans_count d.money_plans_count json.money d.money_plans.where(clazz: 1).sum(:amount) json.is_latest d.id == @latest&.id 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.4.3 | app/views/educode_sales/businesses/show_follow.json.jbuilder |