diff --git a/app/assets/stylesheets/mail/email.css.sass b/app/assets/stylesheets/mail/email.css.sass index 38024a1cc4..5f0a91bd72 100644 --- a/app/assets/stylesheets/mail/email.css.sass +++ b/app/assets/stylesheets/mail/email.css.sass @@ -67,7 +67,9 @@ table.order-summary h4 margin-top: 15px tfoot - border-top: 1px solid black + tr:first-child td + border-top: 1px solid black + padding-top: 5px tr td padding-left: 5px padding-right: 5px @@ -260,6 +262,10 @@ ul tr td padding: 15px +.pad + tr td + padding: 15px + .column-wrap padding: 0!important margin: 0 auto diff --git a/app/views/spree/order_mailer/confirm_email_for_customer.html.haml b/app/views/spree/order_mailer/confirm_email_for_customer.html.haml index 166da19ec2..2125b7a5a8 100644 --- a/app/views/spree/order_mailer/confirm_email_for_customer.html.haml +++ b/app/views/spree/order_mailer/confirm_email_for_customer.html.haml @@ -66,19 +66,22 @@ - if @order.payments.first.andand.payment_method.andand.type == "Spree::PaymentMethod::Check" and @order.payments.first.andand.payment_method.andand.description %p.callout + %span{:style => "float:right;"} + PAID or NOT PAID %strong Payment summary - / /Heading Panel - / Payment Summary - %p= @order.payments.first.andand.payment_method.andand.description.andand.html_safe + %h4 + Paying via: + %strong= @order.payments.first.andand.payment_method.andand.name.andand.html_safe + %p + %em= @order.payments.first.andand.payment_method.andand.description.andand.html_safe %p   - if @order.shipping_method.andand.require_ship_address - / Delivery details %p.callout %strong Delivery details - %p - Your order will be delivered to: + + %h4 Delivery address: %p #{@order.ship_address.full_name} %br @@ -91,15 +94,13 @@ #{@order.shipping_method.description.html_safe} - if @order.order_cycle.andand.pickup_time_for(@order.distributor) + %h4 Delivery date: %p - Delivery on: - %br %strong #{@order.order_cycle.pickup_time_for(@order.distributor)} - if @order.order_cycle.andand.pickup_instructions_for(@order.distributor) + %h5 Other delivery info: %p - Other delivery information: - %br %strong #{@order.order_cycle.pickup_instructions_for(@order.distributor)} - else @@ -113,31 +114,31 @@ @order.shipping_method.description.html_safe - if @order.order_cycle.andand.pickup_time_for(@order.distributor) - %p - Ready for collection: - %br + %h4 + Ready for collection on: %strong #{@order.order_cycle.pickup_time_for(@order.distributor)} - - - if @order.order_cycle.andand.pickup_instructions_for(@order.distributor) + + - if @order.ship_address.full_address %p - Collection instructions: + %strong Collect from: %br - %strong #{@order.order_cycle.pickup_instructions_for(@order.distributor)} + #{@order.ship_address.full_address} + - if @order.shipping_method.andand.description + %br + %em #{@order.shipping_method.description.html_safe} + + - if @order.order_cycle.andand.pickup_instructions_for(@order.distributor) + %br + %em #{@order.order_cycle.pickup_instructions_for(@order.distributor)} + - if @order.special_instructions.present? %p %small - Customer notes: + %strong Your notes / custom delivery instructions: %br #{@order.special_instructions} - -# Your order will be ready for collection on - -# %strong{:style => "margin: 0;padding: 0;font-family: \"Helvetica Neue\", \"Helvetica\", Helvetica, Arial, sans-serif;"} - -# Tuesday 07 Dec - -# %p{:style => "margin: 0;padding: 0;font-family: \"Helvetica Neue\", \"Helvetica\", Helvetica, Arial, sans-serif;margin-bottom: 10px;font-weight: normal;font-size: 14px;line-height: 1.6;"} - -# Pick-up your order at the rear of 34 Mason Street, Warragul. See it on - -# %a{:href => "https://goo.gl/maps/T1ArU", :style => "margin: 0;padding: 0;font-family: \"Helvetica Neue\", \"Helvetica\", Helvetica, Arial, sans-serif;color: #0096ad;", :target => "_blank"} - -# google maps %br %p.callout Kind regards, @@ -152,4 +153,6 @@ %a{:href => "mailto:#{@order.distributor.email}", :target => "_blank"} = @order.distributor.email %br - = @order.distributor.website || "" \ No newline at end of file + = @order.distributor.website || "" + +