Sha256: e737943755debdc260ffbdc687df6651cf02d1594c9d8f392e81d1340518856e

Contents?: true

Size: 617 Bytes

Versions: 16

Compression:

Stored size: 617 Bytes

Contents

json.addresses do
  json.complete step.complete?
  json.email summary.email
  json.problems summary.order.errors.full_messages

  json.shipping_address do
    if summary.shipping_address.present?
      json.partial! 'workarea/api/storefront/shared/address', address: summary.shipping_address
      json.problems summary.shipping_address.errors.full_messages
    end
  end

  json.billing_address do
    if summary.billing_address.present?
      json.partial! 'workarea/api/storefront/shared/address', address: summary.billing_address
      json.problems summary.billing_address.errors.full_messages
    end
  end
end

Version data entries

16 entries across 16 versions & 2 rubygems

Version Path
workarea-api-4.5.6 storefront/app/views/workarea/api/storefront/checkouts/steps/_addresses.json.jbuilder
workarea-api-storefront-4.5.6 app/views/workarea/api/storefront/checkouts/steps/_addresses.json.jbuilder
workarea-api-4.5.5 storefront/app/views/workarea/api/storefront/checkouts/steps/_addresses.json.jbuilder
workarea-api-storefront-4.5.5 app/views/workarea/api/storefront/checkouts/steps/_addresses.json.jbuilder
workarea-api-4.5.4 storefront/app/views/workarea/api/storefront/checkouts/steps/_addresses.json.jbuilder
workarea-api-storefront-4.5.4 app/views/workarea/api/storefront/checkouts/steps/_addresses.json.jbuilder
workarea-api-4.5.3 storefront/app/views/workarea/api/storefront/checkouts/steps/_addresses.json.jbuilder
workarea-api-storefront-4.5.3 app/views/workarea/api/storefront/checkouts/steps/_addresses.json.jbuilder
workarea-api-4.5.2 storefront/app/views/workarea/api/storefront/checkouts/steps/_addresses.json.jbuilder
workarea-api-storefront-4.5.2 app/views/workarea/api/storefront/checkouts/steps/_addresses.json.jbuilder
workarea-api-4.5.0 storefront/app/views/workarea/api/storefront/checkouts/steps/_addresses.json.jbuilder
workarea-api-storefront-4.5.0 app/views/workarea/api/storefront/checkouts/steps/_addresses.json.jbuilder
workarea-api-4.4.7 storefront/app/views/workarea/api/storefront/checkouts/steps/_addresses.json.jbuilder
workarea-api-storefront-4.4.7 app/views/workarea/api/storefront/checkouts/steps/_addresses.json.jbuilder
workarea-api-4.4.6 storefront/app/views/workarea/api/storefront/checkouts/steps/_addresses.json.jbuilder
workarea-api-storefront-4.4.6 app/views/workarea/api/storefront/checkouts/steps/_addresses.json.jbuilder