Sha256: 24f2b3d3ea6d6c8312b58cd66739f42909b0e1f171e11ae29f23e01cda7b51c4

Contents?: true

Size: 976 Bytes

Versions: 47

Compression:

Stored size: 976 Bytes

Contents

Here is receipt for your purchase at <%= @shop.name %> . When items are shipped you will get an email with tracking number.

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| %>
Name: <%= truncate(sanitize(line_item.product_name), length: 90) %>
Item price: <%= number_to_currency(line_item.product_price) %>
Item quantity: <%= line_item.quantity %>
Item total price: <%= number_to_currency(line_item.price) %>
<%# the below empty line is intentional %>

<% 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

47 entries across 47 versions & 2 rubygems

Version Path
nimbleshop_core-0.0.23 app/views/mailer/order_notification_to_buyer.text.erb
nimbleshop_simply-0.0.23 app/views/nimbleshop_simply/mailer/order_notification_to_buyer.text.erb
nimbleshop_core-0.0.21 app/views/mailer/order_notification_to_buyer.text.erb
nimbleshop_simply-0.0.21 app/views/nimbleshop_simply/mailer/order_notification_to_buyer.text.erb
nimbleshop_core-0.0.20 app/views/mailer/order_notification_to_buyer.text.erb
nimbleshop_simply-0.0.20 app/views/nimbleshop_simply/mailer/order_notification_to_buyer.text.erb
nimbleshop_core-0.0.19 app/views/mailer/order_notification_to_buyer.text.erb
nimbleshop_simply-0.0.19 app/views/nimbleshop_simply/mailer/order_notification_to_buyer.text.erb
nimbleshop_core-0.0.17 app/views/mailer/order_notification_to_buyer.text.erb
nimbleshop_simply-0.0.17 app/views/nimbleshop_simply/mailer/order_notification_to_buyer.text.erb
nimbleshop_simply-0.0.16 app/views/nimbleshop_simply/mailer/order_notification_to_buyer.text.erb
nimbleshop_core-0.0.16 app/views/mailer/order_notification_to_buyer.text.erb
nimbleshop_simply-0.0.15 app/views/nimbleshop_simply/mailer/order_notification_to_buyer.text.erb
nimbleshop_core-0.0.15 app/views/mailer/order_notification_to_buyer.text.erb
nimbleshop_simply-0.0.14 app/views/nimbleshop_simply/mailer/order_notification_to_buyer.text.erb
nimbleshop_core-0.0.14 app/views/mailer/order_notification_to_buyer.text.erb
nimbleshop_simply-0.0.14.rc2 app/views/nimbleshop_simply/mailer/order_notification_to_buyer.text.erb
nimbleshop_core-0.0.14.rc2 app/views/mailer/order_notification_to_buyer.text.erb
nimbleshop_simply-0.0.14.rc1 app/views/nimbleshop_simply/mailer/order_notification_to_buyer.text.erb
nimbleshop_core-0.0.14.rc1 app/views/mailer/order_notification_to_buyer.text.erb