← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 8572: Display provided-elsewhere checkboxes in custom entry form for completed event.

 

------------------------------------------------------------
revno: 8572
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2012-10-18 14:47:25 +0700
message:
  Display provided-elsewhere checkboxes in custom entry form for completed event.
modified:
  dhis-2/dhis-services/dhis-service-patient/src/main/java/org/hisp/dhis/program/DefaultProgramDataEntryService.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/DefaultProgramDataEntryService.java'
--- dhis-2/dhis-services/dhis-service-patient/src/main/java/org/hisp/dhis/program/DefaultProgramDataEntryService.java	2012-08-14 04:37:16 +0000
+++ dhis-2/dhis-services/dhis-service-patient/src/main/java/org/hisp/dhis/program/DefaultProgramDataEntryService.java	2012-10-18 07:47:25 +0000
@@ -277,7 +277,7 @@
                         inputHTML += jQueryCalendar;
                     }
 
-                    if ( !programStageInstance.isCompleted() && allowProvidedElsewhere )
+                    if ( allowProvidedElsewhere )
                     {
                         // Add ProvidedByOtherFacility checkbox
                         inputHTML = addProvidedElsewherCheckbox( inputHTML, patientDataValue, programStage );