WIP commit so i can see what i messed up.

This commit is contained in:
summerscope
2015-03-10 12:31:53 +11:00
parent 91bf588bcc
commit 21b18a8cc5

View File

@@ -30,46 +30,54 @@
= order.bill_address.phone
.columns.large-6
.order-summary.text-small
%strong= order.shipping_method.name
.pad
%p.text-big
- if @order.shipping_method.andand.require_ship_address
Delivery on
- else
Ready for collection
%strong #{@order.order_cycle.pickup_time_for(@order.distributor)}
%br
%span.text-small
%em= order.shipping_method.description.html_safe
.order-summary.text-small
%strong
- if @order.shipping_method.andand.require_ship_address
// Delivery option
- if @order.shipping_method.andand.require_ship_address
.order-summary.text-small
%strong= order.shipping_method.name
.pad
%p.text-big
Delivery on
%strong= @order.order_cycle.pickup_time_for(@order.distributor)
%br
%span.text-small
%em= order.shipping_method.description.html_safe
.order-summary.text-small
%strong
Delivery address
- else
Collection Address
.pad
%p.text-small
- if @order.shipping_method.andand.require_ship_address
.pad
%p.text-small
= order.ship_address.firstname + " " + order.ship_address.lastname
%br
- else
/ Do nothing
= order.ship_address.full_address
%br
= order.ship_address.phone
- if @order.shipping_method.andand.require_ship_address
/ Do nothing
- else
/ Collection instructions
%p.light.small
%strong Your notes:
%br
= order.special_instructions
= order.ship_address.full_address
%br
= order.ship_address.phone
// Collection option
- else
.order-summary.text-small
%strong= order.shipping_method.name
.pad
%p.text-big
Ready for collection
%strong #{@order.order_cycle.pickup_time_for(@order.distributor)}
%br
%span.text-small
%em= order.shipping_method.description.html_safe
.order-summary.text-small
%strong
Collection Address
.pad
%p.text-small
= order.ship_address.full_address
.order-summary.text-small
%strong
Collection Instructions
.pad
%p.text-small #{@order.order_cycle.pickup_instructions_for(@order.distributor)}
%p.light.small
%strong Your notes:
%br
= order.special_instructions
%br