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

(fix) O3-2671: Lab orders added directly to the basket should be marked incomplete #1552

Merged
merged 3 commits into from
Dec 21, 2023

Conversation

jwnasambu
Copy link
Contributor

@jwnasambu jwnasambu commented Dec 19, 2023

Requirements

  • This PR has a title that briefly describes the work done including the ticket number. If there is a ticket, make sure your PR title includes a conventional commit label. See existing PR titles for inspiration.
  • My work conforms to the OpenMRS 3.0 Styleguide and design documentation.
  • My work includes tests or is validated by existing tests.

Summary

I've made the status tag for lab order items dynamic based on whether the order is complete or incomplete (based on orderBasketItem.isOrderIncomplete). If the order is incomplete, an Incomplete status tag gets rendered. Existing functionality for marking complete orders with a New status tag is maintained.

Design documentation for Order items https://zeroheight.com/23a080e38/p/030b9a-order-item

Screenshots

screencast.2023-12-20.12.AM-14-04.mp4

Related Issue

https://openmrs.atlassian.net/browse/O3-2671

Other

@jwnasambu jwnasambu marked this pull request as draft December 19, 2023 22:54
Copy link
Contributor

@njiddasalifu njiddasalifu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks Good @jwnasambu. For Build, I suggest you try running individual packages tests locally and see if they can all pass it will be easy to debug then.

@jwnasambu jwnasambu marked this pull request as ready for review December 21, 2023 10:15
@denniskigen denniskigen changed the title (fix)O3-2671:Adding lab order directly to basket should be marked as incomplete order. (fix) O3-2671: Lab orders added directly to the basket should be marked incomplete Dec 21, 2023
Copy link
Member

@denniskigen denniskigen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work, @jwnasambu! Thanks.

@denniskigen denniskigen merged commit ea168e1 into openmrs:main Dec 21, 2023
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants