Create new adjustment page

Description

This story is split out from https://openlmis.atlassian.net/browse/OLMIS-2096#icft=OLMIS-2096 TO DO

As a storeroom manager
I want to create an adjustment event
so that I record adjustment information for one or multiple orderables;

Scope in:
Program list table;
Create button;
New adjustment page (without products);

Scope out:
save draft adjustment;
Submit adjustment;
Add/Remove new orderables;

Question:
Can I choose the occured date older than my last stock line item? Meaning, if my last stock line item was an adjustment and it occurred on 10th Jan 2017. Can I make a new adjustment which occurred on 8th Jan 2017?

Acceptance Criteria:

  • Given I am on the homepage when I click 'Make adjustment' from the stock management dropdown menu from the navigation bar then it will direct me to the adjustment menu page (refer to mockup version4-1) where lists out the table of all my home facility supports programs;

  • Given I am on the adjustment menu page when I click the 'Create' button then it will direct me to the new adjustment page (refer to mockup version4-2) of that specific program I select;

  • Given I am on the new adjustment page, I can see a table whose content is empty apart from one instruction message says "Add a product to make an adjustment. You have not added any products yet.".
    Given I am on the new adjustment page, I can see there is an 'Add product' button and its color is gray.

  • Given I am on the new adjustment page, I can see there is a Product field, Reason field, Date field, 'Add' button and its color is gray.

  • Given I am on the new adjustment page, the title will display my home facility name + the program I choose.Refer to the mockup.

  • Given I am on the new adjustment page, my home facility name + program I choose will also be displayed in the crumbs.

  • Given I am on the new adjustment page, when I refresh the page then there will be a pop-up window asking me whether I want to reload this page. This pop-up window is the explorer default reload notification window;

  • Given I am on the new adjustment page, when I close the page then there will be a pop-up window asking me whether I want to quit this page. This pop-up window is the explorer default quit notification window;

Attachments

2
  • 12 Apr 2017, 07:00 AM
  • 06 Apr 2017, 03:20 AM

Activity

Sam Im 
May 22, 2017 at 6:41 PM

Thank you for the clarification.

Shiyu Jin 
May 22, 2017 at 2:52 AM
(edited)


These are the old ACs of this story.
Based on feedback OLMIS-2430, we changed the behavior to:
The pop up modal only appears when there is a change. For example, if you just go to the adjustment page without input anything then the pop-up will no show up.

Sam Im 
May 19, 2017 at 9:20 PM

The last two acceptance criteria do not happen when I am in test. I click the back button on my browser, or click the refresh button and no message pops up. It lets me continue. Is this expected behavior?

Brandon Bowersox-Johnson 
April 16, 2017 at 11:10 PM

I've reviewed it on the test server (as srmanager2), and all of the label/wording changes that Mary Jo and I suggested look good to me. Thanks!

FYI

Wei Zhang 
April 14, 2017 at 8:53 AM
(edited)


We have made changes based on the feedback you have given above, you can review it at test environment.
Let us know if you have comment.

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

Details

Assignee

Reporter

Labels

Story Points

Sprint

Fix versions

Priority

Time Assistant

Created March 28, 2017 at 7:24 AM
Updated May 22, 2017 at 6:41 PM
Resolved April 14, 2017 at 8:53 AM