-
Notifications
You must be signed in to change notification settings - Fork 291
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
[Sowmya|Tanya] | Adds logic to fetch drug chart data | A-1204950368410820 #671
Conversation
Since you don't need the confirmBox in the patientDasboardController, the mocks for the confirmbox can be removed from the test file as well. - openmrs-module-bahmniapps/ui/test/unit/clinical/controllers/patientDashboardController.spec.js Line 46 in 01b30fc
|
onConfirm: PropTypes.func, | ||
}), | ||
patientId: PropTypes.string, | ||
forDate: PropTypes.instanceOf(Date), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to send the forDate from Bahmni Apps?
I think the navigation of dates will be driven from IPD module only. So I think sending only patientId would be sufficient.
}); | ||
} | ||
patientId: $stateParams.patientUuid, | ||
forDate: new Date().toUTCString() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as above
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We are directly passing the epoch value of date from bahmniapps. In IPD-frontend repo we are directly receiving the epoch value for forDate
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, for now lets keep it like this, We might have to revisit this when navigation card is played.
No description provided.