Sha256: b41272006c21ba4160522976e3252825b7daef12a704ee4cd8f11a5dae92abc4
Contents?: true
Size: 708 Bytes
Versions: 22
Compression:
Stored size: 708 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_rate ? "#{d.divide_rate}%" : "" 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
22 entries across 22 versions & 1 rubygems