mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Update products and inventory report
This commit is contained in:
@@ -17,7 +17,7 @@ module Reporting
|
||||
producer_suburb: proc { |variant| variant.product.supplier.address.city },
|
||||
product: proc { |variant| variant.product.name },
|
||||
product_properties: proc { |v| v.product.properties.map(&:name).join(", ") },
|
||||
taxons: proc { |variant| variant.product.taxons.map(&:name).join(", ") },
|
||||
taxons: proc { |variant| variant.product.primary_taxon.name },
|
||||
variant_value: proc { |variant| variant.full_name },
|
||||
price: proc { |variant| variant.price },
|
||||
group_buy_unit_quantity: proc { |variant| variant.product.group_buy_unit_size },
|
||||
|
||||
Reference in New Issue
Block a user