Sha256: 7886c086b0b804d0f03e4187e403ac1c474f1bea77c3ed7710fa5dc1fa16d6d7

Contents?: true

Size: 428 Bytes

Versions: 1

Compression:

Stored size: 428 Bytes

Contents

json.order do
  json.extract! @order, :id, :uuid, :amount, :payment_status, :buyer_id, :buyer_type
  json.buyer do
    json.extract! @order.buyer, :id, :name
  end
  json.order_items @order.order_items do |order_item|
    json.extract! order_item, :id, :number, :amount
    json.advance order_item.good, :id, :name, :price, :final_price, :apple_product_id, :amount
  end
end

if @wxpay_order
  json.wxpay_order @wxpay_order
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rails_trade-0.0.3 app/views/trade/my/advances/order.json.jbuilder