Sha256: 32ba3a13ed6214ab073411a7cd7d6c64e4a4560adf3b844d4b71f5f16e58e8ca

Contents?: true

Size: 952 Bytes

Versions: 5

Compression:

Stored size: 952 Bytes

Contents

json.data do
  json.array! @data do |d|
    json.id d.id
    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.target_2 d.target_2
    json.target_3 d.target_3
    json.target_4 d.target_4
    json.target_5 d.target_5
    json.target_6 d.target_6
    json.target_7 d.target_7
    json.target_8 d.target_8
    json.target_9 d.target_9
    json.target_10 d.target_10
    json.target_11 d.target_11
    json.target_12 d.target_12
    json.updated_at d.updated_at.to_s(:date)
    json.created_at d.created_at.to_s(:date)

  end
end

json.code 0
json.count @data.total_count

Version data entries

5 entries across 5 versions & 1 rubygems

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