diff --git a/liferay-plugins-sdk-6.2/dist/portos-audit-shared-6.2.0.1.jar b/liferay-plugins-sdk-6.2/dist/portos-audit-shared-6.2.0.1.jar index 05db1343..98fd2a2a 100644 Binary files a/liferay-plugins-sdk-6.2/dist/portos-audit-shared-6.2.0.1.jar and b/liferay-plugins-sdk-6.2/dist/portos-audit-shared-6.2.0.1.jar differ diff --git a/liferay-plugins-sdk-6.2/dist/portos-bo-shared-6.2.0.1.jar b/liferay-plugins-sdk-6.2/dist/portos-bo-shared-6.2.0.1.jar index d77a5cde..49347f2e 100644 Binary files a/liferay-plugins-sdk-6.2/dist/portos-bo-shared-6.2.0.1.jar and b/liferay-plugins-sdk-6.2/dist/portos-bo-shared-6.2.0.1.jar differ diff --git a/liferay-plugins-sdk-6.2/dist/portos-kaleo-shared-6.2.0.1.jar b/liferay-plugins-sdk-6.2/dist/portos-kaleo-shared-6.2.0.1.jar index bf73c66c..72d73b32 100644 Binary files a/liferay-plugins-sdk-6.2/dist/portos-kaleo-shared-6.2.0.1.jar and b/liferay-plugins-sdk-6.2/dist/portos-kaleo-shared-6.2.0.1.jar differ diff --git a/liferay-plugins-sdk-6.2/dist/portos-mail-manager-shared-6.2.0.1.jar b/liferay-plugins-sdk-6.2/dist/portos-mail-manager-shared-6.2.0.1.jar index dda6b94f..3553cf19 100644 Binary files a/liferay-plugins-sdk-6.2/dist/portos-mail-manager-shared-6.2.0.1.jar and b/liferay-plugins-sdk-6.2/dist/portos-mail-manager-shared-6.2.0.1.jar differ diff --git a/liferay-plugins-sdk-6.2/dist/portos-report-shared-6.2.0.1.jar b/liferay-plugins-sdk-6.2/dist/portos-report-shared-6.2.0.1.jar index daff1c32..a5242ab8 100644 Binary files a/liferay-plugins-sdk-6.2/dist/portos-report-shared-6.2.0.1.jar and b/liferay-plugins-sdk-6.2/dist/portos-report-shared-6.2.0.1.jar differ diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.classpath b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.classpath index 785bec11..eb2a23ce 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.classpath +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.classpath @@ -2,7 +2,7 @@ - + diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.idea/.gitignore b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.idea/.gitignore deleted file mode 100644 index 0a8642fa..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.idea/.gitignore +++ /dev/null @@ -1,10 +0,0 @@ -# Default ignored files -/shelf/ -/workspace.xml -# Editor-based HTTP Client requests -/httpRequests/ -# Datasource local storage ignored files -/dataSources/ -/dataSources.local.xml -# Zeppelin ignored files -/ZeppelinRemoteNotebooks/ diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.idea/ant.xml b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.idea/ant.xml deleted file mode 100644 index a2a47698..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.idea/ant.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.idea/jpa-buddy.xml b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.idea/jpa-buddy.xml deleted file mode 100644 index 966d5f56..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.idea/jpa-buddy.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.idea/misc.xml b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.idea/misc.xml deleted file mode 100644 index 1b540b26..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.idea/misc.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.idea/vcs.xml b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.idea/vcs.xml deleted file mode 100644 index c2365ab1..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.idea/vcs.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.project b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.project index c745c078..37af4c91 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.project +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.project @@ -35,7 +35,7 @@ - 1676466957656 + 1679562748565 30 diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.settings/org.eclipse.wst.common.project.facet.core.xml b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.settings/org.eclipse.wst.common.project.facet.core.xml index 62fdb9a9..b0264dbc 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.settings/org.eclipse.wst.common.project.facet.core.xml +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.settings/org.eclipse.wst.common.project.facet.core.xml @@ -1,9 +1,9 @@ - + diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-audit-shared.jar b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-audit-shared.jar index 05db1343..98fd2a2a 100644 Binary files a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-audit-shared.jar and b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-audit-shared.jar differ diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-bo-portlet-service.jar b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-bo-portlet-service.jar index a137106a..537578f9 100644 Binary files a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-bo-portlet-service.jar and b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-bo-portlet-service.jar differ diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-bo-shared.jar b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-bo-shared.jar index d77a5cde..49347f2e 100644 Binary files a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-bo-shared.jar and b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-bo-shared.jar differ diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-kaleo-shared.jar b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-kaleo-shared.jar index bf73c66c..72d73b32 100644 Binary files a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-kaleo-shared.jar and b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-kaleo-shared.jar differ diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-mail-manager-shared.jar b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-mail-manager-shared.jar index dda6b94f..3553cf19 100644 Binary files a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-mail-manager-shared.jar and b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-mail-manager-shared.jar differ diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-report-shared.jar b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-report-shared.jar index daff1c32..a5242ab8 100644 Binary files a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-report-shared.jar and b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-report-shared.jar differ diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/IntPraticaFinder.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/IntPraticaFinder.java index 39f3c26d..c996aec4 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/IntPraticaFinder.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/IntPraticaFinder.java @@ -25,4 +25,8 @@ public interface IntPraticaFinder { public int canAddCollaudoCount( java.lang.String codiceFiscaleDelegatoCollaudo) throws com.liferay.portal.kernel.exception.SystemException; + + public java.util.List filtraPratiche(java.util.Date dataInizioLavori, + java.util.Date dataFineLavori) + throws com.liferay.portal.kernel.exception.SystemException; } \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/IntPraticaFinderUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/IntPraticaFinderUtil.java index ce64d4d1..24af221c 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/IntPraticaFinderUtil.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/IntPraticaFinderUtil.java @@ -34,6 +34,12 @@ public class IntPraticaFinderUtil { return getFinder().canAddCollaudoCount(codiceFiscaleDelegatoCollaudo); } + public static java.util.List filtraPratiche( + java.util.Date dataInizioLavori, java.util.Date dataFineLavori) + throws com.liferay.portal.kernel.exception.SystemException { + return getFinder().filtraPratiche(dataInizioLavori, dataFineLavori); + } + public static IntPraticaFinder getFinder() { if (_finder == null) { _finder = (IntPraticaFinder)PortletBeanLocatorUtil.locate(it.tref.liferay.portos.bo.service.ClpSerializer.getServletContextName(), diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/custom-sql/intpratica.xml b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/custom-sql/intpratica.xml index 2454f7cb..82993c7d 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/custom-sql/intpratica.xml +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/custom-sql/intpratica.xml @@ -16,4 +16,27 @@ and fine.completata = true order by int.createdate; ]]> + + ? + and pbi.dtpratica < ? + group by tipoprocedura, statopratica + order by tipoprocedura; + ]]> + + + ? + and pbi.createdate < ? + and tipodocumento = 'IN' + group by tipoprocedura order by tipoprocedura; + ]]> + \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/IntPraticaLocalServiceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/IntPraticaLocalServiceImpl.java index 9588b2dc..256d69ce 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/IntPraticaLocalServiceImpl.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/IntPraticaLocalServiceImpl.java @@ -31,6 +31,7 @@ import it.tref.liferay.portos.bo.model.Soggetto; import it.tref.liferay.portos.bo.model.StoricoSoggettoPratica; import it.tref.liferay.portos.bo.model.Territorio; import it.tref.liferay.portos.bo.service.base.IntPraticaLocalServiceBaseImpl; +import it.tref.liferay.portos.bo.service.persistence.IntPraticaFinderUtil; import it.tref.liferay.portos.bo.shared.bean.FirmeBean; import it.tref.liferay.portos.bo.shared.util.ConfigurazioneConstants; import it.tref.liferay.portos.bo.shared.util.FirmeUtil; @@ -56,6 +57,7 @@ import java.util.Collections; import java.util.Comparator; import java.util.Date; import java.util.HashMap; +import java.util.Iterator; import java.util.LinkedHashMap; import java.util.List; import java.util.Locale; @@ -131,6 +133,9 @@ public class IntPraticaLocalServiceImpl extends IntPraticaLocalServiceBaseImpl { private static Map vecchieProcedure = null; private static final Log _log = LogFactoryUtil.getLog(IntPraticaLocalServiceImpl.class); + public Iterator filtraPratiche(Date dataInizioLavori, Date dataFineLavori) { + return IntPraticaFinderUtil.filtraPratiche(dataInizioLavori, dataFineLavori); + } @Override public Map getTipiProcedure() { diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/IntPraticaFinderImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/IntPraticaFinderImpl.java index df6ad3dc..45d8516e 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/IntPraticaFinderImpl.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/IntPraticaFinderImpl.java @@ -1,10 +1,5 @@ package it.tref.liferay.portos.bo.service.persistence; -import it.tref.liferay.portos.bo.model.IntPratica; -import it.tref.liferay.portos.bo.model.impl.IntPraticaImpl; - -import java.util.List; - import com.liferay.portal.kernel.dao.orm.ORMException; import com.liferay.portal.kernel.dao.orm.QueryPos; import com.liferay.portal.kernel.dao.orm.SQLQuery; @@ -15,6 +10,13 @@ import com.liferay.portal.kernel.log.LogFactoryUtil; import com.liferay.portal.service.persistence.impl.BasePersistenceImpl; import com.liferay.util.dao.orm.CustomSQLUtil; +import it.tref.liferay.portos.bo.model.IntPratica; +import it.tref.liferay.portos.bo.model.impl.IntPraticaImpl; + +import java.util.Date; +import java.util.Iterator; +import java.util.List; + public class IntPraticaFinderImpl extends BasePersistenceImpl implements IntPraticaFinder { private static final Log _log = LogFactoryUtil.getLog(IntPraticaFinderImpl.class); @@ -71,4 +73,29 @@ public class IntPraticaFinderImpl extends BasePersistenceImpl implem } } } + private final String FILTRA_PRATICHE = "IntPratica.reportPraticaStato"; + private final String FILTRA_PRATICHE_AVVISO = "IntPratica.reportPraticaIntegrazioni"; + public Iterator filtraPratiche(Date dataInizioLavori, Date dataFineLavori) + throws SystemException { + Session session = null; + try { + session = openSession(); + String sql = CustomSQLUtil.get(FILTRA_PRATICHE); + SQLQuery query = session.createSQLQuery(sql); + query.setCacheable(false); + QueryPos qPos = QueryPos.getInstance(query); + qPos.add(dataInizioLavori); + qPos.add(dataFineLavori); + Iterator l = query.iterate(); + _log.debug(l.getClass().getSimpleName()); + return l; + } catch (ORMException e) { + _log.error("Errore", e); + throw new RuntimeException(e); + } finally { + if (session != null) { + closeSession(session); + } + } + } } diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/service.properties b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/service.properties index 61d4903c..c2cad714 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/service.properties +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/service.properties @@ -13,8 +13,8 @@ ## build.namespace=portos_bo - build.number=3616 - build.date=1677835577253 + build.number=3622 + build.date=1679568472281 build.auto.upgrade=true ## diff --git a/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/build.xml b/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/build.xml index 65f9aa76..23d15575 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/build.xml +++ b/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/build.xml @@ -3,4 +3,5 @@ + \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/lib/portos-bo-portlet-service.jar b/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/lib/portos-bo-portlet-service.jar new file mode 100644 index 00000000..537578f9 Binary files /dev/null and b/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/lib/portos-bo-portlet-service.jar differ diff --git a/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/lib/portos-reportistica-portlet-service.jar b/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/lib/portos-reportistica-portlet-service.jar new file mode 100644 index 00000000..5081b1c5 Binary files /dev/null and b/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/lib/portos-reportistica-portlet-service.jar differ diff --git a/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/liferay-plugin-package.properties b/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/liferay-plugin-package.properties index ae5f6bce..17ceae47 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/liferay-plugin-package.properties +++ b/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/liferay-plugin-package.properties @@ -10,9 +10,9 @@ author=Liferay, Inc. licenses=LGPL liferay-versions=6.2.0+ portal-dependency-jars=\ - jstl-api.jar,\ - jstl-impl.jar + jstl-api.jar,\ + jstl-impl.jar portal-dependency-tlds=\ - c.tld -required-deployment-contexts=\ - portos-bo-portlet \ No newline at end of file + c.tld +required-deployment-contexts=\ + portos-bo-portlet diff --git a/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/liferay-portlet.xml b/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/liferay-portlet.xml index 277344df..53db4eac 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/liferay-portlet.xml +++ b/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/liferay-portlet.xml @@ -5,6 +5,9 @@ portos-reportistica /icon.png + + configuration + /css/main.css /js/main.js portos-reportistica-portlet diff --git a/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/portlet.xml b/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/portlet.xml index 8c7ff9ac..2afd82a0 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/portlet.xml +++ b/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/portlet.xml @@ -7,7 +7,7 @@ com.liferay.util.bridges.mvc.MVCPortlet view-template - /view.jsp + /html/view.jsp 0 diff --git a/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/src/it/nextmind/portos/reportistica/ReportisticaPortlet.java b/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/src/it/nextmind/portos/reportistica/ReportisticaPortlet.java deleted file mode 100644 index 8ca097f3..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/src/it/nextmind/portos/reportistica/ReportisticaPortlet.java +++ /dev/null @@ -1,5 +0,0 @@ -package it.nextmind.portos.reportistica; - -public class ReportisticaPortlet { - -} diff --git a/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/html/init.jsp b/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/html/init.jsp index 5bd59703..51e88fd9 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/html/init.jsp +++ b/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/html/init.jsp @@ -17,6 +17,3 @@ -<% -Format dateFormatDate = FastDateFormatFactoryUtil.getDate(LocaleUtil.ITALY, TimeZoneUtil.getTimeZone("Europe/Rome")); -%> \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/html/view.jsp b/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/html/view.jsp index 8c0291a2..4c697265 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/html/view.jsp +++ b/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/html/view.jsp @@ -1,34 +1,55 @@ +<%@page import="java.util.Iterator"%> +<%@page import="it.tref.liferay.portos.bo.model.DocPratica"%> +<%@page import="it.tref.liferay.portos.bo.model.IntPratica"%> +<%@page import="it.tref.liferay.portos.bo.service.persistence.IntPraticaFinderUtil"%> +<%@page import="it.tref.liferay.portos.bo.service.persistence.IntPraticaFinderUtil"%> +<%@page import="it.tref.liferay.portos.bo.service.IntPraticaLocalServiceUtil"%> +<%@page import="java.util.List"%> +<%@page import="java.util.Date"%> <%@page import="javax.portlet.PortletURL"%> <%@page import="com.liferay.portal.model.Group"%> +<%@page import="com.liferay.portal.kernel.util.Validator"%> +<%@page import="com.liferay.portal.kernel.util.ParamUtil"%> +<%@page import="com.liferay.portal.kernel.util.DateFormatFactoryUtil"%> <%@page import="com.liferay.portlet.PortletURLFactoryUtil"%> +<%@ include file="/html/init.jsp"%> +<% + + Date dataInizioLavori = ParamUtil.getDate(request, "dataInizioInput", DateFormatFactoryUtil.getSimpleDateFormat("yyyy-MM-dd")); + Date dataFineLavori = ParamUtil.getDate(request, "dataFineInput", DateFormatFactoryUtil.getSimpleDateFormat("yyyy-MM-dd")); +%> - - + + + - - <% - String functionDataInizio = "javascript:"+renderResponse.getNamespace()+"openConfirmationDialog('"+renderResponse.getNamespace()+"cambiaDataInizioLavori','Sei sicuro di voler modificare la DATA di INIZIO LAVORI?')"; - %> - + + +

Data inizio Lavori Opera:

+ +

Data fine Lavori Opera:

+ + value='<%= DateFormatFactoryUtil.getSimpleDateFormat("yyyy-MM-dd").format(dataFineLavori) %>'>
+ type="submit" + />
-
+ \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/ivy.xml.MD5 b/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/ivy.xml.MD5 new file mode 100644 index 00000000..edb01ff3 --- /dev/null +++ b/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/ivy.xml.MD5 @@ -0,0 +1 @@ +e801ce4e2cdef8a0bf759f7d48e9ed48