Sha256: 11d0abbdac82cee2f2f10519c6ec934f41636434b2da13f28a2081d494d94a84

Contents?: true

Size: 411 Bytes

Versions: 11

Compression:

Stored size: 411 Bytes

Contents

json.cache! [I18n.locale, order] do
  json.(order, *order_attributes)
  json.display_item_total(order.display_item_total.to_s)
  json.total_quantity(order.line_items.sum(:quantity))
  json.display_total(order.display_total.to_s)
  json.display_ship_total(order.display_ship_total)
  json.display_tax_total(order.display_tax_total)
  json.token(order.guest_token)
  json.checkout_steps(order.checkout_steps)
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
solidus_api-2.5.2 app/views/spree/api/orders/_order.json.jbuilder
solidus_api-2.5.1 app/views/spree/api/orders/_order.json.jbuilder
solidus_api-2.5.0 app/views/spree/api/orders/_order.json.jbuilder
solidus_api-2.5.0.rc1 app/views/spree/api/orders/_order.json.jbuilder
solidus_api-2.5.0.beta2 app/views/spree/api/orders/_order.json.jbuilder
solidus_api-2.5.0.beta1 app/views/spree/api/orders/_order.json.jbuilder
solidus_api-2.4.2 app/views/spree/api/orders/_order.json.jbuilder
solidus_api-2.4.1 app/views/spree/api/orders/_order.json.jbuilder
solidus_api-2.4.0 app/views/spree/api/orders/_order.json.jbuilder
solidus_api-2.4.0.rc1 app/views/spree/api/orders/_order.json.jbuilder
solidus_api-2.4.0.beta1 app/views/spree/api/orders/_order.json.jbuilder