mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-23 05:28:53 +00:00
Remove stock level from product row
It creates the false impression we can handle agregated stock.
This commit is contained in:
@@ -57,8 +57,7 @@
|
||||
%td.align-right
|
||||
-# empty
|
||||
%td.align-right
|
||||
-# TODO: new requirement "DISPLAY ON DEMAND IF ALL VARIANTS ARE ON DEMAND". And translate value
|
||||
.content= if product.variants.all?(&:on_demand) then "On demand" else product.on_hand || 0 end
|
||||
-# empty
|
||||
%td.align-left
|
||||
.content= product.supplier&.name
|
||||
%td.align-left
|
||||
|
||||
Reference in New Issue
Block a user