As a storeroom manager after I submit a requisition and it is in the submitted state, I can edit the requisition by selecting the Non Full Supply tab and adding a product.
Reproduce:
1. Create a requisition and submit as a storeroom manager.
2. Once the requisition is submitted, navigate back to the requisition. The requisition should not have any fields that show as editable. Then select the Non Full Supply tab.
3. Select Add a product and add a product and a quantity. The total requisition cost should change.
Expected Behavior: The user should not be able to edit a requisition that is in the Submitted state, to change it's total cost.
Yo! The ng-if statement screwed up the display of the add-product button...
it used to be here:
it is now here:
I'm making a quick patch for this....
I checked, and everything works correctly on both browsers. Please only add the changelog concerning the ticket because I didn't find it in the Changelog file in the openlmis-requisition-ui repository.
I updated the changelog: https://github.com/OpenLMIS/openlmis-requisition-ui/blob/master/CHANGELOG.md
I checked, and everything works correctly.