Sha256: e12c1d3819044ad3846ebed73cc846124485e78ec6648beb69cb77fdcefe82f6

Contents?: true

Size: 1.14 KB

Versions: 3

Compression:

Stored size: 1.14 KB

Contents

<%
  @prices      = @order.flow_cart_breakdown
  @total_price = @prices.pop
%>

Dear <%= @order.bill_address.firstname %>
---

<%= Spree.t('order_mailer.confirm_email.instructions') %>

<%= Spree.t('order_mailer.confirm_email.order_summary') %>
---
Product | Price | Quantity |Total
<% @order.line_items.each do |line_item| %>
<%= line_item.variant.product.name %> | <%= @order.flow_line_item_price(line_item) %> | <%= line_item.quantity %> | <%= @order.flow_line_item_price(line_item, :with_quantity) %>
<% end %>

Total
---
<% @prices.each do |price| %>
<%= price.name.ljust(15) %>: <%= price.label %>
<% end %>

<%= Spree.t(:total).ljust(15) %>: <%= @total_price[1] %>
Payment method : <%= @order.flow_paymeny_method == 'paypal' ? 'PayPal' : 'Credit Card' %>

<% ['ship', 'bill'].each do |name|
  address = @order.send('%s_address' % name)
%>
<%= name.capitalize %>ing address
---
Full name : <%= address.firstname %> <%= address.lastname %>
Address   : <%= address.address1 %>
City      : <%= address.city %>
Country   : <%= address.country.name rescue '-' %>, <%= address.state.name rescue '-' %>


<% end %>

<%= Spree.t('order_mailer.confirm_email.thanks') %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
flowcommerce-solidus-0.1.13 ./static/app/views/spree/order_mailer/confirm_email.text.erb
flowcommerce-solidus-0.1.12 ./static/app/views/spree/order_mailer/confirm_email.text.erb
flowcommerce-solidus-0.1.11 ./static/app/views/spree/order_mailer/confirm_email.text.erb