=== 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-16 16:27:19 +0000 +++ dhis-2/dhis-web/dhis-web-caseentry/src/main/resources/org/hisp/dhis/caseentry/i18n_module.properties 2013-10-21 07:40:21 +0000 @@ -692,4 +692,5 @@ selected_items = Selected items dimension = Dimension events = Events -add_filter=Add filter \ No newline at end of file +add_filter=Add filter +relationship_description = Relationship description \ No newline at end of file === modified file 'dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/programStageInstanceFlow.vm' --- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/programStageInstanceFlow.vm 2013-10-16 06:40:54 +0000 +++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/programStageInstanceFlow.vm 2013-10-21 07:40:21 +0000 @@ -80,12 +80,23 @@ #set($allowGenerateNextVisit='false') #set($prevStageId='') #foreach( $programStage in $programInstance.program.programStages ) + + #set($reportDateToUse = "") + #if($programStageInstance.programStage.reportDateToUse=='registrationDate' ) + #set($reportDateToUse = "$format.formatDate( $programInstance.patient.registrationDate)") + #elseif($programStageInstance.programStage.reportDateToUse=='dateOfIncident' ) + #set($reportDateToUse = "$format.formatDate( $programInstance.dateOfIncident)") + #elseif($programStageInstance.programStage.reportDateToUse=='enrollmentDate' ) + #set($reportDateToUse = "$format.formatDate( $programInstance.enrollmentDate)") + #end + #if( $programStage.irregular=='true') #if($!programStage.standardInterval) #set($standardInterval=$!programStage.standardInterval) #else #set($standardInterval=0) #end + #else #set($hasEvent="false") @@ -107,15 +118,7 @@ #end #end - #set($reportDateToUse = "") - #if($programStageInstance.programStage.reportDateToUse=='registrationDate' ) - #set($reportDateToUse = "$format.formatDate( $programInstance.patient.registrationDate)") - #elseif($programStageInstance.programStage.reportDateToUse=='dateOfIncident' ) - #set($reportDateToUse = "$format.formatDate( $programInstance.dateOfIncident)") - #elseif($programStageInstance.programStage.reportDateToUse=='enrollmentDate' ) - #set($reportDateToUse = "$format.formatDate( $programInstance.enrollmentDate)") - #end -