Sha256: 5f7f501f32c52b9b197438294eba103a442eb3e0bf581d48c2108749ebec5570

Contents?: true

Size: 571 Bytes

Versions: 223

Compression:

Stored size: 571 Bytes

Contents

json.data do
  json.array! @sale_plans do |d|
    json.id d.id
    json.staff d.staff.user.real_name
    json.business_name d.business.name
    json.department d.business.department&.name
    json.school d.business.department&.school&.name
    json.month d.month.strftime("%Y-%m")
    json.weekly d.weekly
    json.business_id d.business_id
    json.content d.content.truncate(30)
    json.follow_ups_count d.business.follow_ups_count
    json.finish_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

223 entries across 223 versions & 1 rubygems

Version Path
educode_sales-0.9.72 app/views/educode_sales/sale_reports/plans.json.jbuilder
educode_sales-0.9.71 app/views/educode_sales/sale_reports/plans.json.jbuilder
educode_sales-0.9.70 app/views/educode_sales/sale_reports/plans.json.jbuilder
educode_sales-0.9.69 app/views/educode_sales/sale_reports/plans.json.jbuilder
educode_sales-0.9.68 app/views/educode_sales/sale_reports/plans.json.jbuilder
educode_sales-0.9.67 app/views/educode_sales/sale_reports/plans.json.jbuilder
educode_sales-0.9.66 app/views/educode_sales/sale_reports/plans.json.jbuilder
educode_sales-0.9.65 app/views/educode_sales/sale_reports/plans.json.jbuilder
educode_sales-0.9.64 app/views/educode_sales/sale_reports/plans.json.jbuilder
educode_sales-0.9.63 app/views/educode_sales/sale_reports/plans.json.jbuilder
educode_sales-0.9.62 app/views/educode_sales/sale_reports/plans.json.jbuilder
educode_sales-0.9.61 app/views/educode_sales/sale_reports/plans.json.jbuilder
educode_sales-0.9.60 app/views/educode_sales/sale_reports/plans.json.jbuilder
educode_sales-0.9.59 app/views/educode_sales/sale_reports/plans.json.jbuilder
educode_sales-0.9.58 app/views/educode_sales/sale_reports/plans.json.jbuilder
educode_sales-0.9.57 app/views/educode_sales/sale_reports/plans.json.jbuilder
educode_sales-0.9.56 app/views/educode_sales/sale_reports/plans.json.jbuilder
educode_sales-0.9.55 app/views/educode_sales/sale_reports/plans.json.jbuilder
educode_sales-0.9.54 app/views/educode_sales/sale_reports/plans.json.jbuilder
educode_sales-0.9.53 app/views/educode_sales/sale_reports/plans.json.jbuilder