Update tax_category in product v3 table

This commit is contained in:
Matt-Yorkley
2023-08-01 11:45:41 +01:00
parent 64b29d40a8
commit 885bc46d88

View File

@@ -41,7 +41,6 @@
%td.align-left
.line-clamp-1= product.taxons.map(&:name).join(', ')
%td.align-left
.line-clamp-1= product.tax_category&.name || "None" # TODO: convert to dropdown, else translate hardcoded string.
%td.align-left
.line-clamp-1= product.inherits_properties ? 'YES' : 'NO' #TODO: consider using https://github.com/RST-J/human_attribute_values, else use I18n.t (also below)
- product.variants.each do |variant|
@@ -61,7 +60,7 @@
%td.align-left
-# empty
%td.align-left
-# empty
.line-clamp-1= variant.tax_category&.name || "None" # TODO: convert to dropdown, else translate hardcoded string.
%td.align-left
-# empty