Sha256: 5795ca2478042a0462cc313ab2ae02da45edd59f099e21249e0c408c3c1e95b5
Contents?: true
Size: 910 Bytes
Versions: 30
Compression:
Stored size: 910 Bytes
Contents
Order #<%= @order.number %> was placed by <%= @order.final_billing_address.name %> . Payment date: <%= @payment_date %> Shipping address: <% @order.shipping_address.full_address_array.each do |line| %> <%= line %> <% end %> <% unless @order.shipping_address.use_for_billing %> Billing address : <% @order.billing_address.full_address_array.each do |line| %> <%= line %> <% end %> <% end %> Items purchased: <% @order.line_items.each do |line_item| %> <% product = line_item.product %> Name: <%= truncate(sanitize(product.name), length: 90) %> Item price: <%= number_to_currency(product.price) %> Item quantity: <%= line_item.quantity %> Item total price: <%= number_to_currency(line_item.price) %> <% end %> Shipping method: <%= @order.shipping_method.name %> Shipping cost: <%= number_to_currency(@order.shipping_method.shipping_cost) %> Total amount: <%= number_to_currency(@order.total_amount) %>
Version data entries
30 entries across 30 versions & 1 rubygems