More updates dealing with pick up instructions.

This commit is contained in:
summerscope
2015-02-27 17:09:59 +11:00
parent ba0d4c2111
commit 12bfb9301a
2 changed files with 37 additions and 33 deletions

View File

@@ -106,10 +106,10 @@
%p #{@order.shipping_method.description.html_safe}
%br  
- if @order.order_cycle.andand.pickup_instructions_for(@order.distributor)
%h4 Other delivery info:
%p
%strong #{@order.order_cycle.pickup_instructions_for(@order.distributor)}
/ - if @order.order_cycle.andand.pickup_instructions_for(@order.distributor)
/ %h4 Other delivery info:
/ %p
/ %strong #{@order.order_cycle.pickup_instructions_for(@order.distributor)}
- else
/ Collection details
@@ -131,24 +131,26 @@
- if @order.ship_address.full_address
%p
%strong Collect from:
%strong Collecting from:
%br
#{@order.ship_address.full_address}
- if @order.shipping_method.andand.description
%br
%em #{@order.shipping_method.description.html_safe}
- 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?
- if @order.order_cycle.andand.pickup_instructions_for(@order.distributor)
%p
%small
%strong Your notes / custom delivery instructions:
%br
#{@order.special_instructions}
%strong Collection instructions:
%br
%em #{@order.order_cycle.pickup_instructions_for(@order.distributor)}
- if @order.special_instructions.present?
%p
%small
%strong Customer notes / custom delivery instructions:
%br
#{@order.special_instructions}
%br
%p.callout

View File

@@ -106,10 +106,10 @@
%p #{@order.shipping_method.description.html_safe}
%br  
- if @order.order_cycle.andand.pickup_instructions_for(@order.distributor)
%h4 Other delivery info:
%p
%strong #{@order.order_cycle.pickup_instructions_for(@order.distributor)}
/ - if @order.order_cycle.andand.pickup_instructions_for(@order.distributor)
/ %h4 Other delivery info:
/ %p
/ %strong #{@order.order_cycle.pickup_instructions_for(@order.distributor)}
- else
/ Collection details
@@ -135,20 +135,22 @@
%br
#{@order.ship_address.full_address}
- if @order.shipping_method.andand.description
%br
%em #{@order.shipping_method.description.html_safe}
- 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?
- if @order.order_cycle.andand.pickup_instructions_for(@order.distributor)
%p
%small
%strong Customer notes / custom delivery instructions:
%br
#{@order.special_instructions}
%strong Collection instructions:
%br
%em #{@order.order_cycle.pickup_instructions_for(@order.distributor)}
- if @order.special_instructions.present?
%p
%small
%strong Customer notes / custom delivery instructions:
%br
#{@order.special_instructions}
%p  
= render 'shared/mailers/signoff'