Sha256: 52d759778c535d0a6e1e8cf03cef299f448c7d9b97fb357988fca14f840fc552

Contents?: true

Size: 1.18 KB

Versions: 24

Compression:

Stored size: 1.18 KB

Contents

.column.full
  .grey.full
    .row.header
      Items
      .order-column.float-right Price
      .order-column.float-right Qty
      .order-column.float-right Total
      %hr.serious

    - @order.line_items.each do |line_item|
      .row
        .order-column.title.float-left= line_item.product.title
        .order-column.float-right= number_to_currency(line_item.price)
        .order-column.float-right= line_item.quantity
        .order-column.float-right= number_to_currency(line_item.total_price)
        .spacer
        %hr.serious

  - if @order.price > 0
    .grey.full
      .row
        %h2 Totals
        %hr.serious
      .row
        %strong
          Subtotal:    
          .float-right= number_to_currency(@order.price)
        %hr.serious
      .row
        %strong
          Taxes:    
          .float-right= number_to_currency(@order.tax)
        %hr.serious
      .row
        %strong
          Shipping & Handling:    
          .float-right= number_to_currency(@order.shipping_and_handling)
        %hr.serious
      %h3
        Total:
        .float-right= "#{number_to_currency(@order.total_price)} #{MySettings.currency}"
.spacer

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
forge-cli-0.1.10 lib/forge/app/views/forge/orders/_cart.html.haml
forge-cli-0.1.9 lib/forge/app/views/forge/orders/_cart.html.haml
forge-cli-0.1.8 lib/forge/app/views/forge/orders/_cart.html.haml
forge-cli-0.1.7 lib/forge/app/views/forge/orders/_cart.html.haml
forge-cli-0.1.6 lib/forge/app/views/forge/orders/_cart.html.haml
forge-cli-0.1.5 lib/forge/app/views/forge/orders/_cart.html.haml
forge-cli-0.1.4 lib/forge/app/views/forge/orders/_cart.html.haml
forge-cli-0.1.3 lib/forge/app/views/forge/orders/_cart.html.haml
forge-cli-0.1.2 lib/forge/app/views/forge/orders/_cart.html.haml
forge-cli-0.1.1 lib/forge/app/views/forge/orders/_cart.html.haml
forge-cli-0.1.0 lib/forge/app/views/forge/orders/_cart.html.haml
forge-cli-0.0.18 lib/forge/app/views/forge/orders/_cart.html.haml
forge-cli-0.0.17 lib/forge/app/views/forge/orders/_cart.html.haml
forge-cli-0.0.16 lib/forge/app/views/forge/orders/_cart.html.haml
forge-cli-0.0.15 lib/forge/app/views/forge/orders/_cart.html.haml
forge-cli-0.0.14 lib/forge/app/views/forge/orders/_cart.html.haml
forge-cli-0.0.13 lib/forge/app/views/forge/orders/_cart.html.haml
forge-cli-0.0.12 lib/forge/app/views/forge/orders/_cart.html.haml
forge-cli-0.0.11 lib/forge/app/views/forge/orders/_cart.html.haml
forge-cli-0.0.10 lib/forge/app/views/forge/orders/_cart.html.haml