=== modified file 'dhis-2/dhis-services/dhis-service-patient/src/main/resources/org/hisp/dhis/program/hibernate/ProgramStageInstance.hbm.xml'
--- dhis-2/dhis-services/dhis-service-patient/src/main/resources/org/hisp/dhis/program/hibernate/ProgramStageInstance.hbm.xml 2013-09-30 12:11:35 +0000
+++ dhis-2/dhis-services/dhis-service-patient/src/main/resources/org/hisp/dhis/program/hibernate/ProgramStageInstance.hbm.xml 2013-10-09 14:43:56 +0000
@@ -56,5 +56,9 @@
+
+
=== modified file 'dhis-2/dhis-web/dhis-web-caseentry/src/main/java/org/hisp/dhis/caseentry/action/reminder/SavePatientCommentAction.java'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/java/org/hisp/dhis/caseentry/action/reminder/SavePatientCommentAction.java 2013-09-07 08:03:00 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/java/org/hisp/dhis/caseentry/action/reminder/SavePatientCommentAction.java 2013-10-09 14:43:56 +0000
@@ -107,9 +107,10 @@
patientComment = new PatientComment();
}
- patientComment = new PatientComment( commentText, currentUserService.getCurrentUsername(), new Date() );
+ patientComment.setCommentText( commentText );
+ patientComment.setCreator( currentUserService.getCurrentUsername() );
+ patientComment.setCreatedDate( new Date() );
programStageInstance.setPatientComment( patientComment );
-
}
else if ( patientComment != null )
{
=== modified file 'dhis-2/dhis-web/dhis-web-caseentry/src/main/resources/org/hisp/dhis/caseentry/i18n_module.properties'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/resources/org/hisp/dhis/caseentry/i18n_module.properties 2013-10-09 11:14:49 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/resources/org/hisp/dhis/caseentry/i18n_module.properties 2013-10-09 14:43:56 +0000
@@ -684,4 +684,5 @@
report_option = Report options
active_and_completed_enrolments = Active and Completed Enrolments
hide_search_criteria = Hide search criteria
-there_are_active_search_filter_click_on_arrow_to_show_them = there are active search filter, click on arrow to show them.
\ No newline at end of file
+there_are_active_search_filter_click_on_arrow_to_show_them = there are active search filter, click on arrow to show them.
+add_relative = Add relative
\ No newline at end of file
=== modified file 'dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/eventMessage.vm'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/eventMessage.vm 2013-09-10 15:46:44 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/eventMessage.vm 2013-10-09 14:43:56 +0000
@@ -60,15 +60,16 @@
#set( $mark = !$mark )
#end
+
#foreach($programStageInstance in $programStageInstances)
- #foreach( $comment in $programStageInstance.patientComments )
+ #if( $programStageInstance.patientComment )