Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implemented feature to import CSV to reset Inventory(#31a0f22) #187

Merged
merged 62 commits into from
Feb 15, 2023

Conversation

adityasharma7
Copy link
Contributor

@adityasharma7 adityasharma7 commented Feb 15, 2023

Related Issues

Closes #98

Short Description and Why It's Useful

Screenshots of Visual Changes before/after (If There Are Any)

IMPORTANT NOTICE - Remember to add changelog entry

Contribution and Currently Important Rules Acceptance

…xed the UI of inventory detail page(#31a0f22)
…ing facilityId and added static text in en.json file(#31a0f22)
disha1202 and others added 27 commits February 6, 2023 12:12
…31a0f22)

When navigating from Inventory review to PO import page, when the new file is upload code in inventory page is executed as the id was same.
When accessing the products from cached products, using it as object will be optimised approach when accessing any product using id.
When returning cachedProducts object from fetchProducts method and accessing it we have an advantage of quick access, instead of returning list received
Additionally:
Fixed logic for viewSize when getting facility locations, instead of getting 10 location, it should be as per the no of facilityIds
Fetching facilities should be one time action on mounted, used cache to persist it for atleast 1 hour to avoid any unwanted API calls
- Fixed logic to set file if user cancels the file upload
- Fixed values not getting reinitialised when logout and navigation to some other page
… externalId (#31a0f22)

Fixed input file not reset with data properties
Improved logic to check if response has error
Used logger instead of console.error
We are using stock items term for imported stocks, for consistency same term should be used
@adityasharma7 adityasharma7 merged commit 2e77af2 into main Feb 15, 2023
@adityasharma7 adityasharma7 deleted the disha1202-#31a0f22 branch February 15, 2023 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement feature to import CSV to reset Inventory
2 participants