Remove enterprise address from order confirmation and mailer, since in these contexts the pickup location will be specified elsewhere. #636

This commit is contained in:
Rohan Mitchell
2015-08-07 14:19:48 +10:00
parent 170799f65f
commit e843beaf18
2 changed files with 5 additions and 17 deletions

View File

@@ -8,14 +8,14 @@
Delivery details
- if @order.order_cycle.andand.pickup_time_for(@order.distributor)
%h4
%h4
Delivery on:
%strong #{@order.order_cycle.pickup_time_for(@order.distributor)}
- if @order.shipping_method.andand.description
%p
%p
%em #{@order.shipping_method.description.html_safe}
%br  
- if @order.ship_address
%h4 Delivery address:
%p
@@ -37,21 +37,15 @@
Collection details
- if @order.order_cycle.andand.pickup_time_for(@order.distributor).present?
%h4
%h4
Ready for collection:
%strong #{@order.order_cycle.pickup_time_for(@order.distributor)}
- if @order.shipping_method.andand.description.present?
%p
%em #{@order.shipping_method.description.html_safe}
%br  
- if @order.ship_address.full_address
%p
%strong Collecting from:
%br
#{@order.ship_address.full_address}
- if @order.order_cycle.andand.pickup_instructions_for(@order.distributor).present?
%p
%strong Collection instructions:

View File

@@ -65,12 +65,6 @@
%strong #{order.order_cycle.pickup_time_for(order.distributor)}
%p.text-small.text-skinny.pre-line
%em= order.shipping_method.description.andand.html_safe || ""
.order-summary.text-small
%strong
Collection Address
.pad
%p.text-small
= order.ship_address.full_address
- if order.order_cycle.pickup_instructions_for(order.distributor).present?
%br