← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 12410: minor change

 

------------------------------------------------------------
revno: 12410
committer: Lai <lai.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2013-10-03 15:32:19 +0700
message:
  minor change
modified:
  dhis-2/dhis-services/dhis-service-mobile/src/main/java/org/hisp/dhis/mobile/service/ActivityReportingServiceImpl.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-services/dhis-service-mobile/src/main/java/org/hisp/dhis/mobile/service/ActivityReportingServiceImpl.java'
--- dhis-2/dhis-services/dhis-service-mobile/src/main/java/org/hisp/dhis/mobile/service/ActivityReportingServiceImpl.java	2013-10-03 04:59:39 +0000
+++ dhis-2/dhis-services/dhis-service-mobile/src/main/java/org/hisp/dhis/mobile/service/ActivityReportingServiceImpl.java	2013-10-03 08:32:19 +0000
@@ -2015,9 +2015,10 @@
                 ProgramStageInstance programStageInstance = programStageInstanceService
                     .getProgramStageInstance( stageInstanceId );
                 Patient patient = programStageInstance.getProgramInstance().getPatient();
-                eventsInfo += programStageInstance.getId() + "/" + patient.getName() + "/"
-                    + programStageInstance.getProgramStage().getName() + "/" + programStageInstance.getDueDate() + "$";
+                eventsInfo += programStageInstance.getId() + "/" + patient.getName() + ", "
+                    + programStageInstance.getProgramStage().getName() + "(" + formatter.format(programStageInstance.getDueDate()) + ")" + "$";
             }
+
             throw new NotAllowedException( eventsInfo );
         }
         else