mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
LettuceShare report: total in unit value column and total blank
This commit is contained in:
@@ -25,8 +25,8 @@ module OpenFoodNetwork
|
||||
'',
|
||||
OptionValueNamer.new(variant).value,
|
||||
OptionValueNamer.new(variant).unit,
|
||||
variant.price - gst(variant),
|
||||
variant.price,
|
||||
'',
|
||||
gst(variant),
|
||||
grower_and_method(variant),
|
||||
variant.product.primary_taxon.name
|
||||
|
||||
@@ -324,7 +324,7 @@ feature %q{
|
||||
click_link 'LettuceShare'
|
||||
|
||||
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', '99.0', '0', 'Supplier Name (Organic - NASAA 12345)', 'Taxon Name']
|
||||
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