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

TRUNK-2224 Show appropriate notification message when void reason is empty when voiding a patient #760

Closed
wants to merge 1 commit into from

Conversation

aka001
Copy link
Contributor

@aka001 aka001 commented Mar 10, 2014

Repeating the comment put in the previous pr)
@dkayiwa
yaa true that but the point I am trying to make is.
When one clicks on "Delete" button the block containing the message:
action.equals(msa.getMessage("Patient.delete")) gets triggered and we can find out whether the "delete reason" provided by the user is empty or not,
by using the command, StringUtils.isNotBlank(patient.getVoidReason())
I have thoroughly tested this.
P.S. Talking about the version openmrs 1.11

@@ -49,8 +49,8 @@
* render the patient dashboard model and direct to the view
*/
@RequestMapping("/patientDashboard.form")
protected String renderDashboard(@RequestParam(required = true, value = "patientId") Integer patientId, ModelMap map, HttpServletRequest request)
throws Exception {
protected String renderDashboard(@RequestParam(required = true, value = "patientId") Integer patientId, ModelMap map,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This automatically got changed after running "mvn clean install". I hope it's fine. :)

@dkayiwa
Copy link
Member

dkayiwa commented Mar 11, 2014

@aka001 i think some of the recent user interface changes could have confused you a bit. But i have put the explanation in the earlier comments. Deleting from the user interface is internally voiding in the API. Address this and create a new pull request.

@dkayiwa dkayiwa closed this Mar 11, 2014
@aka001 aka001 deleted the TRUNK_-2224 branch March 11, 2014 15:06
@aka001
Copy link
Contributor Author

aka001 commented Mar 11, 2014

@dkayiwa I have made a new pr, kindly have a look.
#771

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants