dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #24508
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 12024: Error when to send sms reminder for enrollment date.
------------------------------------------------------------
revno: 12024
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2013-09-10 21:33:19 +0700
message:
Error when to send sms reminder for enrollment date.
modified:
dhis-2/dhis-web/dhis-web-caseentry/src/main/java/org/hisp/dhis/caseentry/action/patient/SaveProgramEnrollmentAction.java
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-web/dhis-web-caseentry/src/main/java/org/hisp/dhis/caseentry/action/patient/SaveProgramEnrollmentAction.java'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/java/org/hisp/dhis/caseentry/action/patient/SaveProgramEnrollmentAction.java 2013-09-10 04:51:49 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/java/org/hisp/dhis/caseentry/action/patient/SaveProgramEnrollmentAction.java 2013-09-10 14:33:19 +0000
@@ -266,6 +266,8 @@
outboundSms.addAll( programInstanceService.sendMessages( programInstance,
PatientReminder.SEND_WHEN_TO_EMROLLEMENT, format ) );
+ programInstanceService.updateProgramInstance( programInstance );
+
// -----------------------------------------------------------------
// Send DHIS message when to completed the program
// -----------------------------------------------------------------