← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 1922: Bug Fixed in MultiDataEntryScreen for Benificiary

 

------------------------------------------------------------
revno: 1922
committer: Bharath <chbharathk@xxxxxxxxx>
branch nick: trunk
timestamp: Sat 2010-08-14 20:32:55 +0530
message:
  Bug Fixed in MultiDataEntryScreen for Benificiary
modified:
  dhis-2/dhis-web/dhis-web-caseentry/src/main/resources/struts.xml
  dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/programStageDataEntryForm.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/resources/struts.xml'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/resources/struts.xml	2010-08-05 12:25:16 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/resources/struts.xml	2010-08-14 15:02:55 +0000
@@ -159,6 +159,10 @@
       ,../dhis-web-commons/util/jquery.metadata.js,javascript/customcheckbox/prettyCheckboxes.js</param>
       <param name="stylesheets">../dhis-web-commons/util/css/redmond/jquery-ui.css,style/patient.css,javascript/customcheckbox/prettyCheckboxes.css</param>
     </action>
+
+    <action name="completeProgramStageDataEntry" class="org.hisp.dhis.caseentry.action.caseentry.CompleteDataEntryAction">
+        <result name="success" type="chain">viewProgramStageRecords</result>
+    </action>
 	    
     <!-- Visit Plan -->
     

=== modified file 'dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/programStageDataEntryForm.vm'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/programStageDataEntryForm.vm	2010-08-05 12:32:20 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/programStageDataEntryForm.vm	2010-08-14 15:02:55 +0000
@@ -186,11 +186,11 @@
 
 </div>
 <div id="completeDataEntryFormContainer">
-<form id="completeDataEntryForm" name="completeDataEntry" method="post" action="completeDataEntry.action"> 
-    <input type="hidden" name="id" value="$id"/>
-    <input type="hidden" name="programId" value="$programId"/>
-    <input type="hidden" name="programStageId" value="$programStageId"/>
-    <input type="hidden" name="programStageInstanceId" value="$programStageInstanceId"/>
+<form id="completeDataEntryForm" name="completeDataEntry" method="post" action="completeProgramStageDataEntry.action"> 
+    <input type="hidden" name="id" value="$patient.id"/>
+    <input type="hidden" name="programId" value="$program.id"/>
+    <input type="hidden" name="programStageId" value="$programStage.id"/>
+    <input type="hidden" name="programStageInstanceId" value="$programStageInstance.id"/>
 </form>
 </div>
 </div>