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

User Story 33, Merchant fulfills part of an order #204

Open
7 tasks
BrianZanti opened this issue Sep 3, 2019 · 0 comments
Open
7 tasks

User Story 33, Merchant fulfills part of an order #204

BrianZanti opened this issue Sep 3, 2019 · 0 comments

Comments

@BrianZanti
Copy link
Contributor

BrianZanti commented Sep 3, 2019

As a merchant employee or admin
When I visit an order show page from my dashboard
For each item of mine in the order
If the user's desired quantity is equal to or less than my current inventory quantity for that item
And I have not already "fulfilled" that item:
- Then I see a button or link to "fulfill" that item
- When I click on that link or button I am returned to the order show page
- I see the item is now fulfilled
- I also see a flash message indicating that I have fulfilled that item
- the item's inventory quantity is permanently reduced by the user's desired quantity

If I have already fulfilled this item, I see text indicating such.

DO THESE STORIES FIRST:

  • User Story 32, Merchant sees an order show page

Checklist:

  • base tests are written
  • base code is written to pass tests
  • edge case ("sad path") tests written (if required)
  • edge case code written (if required)
  • code is reviewed
  • branch is merged
  • all tests still pass

child of #209

child of #242

depends on #205

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

1 participant