Sha256: 84ee2c781b1d2a0c42982dc82b2075921bc0a680e82ac3b5427189334bb7685a

Contents?: true

Size: 621 Bytes

Versions: 189

Compression:

Stored size: 621 Bytes

Contents

json.data do
  json.array! @weekly do |d|
    next if EducodeSales::SaleReport.unscoped.find(d.source_id).weekly.nil?
    json.id d.id
    json.name EducodeSales::SaleReport.unscoped.find(d.source_id).staff.user.real_name
    json.weekly EducodeSales::SaleReport.unscoped.find(d.source_id).weekly
    json.plan EducodeSales::SaleReport.unscoped.find(d.source_id).content
    json.update_at EducodeSales::SaleReport.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 @weekly.total_count

Version data entries

189 entries across 189 versions & 1 rubygems

Version Path
educode_sales-1.10.74 app/views/educode_sales/recycles/weekly.json.jbuilder
educode_sales-1.10.73 app/views/educode_sales/recycles/weekly.json.jbuilder
educode_sales-1.10.72 app/views/educode_sales/recycles/weekly.json.jbuilder
educode_sales-1.10.71 app/views/educode_sales/recycles/weekly.json.jbuilder
educode_sales-1.10.70 app/views/educode_sales/recycles/weekly.json.jbuilder
educode_sales-1.10.59 app/views/educode_sales/recycles/weekly.json.jbuilder
educode_sales-1.10.58 app/views/educode_sales/recycles/weekly.json.jbuilder
educode_sales-1.10.49 app/views/educode_sales/recycles/weekly.json.jbuilder
educode_sales-1.10.48 app/views/educode_sales/recycles/weekly.json.jbuilder
educode_sales-1.10.46 app/views/educode_sales/recycles/weekly.json.jbuilder
educode_sales-1.10.41 app/views/educode_sales/recycles/weekly.json.jbuilder
educode_sales-1.10.37 app/views/educode_sales/recycles/weekly.json.jbuilder
educode_sales-1.10.36 app/views/educode_sales/recycles/weekly.json.jbuilder
educode_sales-1.10.35 app/views/educode_sales/recycles/weekly.json.jbuilder
educode_sales-1.10.34 app/views/educode_sales/recycles/weekly.json.jbuilder
educode_sales-1.10.33 app/views/educode_sales/recycles/weekly.json.jbuilder
educode_sales-1.10.31 app/views/educode_sales/recycles/weekly.json.jbuilder
educode_sales-1.10.30 app/views/educode_sales/recycles/weekly.json.jbuilder
educode_sales-1.10.29 app/views/educode_sales/recycles/weekly.json.jbuilder
educode_sales-1.10.28 app/views/educode_sales/recycles/weekly.json.jbuilder