Sha256: a8620a878db5eb8ce556678851ff71ceea0ee542c9b6ebdcc8b54f4afed20a80
Contents?: true
Size: 732 Bytes
Versions: 9
Compression:
Stored size: 732 Bytes
Contents
Order: #<%= @order.id %> Email: <%= @order.email %> Phone: <%= @order.phone %> <% @order.line_items.each do |line_item| %> <%= line_item.quantity %> x <%= raw line_item.variant.description %> (<%= number_to_currency line_item.total %>) <% end -%> Subtotal: <%= number_to_currency @order.line_items.inject(0) { |subtotal, li| subtotal + li.total } %> Tax: <%= number_to_currency @order.tax_charge %> Shipping: <%= number_to_currency @order.shipments.inject(0) { |shipping, shipment| shipping + shipment.total } %> Total: <%= number_to_currency @order.total %> Billing Information <%= raw @order.billing_address.display.gsub("<br />", "\n") %> Shipping Information <%= raw @order.shipping_address.display.gsub("<br />", "\n") %>
Version data entries
9 entries across 9 versions & 1 rubygems