Sha256: 1039bdce0546b678bd0b2d9a1b11ea095df0609b5093960491d8ff03d999b899
Contents?: true
Size: 771 Bytes
Versions: 1
Compression:
Stored size: 771 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.map { |oi| oi.subtotal }.sum) %tr %th Tax %td= price_to_currency(@order_items.map { |oi| oi.tax }.sum) %tr %th Total %td= price_to_currency(@order_items.map { |oi| oi.total }.sum)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
effective_orders-1.6.6 | app/views/effective/orders_mailer/order_receipt_to_seller.html.haml |