Sha256: cb28301c753d02ef68e8b23b4e32905f39049f806063514eff59bb68f16dc817

Contents?: true

Size: 1.6 KB

Versions: 9

Compression:

Stored size: 1.6 KB

Contents

<h1>Thank you for your order!</h1>
<p>Order number: <%= @order.id %></p>
<p>Date Received: <%= @order.date_authorized.strftime('%F %T') %></p>
<p>Status: <%= @order.status %></p>


<table style='border-collapse: collapse;' border='1' cellpadding="4" cellspacing="0">
<tr>
  <th>Item</th>
  <th>Quantity</th>
  <th>Subtotal</th>
</tr>
<% total = 0.0 %>
<% @order.line_items.each do |li| %>
  <% total = total + li.subtotal %>
  <tr>
    <td><%= li.variant.product.title %><br /><%= li.variant.title %></td>
    <td align='right'><%= li.quantity %></td>
    <td align='right'><%= number_to_currency(li.subtotal) %></td>
  </tr>
<% end %>
<tr>
  <td colspan='2' align='right'>Subtotal</td>
  <td align='right'><%= number_to_currency(@order.subtotal) %></td>
</tr>
<tr>
  <td colspan='2' align='right'>Tax</td>
  <td align='right'><%= number_to_currency(@order.tax) %></td>
</tr>
<tr>
  <td colspan='2' align='right'><%= @order.shipping_method %> Shipping &amp; Handling</td>
  <td align='right'><%= number_to_currency(@order.shipping + @order.handling) %></td>
</tr>
<tr>
  <td colspan='2' align='right'>Total</td>
  <td align='right'><%= number_to_currency(@order.total) %></td>
</tr>
</table>

<p>Please allow up to 48 hours for your order to be processed.  Orders are processed during normal business hours Monday through Friday.</p>
<p>You will continue to receive email as the status of your order changes.</p>
<p>Thanks again,</p>

<p><strong>The TuskWear Team</strong><br />
<a href='mailto:info@tuskwearcollection.com'>info@tuskwearcollection.com</a></p>
<p align='center'><img src='https://dmwwflw4i3miv.cloudfront.net/logo.png' /></p>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
caboose-store-0.0.10 app/views/caboose_store/orders_mailer/customer_new_order.html.erb
caboose-store-0.0.9 app/views/caboose_store/orders_mailer/customer_new_order.html.erb
caboose-store-0.0.8 app/views/caboose_store/orders_mailer/customer_new_order.html.erb
caboose-store-0.0.7 app/views/caboose_store/orders_mailer/customer_new_order.html.erb
caboose-store-0.0.6 app/views/caboose_store/orders_mailer/customer_new_order.html.erb
caboose-store-0.0.5 app/views/caboose_store/orders_mailer/customer_new_order.html.erb
caboose-store-0.0.4 app/views/caboose_store/orders_mailer/customer_new_order.html.erb
caboose-store-0.0.3 app/views/caboose_store/orders_mailer/customer_new_order.html.erb
caboose-store-0.0.2 app/views/caboose_store/orders_mailer/customer_new_order.html.erb