Sha256: 4e14b32cd7d2601327b5003f9c7c54b12b78e7a99b8790243cd9bc14bcf6751d
Contents?: true
Size: 693 Bytes
Versions: 20
Compression:
Stored size: 693 Bytes
Contents
Order: #<%= @order.id %> Email: <%= @order.email %> Phone: <%= @order.phone %> <% @order.line_items.sellables.each do |line_item| %> <%= line_item.quantity %> x <%= raw line_item.description %> (<%= number_to_currency line_item.price %>) <% end -%> <% Piggybak::LineItem.sorted_line_item_types.each do |type| -%> <%= type.to_s.pluralize.titleize %>: <%= number_to_currency @order.send("#{type}_charge") %> <% end -%> Total: <%= number_to_currency @order.total %> Balance Due: <%= number_to_currency @order.total_due %> Billing Information <%= raw @order.billing_address.display.gsub("<br />", "\n") %> Shipping Information <%= raw @order.shipping_address.display.gsub("<br />", "\n") %>
Version data entries
20 entries across 20 versions & 1 rubygems