mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Revert "Add SKU to LettuceShare report"
This reverts commit 15ea64b409.
This commit is contained in:
@@ -6,7 +6,6 @@ module OpenFoodNetwork
|
||||
[
|
||||
"PRODUCT",
|
||||
"Description",
|
||||
"SKU",
|
||||
"Qty",
|
||||
"Pack Size",
|
||||
"Unit",
|
||||
@@ -30,7 +29,6 @@ module OpenFoodNetwork
|
||||
[
|
||||
variant.product.name,
|
||||
variant.full_name,
|
||||
variant.sku,
|
||||
'',
|
||||
OptionValueNamer.new(variant).value,
|
||||
OptionValueNamer.new(variant).unit,
|
||||
|
||||
@@ -326,8 +326,8 @@ feature %q{
|
||||
click_link 'Reports'
|
||||
click_link 'LettuceShare'
|
||||
|
||||
page.should have_table_row ['PRODUCT', 'Description', 'SKU', 'Qty', 'Pack Size', 'Unit', 'Unit Price', 'Total', 'GST incl.', 'Grower and growing method', 'Taxon'].map(&:upcase)
|
||||
page.should have_table_row ['Product 2', '100g', 'ABC', '', '100', 'g', '99.0', '', '0', 'Supplier Name (Organic - NASAA 12345)', 'Taxon Name']
|
||||
page.should have_table_row ['PRODUCT', 'Description', 'Qty', 'Pack Size', 'Unit', 'Unit Price', 'Total', 'GST incl.', 'Grower and growing method', 'Taxon'].map(&:upcase)
|
||||
page.should have_table_row ['Product 2', '100g', '', '100', 'g', '99.0', '', '0', 'Supplier Name (Organic - NASAA 12345)', 'Taxon Name']
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user