mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-27 06:05:19 +00:00
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:
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user