=== 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-04-02 04:51:30 +0000 +++ dhis-2/dhis-web/dhis-web-caseentry/src/main/resources/org/hisp/dhis/caseentry/i18n_module.properties 2013-04-08 05:43:06 +0000 @@ -617,4 +617,5 @@ next = Next confirm_delete_favorite = Are you sure you want to delete favorite ? in = IN -home = Home \ No newline at end of file +home = Home +show_all_sections = Show all sections \ No newline at end of file === modified file 'dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/dataEntryForm.vm' --- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/dataEntryForm.vm 2013-04-04 05:07:53 +0000 +++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/dataEntryForm.vm 2013-04-08 05:43:06 +0000 @@ -32,6 +32,7 @@
+ #if($programStageInstance.programStage.captureCoordinates=='true') @@ -43,6 +44,7 @@ #end + + #if( $programStageInstance.programStage.getDataEntryType()=='section' ) + + + + + #end +
@@ -50,6 +52,20 @@
+ +
@@ -66,6 +82,7 @@
+ === modified file 'dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/anonymousRegistration.js' --- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/anonymousRegistration.js 2013-04-08 04:57:19 +0000 +++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/anonymousRegistration.js 2013-04-08 05:43:06 +0000 @@ -500,6 +500,9 @@ var programStageId = jQuery( '#programId option:selected' ).attr( 'psid' ); jQuery( '.stage-object-selected' ).attr( 'psid', programStageId ); setInnerHTML( 'programName', programName ); + jQuery('#executionDate').css('width',430); + jQuery('#executionDate').css('margin-right',30); + if ( getFieldValue( 'completed' ) == 'true' ) { disable( "completeBtn" ); enable( "uncompleteBtn" ); === modified file 'dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/entry.js' --- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/entry.js 2013-04-04 05:07:53 +0000 +++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/entry.js 2013-04-08 05:43:06 +0000 @@ -860,3 +860,17 @@ }); } +function filterOnSection() +{ + var value = 'sec_' + $( '#filterDataSetSection option:selected' ).val(); + + if ( value == 'all' ) + { + $( '.formSection' ).show(); + } + else + { + $( '.formSection' ).hide(); + $( '#' + value ).show(); + } +} === modified file 'dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/patientForm.vm' --- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/patientForm.vm 2013-03-19 08:08:50 +0000 +++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/patientForm.vm 2013-04-08 05:43:06 +0000 @@ -152,6 +152,8 @@ + #elseif( $attribute.valueType == "trueOnly" ) + #elseif( $attribute.valueType == "date" )