Sha256: 33feea5c819b25f42cc4ed91c8b8596d348917656dd55d1e9370dfd4ae9bfecb

Contents?: true

Size: 546 Bytes

Versions: 223

Compression:

Stored size: 546 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.business_id d.business_id
    json.content d.content.truncate(40)
    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.52 app/views/educode_sales/plans/my_month.json.jbuilder
educode_sales-0.9.51 app/views/educode_sales/plans/my_month.json.jbuilder
educode_sales-0.9.50 app/views/educode_sales/plans/my_month.json.jbuilder
educode_sales-0.9.49 app/views/educode_sales/plans/my_month.json.jbuilder
educode_sales-0.9.48 app/views/educode_sales/plans/my_month.json.jbuilder
educode_sales-0.9.47 app/views/educode_sales/plans/my_month.json.jbuilder
educode_sales-0.9.46 app/views/educode_sales/plans/my_month.json.jbuilder
educode_sales-0.9.45 app/views/educode_sales/plans/my_month.json.jbuilder
educode_sales-0.9.44 app/views/educode_sales/plans/my_month.json.jbuilder
educode_sales-0.9.43 app/views/educode_sales/plans/my_month.json.jbuilder
educode_sales-0.9.42 app/views/educode_sales/plans/my_month.json.jbuilder
educode_sales-0.9.41 app/views/educode_sales/plans/my_month.json.jbuilder
educode_sales-0.9.40 app/views/educode_sales/plans/my_month.json.jbuilder
educode_sales-0.9.39 app/views/educode_sales/plans/my_month.json.jbuilder
educode_sales-0.9.38 app/views/educode_sales/plans/my_month.json.jbuilder
educode_sales-0.9.37 app/views/educode_sales/plans/my_month.json.jbuilder
educode_sales-0.9.36 app/views/educode_sales/plans/my_month.json.jbuilder
educode_sales-0.9.35 app/views/educode_sales/plans/my_month.json.jbuilder
educode_sales-0.9.34 app/views/educode_sales/plans/my_month.json.jbuilder
educode_sales-0.9.33 app/views/educode_sales/plans/my_month.json.jbuilder