Sha256: 958c166c0826c868feea6418544047580e98faa701b9fd9bbcc673193a0198c7

Contents?: true

Size: 532 Bytes

Versions: 85

Compression:

Stored size: 532 Bytes

Contents

json.data do
  json.array! @plans do |d|
    json.id d.id
    json.name EducodeSales::SalePlan.unscoped.find(d.source_id).staff.user.real_name
    json.year  EducodeSales::SalePlan.unscoped.find(d.source_id).year
    json.plan EducodeSales::SalePlan.unscoped.find(d.source_id).content
    json.update_at EducodeSales::SalePlan.unscoped.find(d.source_id).updated_at.to_s
    json.deleter EducodeSales::Staff.find(d.deleter_id).user.real_name
    json.delete_time d.created_at.to_s
  end
end

json.code 0
json.count @plans.total_count

Version data entries

85 entries across 85 versions & 1 rubygems

Version Path
educode_sales-1.10.26 app/views/educode_sales/recycles/yearPlan.json.jbuilder
educode_sales-1.10.25 app/views/educode_sales/recycles/yearPlan.json.jbuilder
educode_sales-1.10.24 app/views/educode_sales/recycles/yearPlan.json.jbuilder
educode_sales-1.10.23 app/views/educode_sales/recycles/yearPlan.json.jbuilder
educode_sales-1.10.22 app/views/educode_sales/recycles/yearPlan.json.jbuilder
educode_sales-1.10.21 app/views/educode_sales/recycles/yearPlan.json.jbuilder
educode_sales-1.10.20 app/views/educode_sales/recycles/yearPlan.json.jbuilder
educode_sales-1.10.19 app/views/educode_sales/recycles/yearPlan.json.jbuilder
educode_sales-1.10.18 app/views/educode_sales/recycles/yearPlan.json.jbuilder
educode_sales-1.10.17 app/views/educode_sales/recycles/yearPlan.json.jbuilder
educode_sales-1.10.16 app/views/educode_sales/recycles/yearPlan.json.jbuilder
educode_sales-1.10.15 app/views/educode_sales/recycles/yearPlan.json.jbuilder
educode_sales-1.10.14 app/views/educode_sales/recycles/yearPlan.json.jbuilder
educode_sales-1.10.13 app/views/educode_sales/recycles/yearPlan.json.jbuilder
educode_sales-1.10.12 app/views/educode_sales/recycles/yearPlan.json.jbuilder
educode_sales-1.10.11 app/views/educode_sales/recycles/yearPlan.json.jbuilder
educode_sales-1.10.10 app/views/educode_sales/recycles/yearPlan.json.jbuilder
educode_sales-1.10.9 app/views/educode_sales/recycles/yearPlan.json.jbuilder
educode_sales-1.10.8 app/views/educode_sales/recycles/yearPlan.json.jbuilder
educode_sales-1.10.7 app/views/educode_sales/recycles/yearPlan.json.jbuilder