Sha256: 1ce654dc69bd6d9e706a353a338e6e379b63f3fd16b1069b7d4ede4319622953

Contents?: true

Size: 549 Bytes

Versions: 474

Compression:

Stored size: 549 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.week d.weekly
    json.teacher_id d.teacher_id
    json.content d.content.truncate(30)
    json.count d.teacher.teacher_follows_count
    json.rate "#{d.finish_rate}%"
    json.updated_at d.updated_at.to_s
  end
end

json.code 0
json.count @sale_plans.total_count

Version data entries

474 entries across 223 versions & 1 rubygems

Version Path
educode_sales-1.10.16 app/views/educode_sales/operation_plans/my_week.json.jbuilder
educode_sales-1.10.16 app/views/educode_sales/operation_reports/plans.json.jbuilder
educode_sales-1.10.15 app/views/educode_sales/operation_plans/my_week.json.jbuilder
educode_sales-1.10.15 app/views/educode_sales/operation_reports/plans.json.jbuilder
educode_sales-1.10.14 app/views/educode_sales/operation_plans/my_week.json.jbuilder
educode_sales-1.10.14 app/views/educode_sales/operation_reports/plans.json.jbuilder
educode_sales-1.10.13 app/views/educode_sales/operation_plans/my_week.json.jbuilder
educode_sales-1.10.13 app/views/educode_sales/operation_reports/plans.json.jbuilder
educode_sales-1.10.12 app/views/educode_sales/operation_plans/my_week.json.jbuilder
educode_sales-1.10.12 app/views/educode_sales/operation_reports/plans.json.jbuilder
educode_sales-1.10.11 app/views/educode_sales/operation_plans/my_week.json.jbuilder
educode_sales-1.10.11 app/views/educode_sales/operation_reports/plans.json.jbuilder
educode_sales-1.10.10 app/views/educode_sales/operation_reports/plans.json.jbuilder
educode_sales-1.10.10 app/views/educode_sales/operation_plans/my_week.json.jbuilder
educode_sales-1.10.9 app/views/educode_sales/operation_reports/plans.json.jbuilder
educode_sales-1.10.9 app/views/educode_sales/operation_plans/my_week.json.jbuilder
educode_sales-1.10.8 app/views/educode_sales/operation_reports/plans.json.jbuilder
educode_sales-1.10.8 app/views/educode_sales/operation_plans/my_week.json.jbuilder
educode_sales-1.10.7 app/views/educode_sales/operation_reports/plans.json.jbuilder
educode_sales-1.10.7 app/views/educode_sales/operation_plans/my_week.json.jbuilder