User can Add Products using Non Full Supply tab after submitting

Description

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.

Environment

None

Activity

Show:
Paweł Gesek
July 13, 2017, 8:32 AM
Nick Reid
July 14, 2017, 4:26 AM

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....

Joanna Bebak
July 18, 2017, 12:31 PM

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.

Paweł Gesek
July 18, 2017, 12:32 PM
Joanna Bebak
July 18, 2017, 12:34 PM

I checked, and everything works correctly.

Done

Assignee

Nikodem Graczewski

Reporter

Sam Im

Labels

None

Story Points

1

Time tracking

0m

Time remaining

0m

Components

Sprint

None

Fix versions

Affects versions

Priority

Major