From b6fd3a11fa6a2b52fda2430b65e8fc51c0afa3a2 Mon Sep 17 00:00:00 2001 From: Rafael Schouten Date: Wed, 17 Sep 2014 11:54:06 +1000 Subject: [PATCH] remove old mailer --- .../spree/order_mailer/confirm_email.text.erb | 68 ------------------- 1 file changed, 68 deletions(-) delete mode 100644 app/views/spree/order_mailer/confirm_email.text.erb diff --git a/app/views/spree/order_mailer/confirm_email.text.erb b/app/views/spree/order_mailer/confirm_email.text.erb deleted file mode 100644 index 932eaebe4c..0000000000 --- a/app/views/spree/order_mailer/confirm_email.text.erb +++ /dev/null @@ -1,68 +0,0 @@ -Dear <%= @order.bill_address.firstname %>, - -Please review and retain the following order information for your records. - -============================================================ -Order Summary -============================================================ -Order for: <%= @order.bill_address.full_name %> -<% @order.line_items.each do |item| %> - <%= item.variant.sku %> <%= raw(item.variant.product.supplier.name) %> <%= raw(item.variant.product.name) %> <%= raw(item.variant.options_text) -%> (QTY: <%=item.quantity%>) @ <%= item.single_money %> = <%= item.display_amount %> -<% end %> -============================================================ -Subtotal: <%= number_to_currency checkout_cart_total_with_adjustments(@order) %> -<% checkout_adjustments_for_summary(@order, exclude: [:distribution]).each do |adjustment| %> - <%= raw(adjustment.label) %> <%= adjustment.display_amount %> -<% end %> -Order Total: <%= @order.display_total %> - -<% if @order.payments.first.andand.payment_method.andand.name.andand.include? "EFT" %> -============================================================ -Payment Details -============================================================ -<%= @order.payments.first.andand.payment_method.andand.description.andand.html_safe %> - -<% end %> -<% if @order.shipping_method.andand.require_ship_address %> -============================================================ -Delivery Details -============================================================ -Your order will be delivered to: -<%= @order.ship_address.to_s %> - -<% if @order.order_cycle.andand.pickup_time_for(@order.distributor) %> -Delivery on: <%= @order.order_cycle.pickup_time_for(@order.distributor) %> - -<% end %> -<% if @order.order_cycle.andand.pickup_instructions_for(@order.distributor) %> -Other delivery information: <%= @order.order_cycle.pickup_instructions_for(@order.distributor) %> - -<% end %> -<% else %> -============================================================ -Collection Details -============================================================ -<% if @order.shipping_method.andand.description %> -<%= @order.shipping_method.description.html_safe %> - -<% end %> -<% if @order.order_cycle.andand.pickup_time_for(@order.distributor) %> -Ready for collection: <%= @order.order_cycle.pickup_time_for(@order.distributor) %> - -<% end %> -<% if @order.order_cycle.andand.pickup_instructions_for(@order.distributor) %> -Collection instructions: <%= @order.order_cycle.pickup_instructions_for(@order.distributor) %> - -<% end %> -<% end %> -<% if @order.special_instructions.present? %>Order notes: <%= @order.special_instructions %> - -<% end %> - -Thanks for your support. - -<%= @order.distributor.contact %>, -<%= @order.distributor.name %> -<%= @order.distributor.phone %> -<%= @order.distributor.email %> -<%= @order.distributor.website %>