Sha256: bc6a72bd30343772159de60e920445be30b02820d3cc8b47be381d731772709d
Contents?: true
Size: 451 Bytes
Versions: 3
Compression:
Stored size: 451 Bytes
Contents
json.data do json.array! @sale_reports do |d| json.id d.id json.staff d.staff.user.real_name json.client d.client json.amount d.amount json.content d.content.truncate(30) json.finish_rate "#{d.finish_rate}%" json.level1_score d.level1_score || 0 json.level2_score d.level2_score || 0 json.level3_score d.level3_score || 0 json.updated_at d.updated_at.to_s end end json.code 0 json.count @sale_reports.count
Version data entries
3 entries across 3 versions & 1 rubygems