← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 7923: Minor fix

 

------------------------------------------------------------
revno: 7923
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2012-08-16 23:40:42 +0700
message:
  Minor fix
modified:
  dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/dataRecordingSelect.vm


--
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-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/dataRecordingSelect.vm'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/dataRecordingSelect.vm	2012-08-16 16:31:03 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/dataRecordingSelect.vm	2012-08-16 16:40:42 +0000
@@ -21,9 +21,6 @@
 		</table>
 	</tr>
 </table>
-
-#parse( "/dhis-web-caseentry/colorHelp.vm" )
-</p>
 		
 <div id='inputCriteria' class="page inputCriteria" style="width:490px;height:29px;">	
 	<input type='hidden' id='programStageId' name='programStageId'>
@@ -42,56 +39,11 @@
 	</table>
 </div>
 
-<div id='programInstanceDiv' class='hidden '>
-	<div id='programInstanceFlowDiv' style="width:78%;height:115px;overflow-x:auto;">
-		<table>
-			<tr id='programStageIdTR'></tr>
-		</table>
-	</div>
-	
-	<br>		
-	<table id='executionDateTB'>
-		<tr>
-			<th class='text-column'><label for="executionDate">$i18n.getString( "report_date" ) </label></th>
-			<th><input type="text" id="executionDate" name="executionDate" class='criteria' value="$!format.formatDate( $programStageInstance.executionDate )" >
-				<script type="text/javascript">
-				   datePickerValid( 'executionDate', false );
-				</script>
-			</th>
-			<th class='text-column'><label for="dueDate">$i18n.getString( "due_date" ) </label></th>
-			<th><input type="text" id="dueDate" name="dueDate" class='criteria' value="$!format.formatDate( $programStageInstance.dueDate )" readonly > </th>
-		</tr>
-	</table>
-</div>
-
 </form>
 
-<p></p>
-	
-<div id='createNewEncounterDiv' class='hidden'>
-	<table>
-		<tr>
-			<td>$i18n.getString( 'due_date' )</td>
-			<td><input id='dueDateNewEncounter' name='dueDateNewEncounter' style='width:260px;'></td>
-			<script type="text/javascript">
-			   datePicker( 'dueDateNewEncounter', false );
-			</script>
-		</tr>
-		<tr>
-			<td></td>
-			<td>
-				<input type='button' value='$i18n.getString("create")' onclick='registerIrregularEncounter( getFieldValue("dueDateNewEncounter" ) );' />
-				<input type='button' value='$i18n.getString("cancel")' onclick="closeDueDateDiv();" />
-			</td>
-</div>
-
 <script>
 	jQuery('#dataRecordingSelectForm').ready(function(){ 
-		var programs = byId('programId');
-		if( programs.options.length == 2 )
-		{
-			 byId('programId').selectedIndex = 1;
-			 loadProgramStages();
-		}
+		byId('programId').selectedIndex = 1;
+		loadProgramStages();
 	});
 </script>