mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-30 21:27:17 +00:00
Update tax_category in product v3 table
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user