mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
More tweaking for email templates for use case of Collection from hub. Need to tweak logic on Order confiramtion page.
This commit is contained in:
@@ -122,26 +122,23 @@
|
||||
#{@order.shipping_method.name.html_safe}
|
||||
- else
|
||||
Collection details
|
||||
|
||||
- if @order.shipping_method.andand.description
|
||||
%p
|
||||
@order.shipping_method.description.html_safe
|
||||
|
||||
- if @order.order_cycle.andand.pickup_time_for(@order.distributor)
|
||||
%h4
|
||||
Ready for collection:
|
||||
%strong #{@order.order_cycle.pickup_time_for(@order.distributor)}
|
||||
|
||||
- if @order.shipping_method.andand.description
|
||||
%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.shipping_method.andand.description
|
||||
%br
|
||||
%em #{@order.shipping_method.description.html_safe}
|
||||
|
||||
- if @order.order_cycle.andand.pickup_instructions_for(@order.distributor)
|
||||
%p
|
||||
%strong Collection instructions:
|
||||
|
||||
@@ -121,26 +121,23 @@
|
||||
#{@order.shipping_method.name.html_safe}
|
||||
- else
|
||||
Collection details
|
||||
|
||||
- if @order.shipping_method.andand.description
|
||||
%p
|
||||
@order.shipping_method.description.html_safe
|
||||
|
||||
- if @order.order_cycle.andand.pickup_time_for(@order.distributor)
|
||||
%h4
|
||||
Ready for collection:
|
||||
%strong #{@order.order_cycle.pickup_time_for(@order.distributor)}
|
||||
|
||||
- if @order.shipping_method.andand.description
|
||||
%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.shipping_method.andand.description
|
||||
%br
|
||||
%em #{@order.shipping_method.description.html_safe}
|
||||
|
||||
- if @order.order_cycle.andand.pickup_instructions_for(@order.distributor)
|
||||
%p
|
||||
%strong Collection instructions:
|
||||
|
||||
Reference in New Issue
Block a user