Sha256: 0eeaf67871c8ab9d6f3c8ef46b5d159bcbd09d6d96e079779474e844d59995c4

Contents?: true

Size: 965 Bytes

Versions: 9

Compression:

Stored size: 965 Bytes

Contents

.effective-order
  %table.table
    %thead
      %tr
        %th.quantity Qty
        %th.item Item
        %th.price Price
    %tbody
      - cart.cart_items.each do |item|
        %tr
          %td.quantity
            = item.quantity
          %td.item
            = item.title.html_safe
            = ' - '
            = link_to_remove_from_cart(item)
          %td.price
            = price_to_currency(item.price)
      - if cart.empty?
        %tr
          %td.quantity
          %td.item There are no items in your shopping cart
          %td.price
    %tfoot
      - if cart.tax > 0
        %tr
          %th.quantity
          %th.subtotal Subtotal
          %td.price.subtotal-price= price_to_currency(cart.subtotal)
        %tr
          %th.quantity
          %th.tax Tax
          %td.price.tax-price= price_to_currency(cart.tax)
      %tr
        %th.quantity
        %th.total Total Due
        %td.price.total-price= price_to_currency(cart.total)

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
effective_orders-1.8.1 app/views/effective/carts/_cart.html.haml
effective_orders-1.8.0 app/views/effective/carts/_cart.html.haml
effective_orders-1.7.5 app/views/effective/carts/_cart.html.haml
effective_orders-1.7.4 app/views/effective/carts/_cart.html.haml
effective_orders-1.7.3 app/views/effective/carts/_cart.html.haml
effective_orders-1.7.2 app/views/effective/carts/_cart.html.haml
effective_orders-1.7.1 app/views/effective/carts/_cart.html.haml
effective_orders-1.7.0 app/views/effective/carts/_cart.html.haml
effective_orders-1.6.6 app/views/effective/carts/_cart.html.haml