Sha256: 9e0edb531cdfa325cbe5b1cc2c90a876d4485d8c3adc56eda5572e8086d71ac7
Contents?: true
Size: 528 Bytes
Versions: 2
Compression:
Stored size: 528 Bytes
Contents
json.data do json.array! @sale_plans do |d| json.id d.id json.staff d.staff.user.real_name json.teacher_name d.teacher.name json.department d.teacher.department&.name json.school d.teacher.department&.school&.name json.month d.month.strftime("%Y-%m") json.teacher_id d.teacher_id json.content d.content.truncate(30) # json.follow_ups_count d.teacher.follow_ups_count json.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.3 | app/views/educode_sales/operation_plans/my_month.json.jbuilder |
educode_sales-0.1.2 | app/views/educode_sales/operation_plans/my_month.json.jbuilder |