Add ability to save Adjustments/Receive/Issue in local storage

Description

When users submit Adjustment/Receive/Issue in offline mode, it should be saved in browser local storage. A saved object should be the same as an object sent in a Stock Event.

Acceptance Criteria:

  • Verify that in offline mode when user click Submit button data are saved in local storage

  • Verify that saved object has the same structure as Stock Event

  • Verify that the data are not lost when logging out or the browser is restarted

  • Verify that many Adjustments can be created and all of them are saved

Activity

Show:
Joanna Szymańska
February 8, 2021, 9:50 AM

Tested again, and now it works as expected.

Joanna Szymańska
February 1, 2021, 4:01 PM

Adjustments / Receive / Issue are saved in local storage as stockEvent. So it works fine.

However, after clicking "Submit", the information also appears that Adjustments / Receive / Issue has been successfully submitted. We should disable this message for now.

Done
Your pinned fields
Click on the next to a field label to start pinning.

Assignee

Paweł Muchowski

Reporter

Paulina Buzderewicz