Sha256: 98e57ed7b2c2eb17bb6b02da57cdb6a8270d38e4cd5cdff26f9e7e930fc439bf

Contents?: true

Size: 317 Bytes

Versions: 52

Compression:

Stored size: 317 Bytes

Contents

json.data do
  json.array! @data do |d|
    json.id d.id
    json.specification d.product_catalog.specification
    json.unit d.product_catalog.unit
    json.num d.amount
    json.price d.price
    json.amount d.total_price || 0
    json.name d.product_catalog.name
  end
end

json.code 0
json.count @data.total_count

Version data entries

52 entries across 52 versions & 1 rubygems

Version Path
educode_sales-1.10.6 app/views/educode_sales/invoices/sales_details.json.jbuilder
educode_sales-1.10.5 app/views/educode_sales/invoices/sales_details.json.jbuilder
educode_sales-1.10.3 app/views/educode_sales/invoices/sales_details.json.jbuilder
educode_sales-1.10.2 app/views/educode_sales/invoices/sales_details.json.jbuilder
educode_sales-1.10.1 app/views/educode_sales/invoices/sales_details.json.jbuilder
educode_sales-1.10.0 app/views/educode_sales/invoices/sales_details.json.jbuilder
educode_sales-1.0.9 app/views/educode_sales/invoices/sales_details.json.jbuilder
educode_sales-1.0.8 app/views/educode_sales/invoices/sales_details.json.jbuilder
educode_sales-1.0.7 app/views/educode_sales/invoices/sales_details.json.jbuilder
educode_sales-1.0.6 app/views/educode_sales/invoices/sales_details.json.jbuilder
educode_sales-1.0.5 app/views/educode_sales/invoices/sales_details.json.jbuilder
educode_sales-1.0.4 app/views/educode_sales/invoices/sales_details.json.jbuilder