Sha256: 448eca375d7be00cf909377f026aa38333e3f965507d906982c98c278367c0eb

Contents?: true

Size: 655 Bytes

Versions: 3

Compression:

Stored size: 655 Bytes

Contents

.well
  %h3= t('checkout.order_summary')
  %ul.list-group
    %li#item_total_field.list-group-item{ data: { item_total: order.total } }
      = t('checkout.item_total')
      = order.total_in_currency
    - unless step == :address
      - if wizard_steps.include? :delivery
        %li.list-group-item
          = t('checkout.shipping_price')
          %span#shipping_price_field
            - unless step == :delivery
              = order.delivery.try(:decorate).try(:price_in_currency) || '...'
      %li.list-group-item
        = t('checkout.order_total')
        %span#order_total_field
          = order.total_with_delivery unless step == :delivery

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
shopping-cart-0.1.2 app/views/shopping_cart/checkout/_order_summary.html.haml
shopping-cart-0.1.1 app/views/shopping_cart/checkout/_order_summary.html.haml
shopping-cart-0.1.0 app/views/shopping_cart/checkout/_order_summary.html.haml