=== modified file 'local/vn/dhis-service-excel-reporting/src/main/java/org/hisp/dhis/reportexcel/DefaultExportReportService.java' --- local/vn/dhis-service-excel-reporting/src/main/java/org/hisp/dhis/reportexcel/DefaultExportReportService.java 2011-07-20 07:16:20 +0000 +++ local/vn/dhis-service-excel-reporting/src/main/java/org/hisp/dhis/reportexcel/DefaultExportReportService.java 2011-07-26 07:21:49 +0000 @@ -53,9 +53,9 @@ public class DefaultExportReportService implements ExportReportService { - // ------------------------------------------------- + // ------------------------------------------------------------------------- // Dependency - // ------------------------------------------------- + // ------------------------------------------------------------------------- private ExportReportStore exportReportStore; @@ -253,9 +253,9 @@ exportReportStore.deleteDataElementGroupOrder( id ); } - // ------------------------------------------------- + // ------------------------------------------------------------------------- // Data Entry Status - // ------------------------------------------------- + // ------------------------------------------------------------------------- public int countDataValueOfDataSet( DataSet arg0, OrganisationUnit arg1, Period arg2 ) { === modified file 'local/vn/dhis-service-excel-reporting/src/main/java/org/hisp/dhis/reportexcel/hibernate/HibernateExportReportStore.java' --- local/vn/dhis-service-excel-reporting/src/main/java/org/hisp/dhis/reportexcel/hibernate/HibernateExportReportStore.java 2011-07-22 09:27:59 +0000 +++ local/vn/dhis-service-excel-reporting/src/main/java/org/hisp/dhis/reportexcel/hibernate/HibernateExportReportStore.java 2011-07-26 07:21:49 +0000 @@ -392,6 +392,7 @@ { Criteria criteria = session.createCriteria( DataEntryStatus.class ); criteria.add( Restrictions.eq( "dataSet", dataSet ) ); + criteria.add( Restrictions.eq( "makeDefault", true ) ); result.addAll( criteria.list() ); } === modified file 'local/vn/dhis-service-excel-reporting/src/main/resources/org/hisp/dhis/reportexcel/status/hibernate/DataEntryStatus.hbm.xml' --- local/vn/dhis-service-excel-reporting/src/main/resources/org/hisp/dhis/reportexcel/status/hibernate/DataEntryStatus.hbm.xml 2011-06-06 08:12:19 +0000 +++ local/vn/dhis-service-excel-reporting/src/main/resources/org/hisp/dhis/reportexcel/status/hibernate/DataEntryStatus.hbm.xml 2011-07-26 07:21:49 +0000 @@ -3,15 +3,18 @@ "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd"> - + + + - - + + + + + + \ No newline at end of file === modified file 'local/vn/dhis-web-excel-reporting/src/main/java/org/hisp/dhis/reportexcel/action/NoAction.java' --- local/vn/dhis-web-excel-reporting/src/main/java/org/hisp/dhis/reportexcel/action/NoAction.java 2011-03-25 09:11:30 +0000 +++ local/vn/dhis-web-excel-reporting/src/main/java/org/hisp/dhis/reportexcel/action/NoAction.java 2011-07-26 07:21:49 +0000 @@ -30,15 +30,36 @@ import com.opensymphony.xwork2.Action; /** - * @author Tran Thanh Tri - * @version $Id$ + * @author Lars Helge Overland */ public class NoAction implements Action { + // TODO remove not required with struts2 + + // ------------------------------------------------------------------------- + // Input & Output + // ------------------------------------------------------------------------- + + private String backUrl; + + public String getBackUrl() + { + return backUrl; + } + + public void setBackUrl( String backUrl ) + { + this.backUrl = backUrl; + } + + // ------------------------------------------------------------------------- + // Action implementation + // ------------------------------------------------------------------------- + public String execute() - throws Exception { return SUCCESS; } + } === modified file 'local/vn/dhis-web-excel-reporting/src/main/java/org/hisp/dhis/reportexcel/dataentrystatus/action/DefaultDataEntryStatusAction.java' --- local/vn/dhis-web-excel-reporting/src/main/java/org/hisp/dhis/reportexcel/dataentrystatus/action/DefaultDataEntryStatusAction.java 2011-05-24 07:48:23 +0000 +++ local/vn/dhis-web-excel-reporting/src/main/java/org/hisp/dhis/reportexcel/dataentrystatus/action/DefaultDataEntryStatusAction.java 2011-07-26 07:21:49 +0000 @@ -1,5 +1,7 @@ +package org.hisp.dhis.reportexcel.dataentrystatus.action; + /* - * Copyright (c) 2004-2010, University of Oslo + * Copyright (c) 2004-2011, University of Oslo * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -24,8 +26,6 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -package org.hisp.dhis.reportexcel.dataentrystatus.action; - import java.util.ArrayList; import java.util.Calendar; import java.util.Collections; @@ -43,7 +43,6 @@ import org.hisp.dhis.ouwt.manager.OrganisationUnitSelectionManager; import org.hisp.dhis.period.Period; import org.hisp.dhis.period.PeriodService; -import org.hisp.dhis.period.PeriodType; import org.hisp.dhis.period.comparator.PeriodComparator; import org.hisp.dhis.reportexcel.ExportReportService; import org.hisp.dhis.reportexcel.status.DataEntryStatus; @@ -184,26 +183,28 @@ dataSets.retainAll( dataSetUserAuthorityGroups ); } - dataStatus = new ArrayList( exportReportService.getDataEntryStatusDefaultByDataSets( dataSets ) ); + dataStatus = new ArrayList( exportReportService + .getDataEntryStatusDefaultByDataSets( dataSets ) ); maps = new HashMap>(); Calendar calendar = Calendar.getInstance(); + List periods = null; for ( DataEntryStatus d : dataStatus ) { d.setNumberOfDataElement( d.getDataSet().getDataElements().size() ); - PeriodType periodType = d.getPeriodType(); - - List periods = new ArrayList( periodService.getPeriodsBetweenDates( periodType, - DateUtils.getFirstDayOfYear( calendar.get( Calendar.YEAR ) ), DateUtils.getLastDayOfYear( calendar - .get( Calendar.YEAR ) ) ) ); + periods = new ArrayList( periodService.getPeriodsBetweenDates( d.getPeriodType(), DateUtils + .getFirstDayOfYear( calendar.get( Calendar.YEAR ) ), DateUtils.getLastDayOfYear( calendar + .get( Calendar.YEAR ) ) ) ); + + Collections.sort( periods, new PeriodComparator() ); + List ds_temp = new ArrayList(); - Collections.sort( periods, new PeriodComparator() ); + for ( Period p : periods ) { - DataEntryStatus dataStatusNew = new DataEntryStatus(); dataStatusNew.setPeriod( p ); dataStatusNew.setNumberOfDataElement( d.getNumberOfDataElement() ); === removed file 'local/vn/dhis-web-excel-reporting/src/main/java/org/hisp/dhis/reportexcel/dataentrystatus/action/GetDataSetAction.java' --- local/vn/dhis-web-excel-reporting/src/main/java/org/hisp/dhis/reportexcel/dataentrystatus/action/GetDataSetAction.java 2011-07-22 09:27:59 +0000 +++ local/vn/dhis-web-excel-reporting/src/main/java/org/hisp/dhis/reportexcel/dataentrystatus/action/GetDataSetAction.java 1970-01-01 00:00:00 +0000 @@ -1,119 +0,0 @@ -package org.hisp.dhis.reportexcel.dataentrystatus.action; - -/* - * Copyright (c) 2004-2011, University of Oslo - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * * Redistributions of source code must retain the above copyright notice, this - * list of conditions and the following disclaimer. - * * Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * * Neither the name of the HISP project nor the names of its contributors may - * be used to endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR - * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES - * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON - * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ -import java.util.ArrayList; -import java.util.Collections; -import java.util.HashSet; -import java.util.List; -import java.util.Set; - -import org.hisp.dhis.dataset.DataSet; -import org.hisp.dhis.dataset.comparator.DataSetNameComparator; -import org.hisp.dhis.ouwt.manager.OrganisationUnitSelectionManager; -import org.hisp.dhis.user.CurrentUserService; -import org.hisp.dhis.user.UserAuthorityGroup; -import org.hisp.dhis.user.UserCredentials; -import org.hisp.dhis.user.UserService; - -import com.opensymphony.xwork2.Action; - -/** - * @author Tran Thanh Tri - * @version $Id$ - */ -public class GetDataSetAction - implements Action -{ - // ------------------------------------------------------------------------- - // Dependency - // ------------------------------------------------------------------------- - - private CurrentUserService currentUserService; - - public void setCurrentUserService( CurrentUserService currentUserService ) - { - this.currentUserService = currentUserService; - } - - private UserService userService; - - public void setUserService( UserService userService ) - { - this.userService = userService; - } - - private OrganisationUnitSelectionManager selectionManager; - - public void setSelectionManager( OrganisationUnitSelectionManager selectionManager ) - { - this.selectionManager = selectionManager; - } - - // ------------------------------------------------------------------------- - // Getter & Setter - // ------------------------------------------------------------------------- - - private List dataSets; - - public List getDataSets() - { - return dataSets; - } - - // ------------------------------------------------------------------------- - // Action implementation - // ------------------------------------------------------------------------- - - public String execute() - throws Exception - { - if ( selectionManager.getSelectedOrganisationUnit() != null ) - { - dataSets = new ArrayList( selectionManager.getSelectedOrganisationUnit().getDataSets() ); - - if ( !currentUserService.currentUserIsSuper() ) - { - UserCredentials userCredentials = userService.getUserCredentials( currentUserService.getCurrentUser() ); - - Set dataSetUserAuthorityGroups = new HashSet(); - - for ( UserAuthorityGroup userAuthorityGroup : userCredentials.getUserAuthorityGroups() ) - { - dataSetUserAuthorityGroups.addAll( userAuthorityGroup.getDataSets() ); - } - - dataSets.retainAll( dataSetUserAuthorityGroups ); - } - } - - Collections.sort( dataSets, new DataSetNameComparator() ); - - return SUCCESS; - } - -} === added file 'local/vn/dhis-web-excel-reporting/src/main/java/org/hisp/dhis/reportexcel/dataentrystatus/action/GetDataSetsAction.java' --- local/vn/dhis-web-excel-reporting/src/main/java/org/hisp/dhis/reportexcel/dataentrystatus/action/GetDataSetsAction.java 1970-01-01 00:00:00 +0000 +++ local/vn/dhis-web-excel-reporting/src/main/java/org/hisp/dhis/reportexcel/dataentrystatus/action/GetDataSetsAction.java 2011-07-26 07:21:49 +0000 @@ -0,0 +1,144 @@ +package org.hisp.dhis.reportexcel.dataentrystatus.action; + +/* + * Copyright (c) 2004-2011, University of Oslo + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * * Redistributions of source code must retain the above copyright notice, this + * list of conditions and the following disclaimer. + * * Redistributions in binary form must reproduce the above copyright notice, + * this list of conditions and the following disclaimer in the documentation + * and/or other materials provided with the distribution. + * * Neither the name of the HISP project nor the names of its contributors may + * be used to endorse or promote products derived from this software without + * specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR + * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON + * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +import java.util.ArrayList; +import java.util.Collections; +import java.util.HashSet; +import java.util.List; +import java.util.Set; + +import org.hisp.dhis.dataset.DataSet; +import org.hisp.dhis.dataset.DataSetService; +import org.hisp.dhis.dataset.comparator.DataSetNameComparator; +import org.hisp.dhis.reportexcel.ExportReportService; +import org.hisp.dhis.reportexcel.status.DataEntryStatus; +import org.hisp.dhis.user.CurrentUserService; +import org.hisp.dhis.user.UserAuthorityGroup; +import org.hisp.dhis.user.UserCredentials; +import org.hisp.dhis.user.UserService; + +import com.opensymphony.xwork2.Action; + +/** + * @author Tran Thanh Tri + * @version $Id$ + */ +public class GetDataSetsAction + implements Action +{ + // ------------------------------------------------------------------------- + // Dependency + // ------------------------------------------------------------------------- + + private CurrentUserService currentUserService; + + public void setCurrentUserService( CurrentUserService currentUserService ) + { + this.currentUserService = currentUserService; + } + + private UserService userService; + + public void setUserService( UserService userService ) + { + this.userService = userService; + } + + private DataSetService dataSetService; + + public void setDataSetService( DataSetService dataSetService ) + { + this.dataSetService = dataSetService; + } + + private ExportReportService exportReportService; + + public void setExportReportService( ExportReportService exportReportService ) + { + this.exportReportService = exportReportService; + } + + // ------------------------------------------------------------------------- + // Getter & Setter + // ------------------------------------------------------------------------- + + private Integer dataSetId; + + public void setDataSetId( Integer dataSetId ) + { + this.dataSetId = dataSetId; + } + + private List dataSets = new ArrayList(); + + public List getDataSets() + { + return dataSets; + } + + // ------------------------------------------------------------------------- + // Action implementation + // ------------------------------------------------------------------------- + + public String execute() + throws Exception + { + dataSets = new ArrayList( dataSetService.getAllDataSets() ); + + for ( DataEntryStatus des : exportReportService.getALLDataEntryStatus() ) + { + if ( dataSets.contains( des.getDataSet() ) ) + { + dataSets.remove( des.getDataSet() ); + } + } + + if ( dataSetId != null ) + { + dataSets.add( dataSetService.getDataSet( dataSetId ) ); + } + + if ( !currentUserService.currentUserIsSuper() ) + { + UserCredentials userCredentials = userService.getUserCredentials( currentUserService.getCurrentUser() ); + + Set dataSetUserAuthorityGroups = new HashSet(); + + for ( UserAuthorityGroup userAuthorityGroup : userCredentials.getUserAuthorityGroups() ) + { + dataSetUserAuthorityGroups.addAll( userAuthorityGroup.getDataSets() ); + } + + dataSets.retainAll( dataSetUserAuthorityGroups ); + } + + Collections.sort( dataSets, new DataSetNameComparator() ); + + return SUCCESS; + } +} === modified file 'local/vn/dhis-web-excel-reporting/src/main/java/org/hisp/dhis/reportexcel/dataentrystatus/action/UpdateDataEntryStatusAction.java' --- local/vn/dhis-web-excel-reporting/src/main/java/org/hisp/dhis/reportexcel/dataentrystatus/action/UpdateDataEntryStatusAction.java 2011-05-24 07:48:23 +0000 +++ local/vn/dhis-web-excel-reporting/src/main/java/org/hisp/dhis/reportexcel/dataentrystatus/action/UpdateDataEntryStatusAction.java 2011-07-26 07:21:49 +0000 @@ -1,7 +1,7 @@ package org.hisp.dhis.reportexcel.dataentrystatus.action; /* - * Copyright (c) 2004-2010, University of Oslo + * Copyright (c) 2004-2011, University of Oslo * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -41,17 +41,27 @@ implements Action { - // ------------------------------------------------- + // ------------------------------------------------------------------------- // Dependency - // ------------------------------------------------- + // ------------------------------------------------------------------------- + + private DataSetService dataSetService; + + public void setDataSetService( DataSetService dataSetService ) + { + this.dataSetService = dataSetService; + } private ExportReportService exportReportService; - private DataSetService dataSetService; + public void setExportReportService( ExportReportService exportReportService ) + { + this.exportReportService = exportReportService; + } - // ------------------------------------------------- + // ------------------------------------------------------------------------- // Input - // ------------------------------------------------- + // ------------------------------------------------------------------------- private Integer dataSetId; @@ -59,25 +69,15 @@ private Integer dataStatusId; - // ------------------------------------------------- + // ------------------------------------------------------------------------- // Getter & Setter - // ------------------------------------------------- - - public void setExportReportService( ExportReportService exportReportService ) - { - this.exportReportService = exportReportService; - } + // ------------------------------------------------------------------------- public void setDataStatusId( Integer dataStatusId ) { this.dataStatusId = dataStatusId; } - public void setDataSetService( DataSetService dataSetService ) - { - this.dataSetService = dataSetService; - } - public void setDataSetId( Integer dataSetId ) { this.dataSetId = dataSetId; @@ -87,6 +87,10 @@ { this.makeDefault = makeDefault; } + + // ------------------------------------------------------------------------- + // Method implementation + // ------------------------------------------------------------------------- public String execute() throws Exception === added file 'local/vn/dhis-web-excel-reporting/src/main/java/org/hisp/dhis/reportexcel/dataentrystatus/action/UpdateDefaultForDataStatusAction.java' --- local/vn/dhis-web-excel-reporting/src/main/java/org/hisp/dhis/reportexcel/dataentrystatus/action/UpdateDefaultForDataStatusAction.java 1970-01-01 00:00:00 +0000 +++ local/vn/dhis-web-excel-reporting/src/main/java/org/hisp/dhis/reportexcel/dataentrystatus/action/UpdateDefaultForDataStatusAction.java 2011-07-26 07:21:49 +0000 @@ -0,0 +1,92 @@ +package org.hisp.dhis.reportexcel.dataentrystatus.action; + +/* + * Copyright (c) 2004-2011, University of Oslo + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * * Redistributions of source code must retain the above copyright notice, this + * list of conditions and the following disclaimer. + * * Redistributions in binary form must reproduce the above copyright notice, + * this list of conditions and the following disclaimer in the documentation + * and/or other materials provided with the distribution. + * * Neither the name of the HISP project nor the names of its contributors may + * be used to endorse or promote products derived from this software without + * specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR + * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON + * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +import org.hisp.dhis.reportexcel.ExportReportService; +import org.hisp.dhis.reportexcel.status.DataEntryStatus; + +import com.opensymphony.xwork2.Action; + +/** + * @author Dang Duy Hieu + * @version $Id$ + */ +public class UpdateDefaultForDataStatusAction + implements Action +{ + // ------------------------------------------------------------------------- + // Dependency + // ------------------------------------------------------------------------- + + private ExportReportService exportReportService; + + public void setExportReportService( ExportReportService exportReportService ) + { + this.exportReportService = exportReportService; + } + + // ------------------------------------------------------------------------- + // Getter & Setter + // ------------------------------------------------------------------------- + + private Integer dataStatusId; + + public void setDataStatusId( Integer dataStatusId ) + { + this.dataStatusId = dataStatusId; + } + + private boolean makeDefault; + + public void setMakeDefault( boolean makeDefault ) + { + this.makeDefault = makeDefault; + } + + private DataEntryStatus dataStatus; + + public DataEntryStatus getDataStatus() + { + return dataStatus; + } + + // ------------------------------------------------------------------------- + // Method implementation + // ------------------------------------------------------------------------- + + public String execute() + throws Exception + { + dataStatus = exportReportService.getDataEntryStatus( dataStatusId ); + + dataStatus.setMakeDefault( makeDefault ); + + exportReportService.updateDataEntryStatus( dataStatus ); + + return SUCCESS; + } +} \ No newline at end of file === modified file 'local/vn/dhis-web-excel-reporting/src/main/resources/META-INF/dhis/beans.xml' --- local/vn/dhis-web-excel-reporting/src/main/resources/META-INF/dhis/beans.xml 2011-07-20 07:16:20 +0000 +++ local/vn/dhis-web-excel-reporting/src/main/resources/META-INF/dhis/beans.xml 2011-07-26 07:21:49 +0000 @@ -624,6 +624,13 @@ + + + + @@ -652,13 +659,15 @@ - + + === modified file 'local/vn/dhis-web-excel-reporting/src/main/resources/org/hisp/dhis/reportexcel/i18n_module.properties' --- local/vn/dhis-web-excel-reporting/src/main/resources/org/hisp/dhis/reportexcel/i18n_module.properties 2011-07-20 07:16:20 +0000 +++ local/vn/dhis-web-excel-reporting/src/main/resources/org/hisp/dhis/reportexcel/i18n_module.properties 2011-07-26 07:21:49 +0000 @@ -77,6 +77,7 @@ selected_user_roles = Selected user roles administration = Administration select_report = Select report +view_data_status = View Data Entry Status data_status = Data Entry Status data_status_management = Data Entry Status Management make_default = Make as default === modified file 'local/vn/dhis-web-excel-reporting/src/main/resources/org/hisp/dhis/reportexcel/i18n_module_vi_VN.properties' --- local/vn/dhis-web-excel-reporting/src/main/resources/org/hisp/dhis/reportexcel/i18n_module_vi_VN.properties 2011-07-11 06:03:14 +0000 +++ local/vn/dhis-web-excel-reporting/src/main/resources/org/hisp/dhis/reportexcel/i18n_module_vi_VN.properties 2011-07-26 07:21:49 +0000 @@ -102,6 +102,7 @@ select_excel_file = Ch\u1ecdn t\u1eadp tin excel upload_file = T\u1ea3i l\u00ean view = Xem b\u00e1o c\u00e1o +view_data_status = Xem b\u00e1o c\u00e1o t\u00ecnh tr\u1ea1ng nh\u1eadp li\u1ec7u data_status = T\u00ecnh tr\u1ea1ng nh\u1eadp li\u1ec7u data_status_management = Qu\u1ea3n l\u00fd t\u00ecnh tr\u1ea1ng nh\u1eadp li\u1ec7u make_default = M\u1eb7c \u0111\u1ecbnh === modified file 'local/vn/dhis-web-excel-reporting/src/main/resources/struts.xml' --- local/vn/dhis-web-excel-reporting/src/main/resources/struts.xml 2011-07-20 07:16:20 +0000 +++ local/vn/dhis-web-excel-reporting/src/main/resources/struts.xml 2011-07-26 07:21:49 +0000 @@ -537,6 +537,12 @@ F_EXCEL_REPORT_ADMINISTRATION + + + /dhis-web-excel-reporting/loadDefault.vm + plainTextError + @@ -545,29 +551,23 @@ F_EXCEL_REPORT_ADMINISTRATION + + /main.vm + /dhis-web-excel-reporting/addDataStatus.vm + /dhis-web-excel-reporting/menu.vm + F_EXCEL_REPORT_ADMINISTRATION + + - /main.vm /dhis-web-excel-reporting/updateDataStatus.vm - /dhis-web-excel-reporting/menuWithTree.vm - ../dhis-web-commons/ouwt/ouwt.js,javascript/datastatus.js - 400 - F_EXCEL_REPORT_ADMINISTRATION - - - - - /main.vm - /dhis-web-excel-reporting/addDataStatus.vm - /dhis-web-excel-reporting/menuWithTree.vm - ../dhis-web-commons/ouwt/ouwt.js,javascript/datastatus.js - 400 + /dhis-web-excel-reporting/menu.vm F_EXCEL_REPORT_ADMINISTRATION + class="org.hisp.dhis.reportexcel.dataentrystatus.action.GetDataSetsAction"> /dhis-web-excel-reporting/responseDataSets.vm @@ -584,7 +584,7 @@ ../dhis-web-commons/ajax/jsonPeriods.vm - plainTextError + plainTextError === modified file 'local/vn/dhis-web-excel-reporting/src/main/webapp/dhis-web-excel-reporting/addDataStatus.vm' --- local/vn/dhis-web-excel-reporting/src/main/webapp/dhis-web-excel-reporting/addDataStatus.vm 2010-02-24 17:47:59 +0000 +++ local/vn/dhis-web-excel-reporting/src/main/webapp/dhis-web-excel-reporting/addDataStatus.vm 2011-07-26 07:21:49 +0000 @@ -1,33 +1,38 @@ -

$i18n.getString( "add" ) $i18n.getString( "dataset_completed_report" )

+ + +

$i18n.getString( "add" ) $i18n.getString( "data_status" )

+ +
- + - + -
$i18n.getString( 'dataset' ) -
$i18n.getString( 'make_default' )
 
- - + + +
+