From 460e010408d20318641b533f454d71bbf8dde249 Mon Sep 17 00:00:00 2001 From: luisramos0 Date: Mon, 3 Dec 2018 16:41:04 +0000 Subject: [PATCH] Removed shipments from orders tab. This option is removed in spree 2 --- app/views/spree/admin/shared/_order_tabs.html.haml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/views/spree/admin/shared/_order_tabs.html.haml b/app/views/spree/admin/shared/_order_tabs.html.haml index d250507193..b4b1333a3a 100644 --- a/app/views/spree/admin/shared/_order_tabs.html.haml +++ b/app/views/spree/admin/shared/_order_tabs.html.haml @@ -65,10 +65,6 @@ %li{ class: payments_classes } = link_to_with_icon 'icon-credit-card', t(:payments), admin_order_payments_url(@order) - - shipments_classes = "active" if current == "Shipments" - %li{ class: shipments_classes } - = link_to_with_icon 'icon-road', t(:shipments), admin_order_shipments_url(@order) - - if @order.completed? - authorizations_classes = "active" if current == "Return Authorizations" %li{ class: authorizations_classes }