Revert "Add SKU to LettuceShare report"

This reverts commit 15ea64b409.
This commit is contained in:
Rob Harrington
2015-12-16 13:42:58 +11:00
parent 5d28a7fdf8
commit 2bb85eb8e0
2 changed files with 2 additions and 4 deletions

View File

@@ -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,

View File

@@ -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