Sha256: 9bda611158712099ca9172df3e6d5cde8539f9907b65bb7215ce0d9273227241
Contents?: true
Size: 345 Bytes
Versions: 2
Compression:
Stored size: 345 Bytes
Contents
json.array!(@orders) do |order| json.extract! order, :id, :uuid, :amount, :subtotal json.order_items order.order_items do |oi| json.extract! oi, :id json.sku oi.good&.sku json.name oi.good&.name json.quantity oi.quantity end json.refunds order.refunds do |refund| refund.extract! refund, :id, :total_amount end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rails_trade-0.0.3 | app/views/trade/my/orders/refund.json.jbuilder |
rails_trade-0.0.2 | app/views/trade/my/orders/refund.json.jbuilder |