dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #22517
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 10839: Hide post-comment field of entry form in Program Summary report.
------------------------------------------------------------
revno: 10839
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2013-05-15 10:40:15 +0700
message:
Hide post-comment field of entry form in Program Summary report.
modified:
dhis-2/dhis-services/dhis-service-patient/src/main/java/org/hisp/dhis/program/hibernate/HibernateProgramStageInstanceStore.java
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/javascript/report.js
dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/programTrackingList.vm
dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/visitSchedule.vm
dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/resources/org/hisp/dhis/patient/i18n_module.properties
--
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-services/dhis-service-patient/src/main/java/org/hisp/dhis/program/hibernate/HibernateProgramStageInstanceStore.java'
--- dhis-2/dhis-services/dhis-service-patient/src/main/java/org/hisp/dhis/program/hibernate/HibernateProgramStageInstanceStore.java 2013-04-22 06:06:16 +0000
+++ dhis-2/dhis-services/dhis-service-patient/src/main/java/org/hisp/dhis/program/hibernate/HibernateProgramStageInstanceStore.java 2013-05-15 03:40:15 +0000
@@ -755,7 +755,7 @@
public Grid getCompleteness( OrganisationUnit orgunit, Program program, String startDate, String endDate, I18n i18n )
{
- String sql = "SELECT ou.name as orgunit, ps.name as program_stage, psi.completeduser as user_name, count(psi.programstageinstanceid) as number_of_events "
+ String sql = "SELECT ou.name as orgunit, ps.name as events, psi.completeduser as user_name, count(psi.programstageinstanceid) as number_of_events "
+ " FROM programstageinstance psi INNER JOIN programstage ps "
+ " ON psi.programstageid = ps.programstageid "
+ " INNER JOIN organisationunit ou "
=== 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-24 12:13:43 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/dataEntryForm.vm 2013-05-15 03:40:15 +0000
@@ -34,7 +34,7 @@
</tr>
#end
- <tr>
+ <tr id='entryPostComment'>
<th class='coordinates1'><label for="postComment">$i18n.getString('post_comment'):</label></th>
<th colspan='3'>
<input type="text" class="{validate:{maxlength:160}} criteria" id="commentInput"
=== modified file 'dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/report.js'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/report.js 2013-04-15 07:46:11 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/report.js 2013-05-15 03:40:15 +0000
@@ -37,6 +37,7 @@
.load( 'viewRecords.action?programStageInstanceId=' + programStageInstanceId
,function(){
showById('entryForm');
+ hideById('entryPostComment');
jQuery("#viewRecordsDiv :input" ).attr("disabled", true);
jQuery("#viewRecordsDiv :input" ).datepicker("destroy");
jQuery("#viewRecordsDiv :input" ).removeAttr("onclick");
=== modified file 'dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/programTrackingList.vm'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/programTrackingList.vm 2013-05-14 15:07:58 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/programTrackingList.vm 2013-05-15 03:40:15 +0000
@@ -136,7 +136,7 @@
</colgroup>
<tr>
<th>$i18n.getString( "date" )</th>
- <th>$i18n.getString( "program_stage" )</th>
+ <th>$i18n.getString( "events" )</th>
<th>$i18n.getString( "sender" )</th>
<th>$i18n.getString( "message" )</th>
</tr>
=== modified file 'dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/visitSchedule.vm'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/visitSchedule.vm 2013-05-06 09:00:15 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/visitSchedule.vm 2013-05-15 03:40:15 +0000
@@ -109,7 +109,7 @@
</colgroup>
<tr>
<th>$i18n.getString( "#" )</th>
- <th>$i18n.getString( "program_stage" )</th>
+ <th>$i18n.getString( "events" )</th>
<th>$i18n.getString( "due_date" )</th>
<th>$i18n.getString( "status" )</th>
<th colspan='2'>$i18n.getString( "message" )</th>
=== modified file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/resources/org/hisp/dhis/patient/i18n_module.properties'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/resources/org/hisp/dhis/patient/i18n_module.properties 2013-05-15 02:13:36 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/resources/org/hisp/dhis/patient/i18n_module.properties 2013-05-15 03:40:15 +0000
@@ -391,4 +391,5 @@
disable_registration_fields = Disable registration fields
data_entry = Data entry
combine = Combine
-completed = Completed
\ No newline at end of file
+completed = Completed
+events = Events
\ No newline at end of file