From 503b687ed1f7ea10a546aac92682671989127a54 Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Fri, 29 May 2015 15:19:05 +1000 Subject: [PATCH] Display distributor banner only if current_distributor is present --- app/views/spree/orders/show.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/spree/orders/show.html.haml b/app/views/spree/orders/show.html.haml index 82120add82..de142e3cac 100644 --- a/app/views/spree/orders/show.html.haml +++ b/app/views/spree/orders/show.html.haml @@ -9,7 +9,7 @@ - else = @order.distributor.next_collection_at - = render "shopping_shared/details" + = render "shopping_shared/details" if current_distributor.present? %fieldset#order_summary{"data-hook" => ""} .row