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

Min,Max condition in discharge from care pop-up is not allowing user to swap calendar months #9101

Closed
1 task
nihal467 opened this issue Nov 13, 2024 · 7 comments
Labels
bug Something isn't working needs-triage P1 breaking issue or vital feature question Further information is requested urgent

Comments

@nihal467
Copy link
Member

Describe the bug

The calendar in the "Discharge from Care" pop-up does not allow users to navigate to previous months within the range of the patient's admission date to the current date.

To Reproduce
Steps to reproduce the behavior:

  1. Go to the patient tab.
  2. Click on any patient card with an active live consultation.
  3. Select "Manage Patient" and choose the "Discharge from Care" option from the dropdown menu.
  4. Try to change the calendar to a previous month and observe the issue.

Expected behavior

  • The calendar should allow users to navigate back to previous months within the valid date range (from the patient's date of admission to the current date).

Screenshots

Image

@nihal467 nihal467 added bug Something isn't working urgent P1 breaking issue or vital feature labels Nov 13, 2024
Copy link

⚠️ Refrain from assigning this issue to yourself if you have another P1 issue assigned that is not yet closed.

@AdityaJ2305
Copy link
Contributor

Hey @nihal467 , Let me check if I can solve this issue

@github-actions github-actions bot added needs-triage question Further information is requested labels Nov 13, 2024
@AdityaJ2305
Copy link
Contributor

@nihal467 I checked for a patient admitted on 10th October, and it’s allowing me to switch to October month. Could you clarify if I’m misunderstanding this issue?

Screen.Recording.2024-11-13.at.6.51.32.PM.mov

@nihal467
Copy link
Member Author

nihal467 commented Nov 13, 2024

@AdityaJ2305 seem like your develop is out of sync, check in care.ohc.network or update your local develop

@AdityaJ2305
Copy link
Contributor

AdityaJ2305 commented Nov 13, 2024

@AdityaJ2305 seem like your develop is out of sync, check in care.ohc.network or update your local develop

No, It’s up to date. I also double-checked with the original repo, and everything looks synced.

@ghost
Copy link

ghost commented Nov 13, 2024

@AdityaJ2305 seem like your develop is out of sync, check in care.ohc.network or update your local develop

I think he is correct nihal sir, because even in care.ohc.network also it looks fine to me

@nihal467
Copy link
Member Author

issue seems to be resolved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs-triage P1 breaking issue or vital feature question Further information is requested urgent
Projects
None yet
Development

No branches or pull requests

2 participants