Sha256: 45359fd659fe4438b20df2b926f16eaa89ec442541bb034c7af46138fa004fa1

Contents?: true

Size: 732 Bytes

Versions: 55

Compression:

Stored size: 732 Bytes

Contents

!!!
%html
  %head
    %meta{:content => 'text/html; charset=UTF-8', 'http-equiv' => "Content-Type"}
  %body
    %p= @subject

    %table.table
      %thead
        %tr
          %th Item
          %th Price
      %tbody
        - @order_items.each do |item|
          %tr
            %td
              - if item.quantity > 1
                = "#{item.quantity}x "
              = item.title
            %td= price_to_currency(item.subtotal)
      %tfoot
        %tr
          %th Subtotal
          %td= price_to_currency(@order_items.sum(&:subtotal))
        %tr
          %th Tax
          %td= price_to_currency(@order_items.sum(&:tax))
        %tr
          %th Total
          %td= price_to_currency(@order_items.sum(&:total))

Version data entries

55 entries across 55 versions & 1 rubygems

Version Path
effective_orders-1.6.5 app/views/effective/orders_mailer/order_receipt_to_seller.html.haml
effective_orders-1.6.4 app/views/effective/orders_mailer/order_receipt_to_seller.html.haml
effective_orders-1.6.3 app/views/effective/orders_mailer/order_receipt_to_seller.html.haml
effective_orders-1.6.1 app/views/effective/orders_mailer/order_receipt_to_seller.html.haml
effective_orders-1.6.0 app/views/effective/orders_mailer/order_receipt_to_seller.html.haml
effective_orders-1.5.9 app/views/effective/orders_mailer/order_receipt_to_seller.html.haml
effective_orders-1.5.8 app/views/effective/orders_mailer/order_receipt_to_seller.html.haml
effective_orders-1.5.7 app/views/effective/orders_mailer/order_receipt_to_seller.html.haml
effective_orders-1.5.5 app/views/effective/orders_mailer/order_receipt_to_seller.html.haml
effective_orders-1.5.4 app/views/effective/orders_mailer/order_receipt_to_seller.html.haml
effective_orders-1.5.3 app/views/effective/orders_mailer/order_receipt_to_seller.html.haml
effective_orders-1.5.2 app/views/effective/orders_mailer/order_receipt_to_seller.html.haml
effective_orders-1.5.1 app/views/effective/orders_mailer/order_receipt_to_seller.html.haml
effective_orders-1.5.0 app/views/effective/orders_mailer/order_receipt_to_seller.html.haml
effective_orders-1.4.8 app/views/effective/orders_mailer/order_receipt_to_seller.html.haml
effective_orders-1.4.7 app/views/effective/orders_mailer/order_receipt_to_seller.html.haml
effective_orders-1.4.6 app/views/effective/orders_mailer/order_receipt_to_seller.html.haml
effective_orders-1.4.5 app/views/effective/orders_mailer/order_receipt_to_seller.html.haml
effective_orders-1.4.4 app/views/effective/orders_mailer/order_receipt_to_seller.html.haml
effective_orders-1.4.3 app/views/effective/orders_mailer/order_receipt_to_seller.html.haml