mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-31 21:37:16 +00:00
12878: update unit to full_name to display in variant column
This commit is contained in:
@@ -14,8 +14,8 @@ module Reporting
|
||||
customer_phone: proc { |line_item| line_item.order.bill_address.phone },
|
||||
customer_city: proc { |line_item| line_item.order.bill_address.city },
|
||||
sku: proc { |line_item| line_item.product.sku },
|
||||
item_name: proc { |line_item| line_item.product.name },
|
||||
variant: proc { |line_item| line_item.unit_to_display },
|
||||
product: proc { |line_item| line_item.product.name },
|
||||
variant: proc { |line_item| line_item.full_name },
|
||||
quantity: proc { |line_item| line_item.quantity },
|
||||
max_quantity: proc { |line_item| line_item.max_quantity },
|
||||
cost: proc { |line_item| line_item.price * line_item.quantity },
|
||||
|
||||
Reference in New Issue
Block a user