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 53, Merchant fulfills part of an order #30

Open
7 tasks
memcmahon opened this issue May 20, 2019 · 0 comments
Open
7 tasks

User Story 53, Merchant fulfills part of an order #30

memcmahon opened this issue May 20, 2019 · 0 comments

Comments

@memcmahon
Copy link
Collaborator

As a merchant
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
- My 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 52, 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 turingschool-projects#212

child of turingschool-projects#274

depends on turingschool-projects#211

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

No branches or pull requests

3 participants