dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #04980
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 1668: Fix bug #513789 .
------------------------------------------------------------
revno: 1668
committer: Viet <Viet@Viet-Nguyen>
branch nick: trunk
timestamp: Thu 2010-03-18 18:36:11 +0530
message:
Fix bug #513789 .
modified:
dhis-2/dhis-services/dhis-service-patient/src/main/java/org/hisp/dhis/program/DefaultProgramStageInstanceService.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-patient/src/main/java/org/hisp/dhis/program/DefaultProgramStageInstanceService.java'
--- dhis-2/dhis-services/dhis-service-patient/src/main/java/org/hisp/dhis/program/DefaultProgramStageInstanceService.java 2009-11-20 07:45:12 +0000
+++ dhis-2/dhis-services/dhis-service-patient/src/main/java/org/hisp/dhis/program/DefaultProgramStageInstanceService.java 2010-03-18 13:06:11 +0000
@@ -99,7 +99,7 @@
for ( ProgramStageInstance programStageInstance : programStageInstances )
{
- if ( programStageInstance.getExecutionDate() != null )
+ if ( programStageInstance.isCompleted() )
{
colorMap.put( programStageInstance.getId(), ProgramStageInstance.COLOR_GREEN );
}