Remove stock level from product row

It creates the false impression we can handle agregated stock.
This commit is contained in:
David Cook
2023-11-15 14:54:47 +11:00
parent 4b070f8447
commit 4d22123e02

View File

@@ -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