From 476dd268653a5f243291f104112d40247d4d85c0 Mon Sep 17 00:00:00 2001 From: Angel Perez Date: Tue, 27 Nov 2018 10:16:18 -0400 Subject: [PATCH] Use Spree::Variant#should_track_inventory? to disable 'Count on hand' input --- .../views/spree/admin/stock_items/_stock_management.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/app/views/spree/admin/stock_items/_stock_management.html.erb b/backend/app/views/spree/admin/stock_items/_stock_management.html.erb index 210dbe6b728..c5d21f1c5f9 100644 --- a/backend/app/views/spree/admin/stock_items/_stock_management.html.erb +++ b/backend/app/views/spree/admin/stock_items/_stock_management.html.erb @@ -72,7 +72,7 @@ <% variant.stock_items.each do |item| %> <% if @stock_item_stock_locations.include?(item.stock_location) %> - + <%# This is rendered in JS %> <% end %>