Sha256: 887aacca1c86af4f327bd07aaf74fa6a0eff7f4a0decac91d35d2ba0fa39f33c

Contents?: true

Size: 1.32 KB

Versions: 6

Compression:

Stored size: 1.32 KB

Contents

json.data do
  json.array! @data do |d|
    json.id d.id
    json.num d.num
    json.is_use d.is_use
    json.staff d.staff.user.real_name
    json.staff_id d.staff_id
    json.school_tag d.school_tag.name
    json.school_tag_id d.school_tag_id
    json.year d.year
    json.target_clazz d.target_clazz
    json.year_target d.year_target
    json.year_finish d.year_finish
    json.year_diff d.year_diff
    json.reviewer d.reviewer&.user&.real_name
    json.comment d.comment
    json.state d.state
    json.target_1 d.target_1
    json.m_target_1 d.m_target_1
    json.target_2 d.target_2
    json.m_target_2 d.m_target_2
    json.target_3 d.target_3
    json.m_target_3 d.m_target_3
    json.target_4 d.target_4
    json.m_target_4 d.m_target_4
    json.target_5 d.target_5
    json.m_target_5 d.m_target_5
    json.target_6 d.target_6
    json.m_target_6 d.m_target_6
    json.target_7 d.target_7
    json.m_target_7 d.m_target_7
    json.target_8 d.target_8
    json.m_target_8 d.m_target_8
    json.target_9 d.target_9
    json.m_target_9 d.m_target_9
    json.target_10 d.target_10
    json.m_target_10 d.m_target_10
    json.target_11 d.target_11
    json.m_target_11 d.m_target_11
    json.target_12 d.target_12
    json.m_target_12 d.m_target_12
    json.updated_at d.updated_at.to_s(:date)

  end
end

json.code 0
json.count @data.total_count

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
educode_sales-1.10.74 app/views/educode_sales/plans/year_target.json.jbuilder
educode_sales-1.10.73 app/views/educode_sales/plans/year_target.json.jbuilder
educode_sales-1.10.72 app/views/educode_sales/plans/year_target.json.jbuilder
educode_sales-1.10.71 app/views/educode_sales/plans/year_target.json.jbuilder
educode_sales-1.10.70 app/views/educode_sales/plans/year_target.json.jbuilder
educode_sales-1.10.59 app/views/educode_sales/plans/year_target.json.jbuilder