jshoyos / soen390-team01

MIT License
0 stars 0 forks source link

Inventory Report Quantity bug #114

Open kmarsolais opened 3 years ago

kmarsolais commented 3 years ago

Describe the bug The quantity displayed in the CSV report file is not correct. It is displaying "+-" when it should be displaying the actual quantity

To Reproduce Steps to reproduce the behavior:

  1. Log in using admin@hotmail.com and admin1 as user and pass respectively
  2. Click on the 'Inventory' Tab
  3. Click on 'Generate Inventory Report' in the Filter section
  4. Open the generated report and look at the Quantity column

Expected behavior The quantity column should contain the respective quantities for each row.

Screenshots

image

Desktop (please complete the following information):

t-andrews commented 3 years ago

Can whoever fixes this bug remove the duplication of the generateCsv function?