-
Notifications
You must be signed in to change notification settings - Fork 347
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
added referred to facility field in discharge form #5730
added referred to facility field in discharge form #5730
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
✅ Deploy Preview for care-egov-staging ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
@rithviknishad Kindly review it. The field can search from the options but it is not able to add values which are not present. Please suggest how can I solve it? |
👋 Hi, @sachdevavaibhav, This message is automatically generated by prince-chrismc/label-merge-conflicts-action so don't hesitate to report issues/improvements there. |
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.
Use FacilitySelect
component instead of manually duplicating the facility fetching code.
d8a7294
to
a074ec9
Compare
@rithviknishad Kindly review the changes. |
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.
Are you sure this works without any backend changes required?
@rithviknishad Kindly see the last sql query in the attached screenshot. Update: |
@rithviknishad |
@sachdevavaibhav yes! Go ahead! |
👋 Hi, @sachdevavaibhav, This message is automatically generated by prince-chrismc/label-merge-conflicts-action so don't hesitate to report issues/improvements there. |
@sachdevavaibhav can you fix the merge conflict and get it ready for testing, we need to get it merge ASAP |
solved merge conflict. Though I have one question why are we using moment.js and day.js both. Don't they serve the same purpose. I have kept the code coming from develop which is using dayjs. |
const dischargeDetails = { | ||
...preDischargeForm, | ||
discharge: value, | ||
discharge_date: moment(preDischargeForm.discharge_date).toISOString(true), |
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.
- Merge the latest develop (because moment has been uninstalled)
- Discard the
package-lock.json
diff - replace
moment
withdayjs
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.
@rithviknishad Kindly review
LGTM |
WHAT
Added referred to facility field in discharge form
Proposed Changes
@coronasafe/care-fe-code-reviewers @coronasafe/code-reviewers
Merge Checklist
HOW