dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #19019
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 8131: Donnot update isDeath status of person.
------------------------------------------------------------
revno: 8131
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2012-09-19 14:32:38 +0700
message:
Donnot update isDeath status of person.
modified:
dhis-2/dhis-web/dhis-web-caseentry/src/main/java/org/hisp/dhis/caseentry/action/patient/UpdatePatientAction.java
dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/updatePatientForm.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/java/org/hisp/dhis/caseentry/action/patient/UpdatePatientAction.java'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/java/org/hisp/dhis/caseentry/action/patient/UpdatePatientAction.java 2012-09-12 04:14:03 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/java/org/hisp/dhis/caseentry/action/patient/UpdatePatientAction.java 2012-09-19 07:32:38 +0000
@@ -389,7 +389,7 @@
this.id = id;
}
- public void setDead( boolean isDead )
+ public void setIsDead( boolean isDead )
{
this.isDead = isDead;
}
=== modified file 'dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/updatePatientForm.vm'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/updatePatientForm.vm 2012-09-11 07:31:17 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/updatePatientForm.vm 2012-09-19 07:32:38 +0000
@@ -148,7 +148,7 @@
</td>
</tr>
- <tr id='deathDateTR' class="hidden" >
+ <tr id='deathDateTR' #if($!patient.isDead) #else class="hidden" #end>
<td class='text-column'><label for="deathDate">$i18n.getString("death_date")</label></td>
<td class="input-column">
<input type="text" name="deathDate" id="deathDate" #if($!patient.deathDate) value="$format.formatDate( $!patient.deathDate )" #end>