Repository navigation
Add a restock basket and stock count actions - #1226
Merged
Merged
Conversation
Contributor
|
Merged to Try it at https://develop.posnic.io, or run it yourself: git fetch origin develop && git checkout develop
npm install && npm --prefix api install
npm run dev # then http://localhost:3000When you have tested it, say what you did and what happened, and set Reporting that something is broken is as useful as fixing it. It is |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Low Stock now collects items in a restock basket instead of opening one purchase for each click. Quantities start at 1, can be edited, and remain available while browsing or refreshing the tab. Finish reviews a direct stock adjustment or transfers one supplier group into a purchase without overwriting an existing purchase draft.
Stock Counts now exposes Start recount, Bulk stock update, Inventory logs, Low stock list and Refresh. Its empty state explains saved worksheets versus completed adjustments. Low Stock has the shared stock tools and refreshes after adjustments.
Validation: browser-tested on the isolated demo: two direct additions (+3/+2), recount restoration, two-item purchase saved with quantities 4/1 and stock unchanged for the order, and basket persistence across reload. API repository suite: 154 passed. Final targeted UI/language suites: 63 passed. Full suite: 4,113 passed, 2 skipped; its one Dutch coverage failure was corrected and the complete affected language suites subsequently passed. Frontend build, packaging, attribution and lint checks passed (existing lint warnings only).
Preview: https://basket-review-test.posnic.com/public/dashboard.html#/lowstockitems