Sha256: 11283d06fc0327fae2a7e25aefc2e4283dfc4421cbd2fd82243612ef69662c28

Contents?: true

Size: 327 Bytes

Versions: 8

Compression:

Stored size: 327 Bytes

Contents

json.data do
  json.array! @plans do |d|
    json.id d.id
    json.staff d.staff.user.real_name
    json.month d.month.strftime("%Y-%m")
    json.weekly d.weekly
    json.content d.content.truncate(30)
    json.finish_rate "#{d.finish_rate}%"
    json.updated_at d.updated_at.to_s
  end
end

json.code 0
json.count @plans.count

Version data entries

8 entries across 5 versions & 1 rubygems

Version Path
educode_sales-0.1.4 app/views/educode_sales/businesses/unfinish_plans.json.jbuilder
educode_sales-0.1.4 app/views/educode_sales/teachers/unfinish_plans.json.jbuilder
educode_sales-0.1.3 app/views/educode_sales/businesses/unfinish_plans.json.jbuilder
educode_sales-0.1.3 app/views/educode_sales/teachers/unfinish_plans.json.jbuilder
educode_sales-0.1.2 app/views/educode_sales/businesses/unfinish_plans.json.jbuilder
educode_sales-0.1.2 app/views/educode_sales/teachers/unfinish_plans.json.jbuilder
educode_sales-0.1.1 app/views/educode_sales/businesses/unfinish_plans.json.jbuilder
educode_sales-0.1.0 app/views/educode_sales/businesses/unfinish_plans.json.jbuilder