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

03-3404: follow-up -ensure the dateAppointmentScheduled <= appointmentDate #1295

Merged
merged 3 commits into from
Aug 28, 2024

Conversation

lucyjemutai
Copy link
Contributor

@lucyjemutai lucyjemutai commented Aug 28, 2024

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

This is a follow-up PR.

This PR ensrues that the the form saves when dateAppointmentScheduled <= appointmentDate

Screenshots

Related Issue

Other

@lucyjemutai lucyjemutai marked this pull request as ready for review August 28, 2024 14:55
@lucyjemutai
Copy link
Contributor Author

@mogoodrich Kindly review this PR

Copy link
Member

@mogoodrich mogoodrich left a comment

Choose a reason for hiding this comment

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

LGTM, thanks @lucyjemutai , merging this in!

@mogoodrich mogoodrich merged commit f99530d into openmrs:main Aug 28, 2024
6 checks passed
chibongho pushed a commit that referenced this pull request Aug 30, 2024
…ed occupancy (#1213)

* feat-metrics

* update metrics

* correct test

* refactor useAdmission

* fix e2e tests

* (refactor) Refactor registration form cancel modal to match conventions (#1294)

This PR refactors the registration form's cancel modal to match new modal naming and registration conventions. Modals
are now registered in the routes registry file under the `modals`. The naming convention has also changed - modals now use the `*.modal.tsx` suffix.
I've also amended the modal to use Carbon's ModalBody, ModalHeader, and ModalFooter components instead of using divs with
custom classes. Finally, I've amended the modal title and content to align with other confirmation modals in O3.

* (feat) 03-3404: follow-up -ensure the  dateAppointmentScheduled <= appointmentDate (#1295)

* correct yarn.lock

---------

Co-authored-by: Dennis Kigen <[email protected]>
Co-authored-by: Lucy Jemutai <[email protected]>
chibongho pushed a commit that referenced this pull request Sep 23, 2024
…rics (#1307)

* feat-metrics

* update metrics

* correct test

* refactor useAdmission

* fix e2e tests

* (refactor) Refactor registration form cancel modal to match conventions (#1294)

This PR refactors the registration form's cancel modal to match new modal naming and registration conventions. Modals
are now registered in the routes registry file under the `modals`. The naming convention has also changed - modals now use the `*.modal.tsx` suffix.
I've also amended the modal to use Carbon's ModalBody, ModalHeader, and ModalFooter components instead of using divs with
custom classes. Finally, I've amended the modal title and content to align with other confirmation modals in O3.

* (feat) 03-3404: follow-up -ensure the  dateAppointmentScheduled <= appointmentDate (#1295)

* correct yarn.lock

* fix metrics calculations

* add internationalization

* correct mocks

* add dir attribute

* remove i18n code

* clean code

---------

Co-authored-by: Dennis Kigen <[email protected]>
Co-authored-by: Lucy Jemutai <[email protected]>
chibongho pushed a commit that referenced this pull request Oct 7, 2024
…ng occupied beds (#1333)

* feat-metrics

* update metrics

* correct test

* refactor useAdmission

* fix e2e tests

* (refactor) Refactor registration form cancel modal to match conventions (#1294)

This PR refactors the registration form's cancel modal to match new modal naming and registration conventions. Modals
are now registered in the routes registry file under the `modals`. The naming convention has also changed - modals now use the `*.modal.tsx` suffix.
I've also amended the modal to use Carbon's ModalBody, ModalHeader, and ModalFooter components instead of using divs with
custom classes. Finally, I've amended the modal title and content to align with other confirmation modals in O3.

* (feat) 03-3404: follow-up -ensure the  dateAppointmentScheduled <= appointmentDate (#1295)

* correct yarn.lock

* fix metrics calculations

* add internationalization

* correct mocks

* add dir attribute

* remove i18n code

* clean code

* use admissionLocation as source of truth

* Update ward-view.resource.ts

---------

Co-authored-by: Dennis Kigen <[email protected]>
Co-authored-by: Lucy Jemutai <[email protected]>
chibongho pushed a commit that referenced this pull request Oct 7, 2024
* feat-metrics

* update metrics

* correct test

* refactor useAdmission

* fix e2e tests

* (refactor) Refactor registration form cancel modal to match conventions (#1294)

This PR refactors the registration form's cancel modal to match new modal naming and registration conventions. Modals
are now registered in the routes registry file under the `modals`. The naming convention has also changed - modals now use the `*.modal.tsx` suffix.
I've also amended the modal to use Carbon's ModalBody, ModalHeader, and ModalFooter components instead of using divs with
custom classes. Finally, I've amended the modal title and content to align with other confirmation modals in O3.

* (feat) 03-3404: follow-up -ensure the  dateAppointmentScheduled <= appointmentDate (#1295)

* correct yarn.lock

* fix metrics calculations

* add internationalization

* correct mocks

* add dir attribute

* remove i18n code

* clean code

* use admissionLocation as source of truth

* fix patient error

---------

Co-authored-by: Dennis Kigen <[email protected]>
Co-authored-by: Lucy Jemutai <[email protected]>
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.

2 participants