dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #23582
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 11483: Error when exporting program-stage-completeness to excel file.
------------------------------------------------------------
revno: 11483
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2013-07-23 12:44:52 +0700
message:
Error when exporting program-stage-completeness to excel file.
modified:
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/webapp/dhis-web-caseentry/javascript/programStageCompleteness.js
dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/programStageCompletenessSelect.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/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-07-23 04:16:21 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/resources/org/hisp/dhis/caseentry/i18n_module.properties 2013-07-23 05:44:52 +0000
@@ -665,4 +665,4 @@
is_hidden = Is hidden
default_form_name = Default form name
custom_form_name = Custom form name
-use_orgunits_from_level = Use organisation Units from level
\ No newline at end of file
+use_orgunits_from_level = Use organisation units from level
\ No newline at end of file
=== modified file 'dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/programStageCompleteness.js'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/programStageCompleteness.js 2013-07-23 04:16:21 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/programStageCompleteness.js 2013-07-23 05:44:52 +0000
@@ -37,6 +37,7 @@
params += "&programId=" + getFieldValue('programId');
params += "&startDate=" + getFieldValue('startDate');
params += "&endDate=" + getFieldValue('endDate');
+ params += "&facilityLB=" + $('input[name=facilityLB]:checked').val();
var url = "generateProgramStageCompleteness.action?" + params;
window.location.href = url;
=== modified file 'dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/programStageCompletenessSelect.vm'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/programStageCompletenessSelect.vm 2013-07-23 04:16:21 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/programStageCompletenessSelect.vm 2013-07-23 05:44:52 +0000
@@ -16,6 +16,7 @@
<h3 id='mainLinkLbl'>$i18n.getString( "program_stage_completeness_form" ) #openHelp('program_stage_completeness')</h3>
<form id='activityPlanForm' name='activityPlanForm'>
<input type='hidden' id='export' value='export'>
+
<div id='selectDiv' style='width:550px;'>
<table style="margin-bottom:8px;width:550px;">
<tr>
@@ -72,7 +73,7 @@
</table>
<p>
<input type="submit" class='large-button' id='listPatientBtn' value="$i18n.getString( 'generate' )" onclick="setFieldValue('export', false);">
- <input type="submit" class='large-button' value="$i18n.getString( 'export_xls' )" onclick="setFieldValue('export', true);">
+ <input type="submit" class='large-button' value="$i18n.getString( 'export_xls' )" onclick="setFieldValue('export', true);setFieldValue('facilityLB',$('input[name=facilityLB]:checked').val());">
</p>
</div>