refactor(pricelist): switch from ID-based to UUID-based pricelist fet…#58
Open
delcroip wants to merge 1 commit into
Open
refactor(pricelist): switch from ID-based to UUID-based pricelist fet…#58delcroip wants to merge 1 commit into
delcroip wants to merge 1 commit into
Conversation
…ching Replace `formatNodeQuery` with `formatPageQuery` using UUID filters for fetching services and items pricelists. Update navigation in detail pages to use UUID-based routing instead of numeric IDs, passing pricelist data via history state to avoid redundant fetches. Add `normalizePrice` helper to sanitize price overrule values before mutation. Migrate components from class-based Redux (`connect`/`bindActionCreators`) to hooks (`useDispatch`/ `useSelector`) for consistency.
mngoe
approved these changes
Jun 11, 2026
mngoe
left a comment
There was a problem hiding this comment.
We install this version and it seems to work as expected.
openimis/openimis-fe-claim_js#264
Will do a second round of functionnal testing on a business perspective.
A new PR has just been done to fix module installation : openimis/openimis-fe-claim_js#264
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.
…ching
Replace
formatNodeQuerywithformatPageQueryusing UUID filters for fetching services and items pricelists. Update navigation in detail pages to use UUID-based routing instead of numeric IDs, passing pricelist data via history state to avoid redundant fetches. AddnormalizePricehelper to sanitize price overrule values before mutation. Migrate components from class-based Redux (connect/bindActionCreators) to hooks (useDispatch/useSelector) for consistency.#Thank you for your contribution to openIMIS!
#Please complete the sections below. Anything in comments is guidance and can be deleted.
Description
A clear, concise description of the change. Why is it needed? What problem does it solve?
Type of Change
Related Issue(s) / Task(s)
Demo
Upload screenshots/gifs or link to any demo video here.
Checklist