diff --git a/liferay-plugins-sdk-6.2/portlets/portos-accesso-atti-portlet/.settings/org.eclipse.wst.common.component b/liferay-plugins-sdk-6.2/portlets/portos-accesso-atti-portlet/.settings/org.eclipse.wst.common.component index 33a6b724..781c9f14 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-accesso-atti-portlet/.settings/org.eclipse.wst.common.component +++ b/liferay-plugins-sdk-6.2/portlets/portos-accesso-atti-portlet/.settings/org.eclipse.wst.common.component @@ -8,6 +8,9 @@ uses + + uses + 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 e3c5e680..52766638 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.classpath +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.classpath @@ -1,7 +1,7 @@ - + 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 361a67c0..57bd417e 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.project +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.project @@ -33,15 +33,4 @@ org.eclipse.jdt.core.javanature org.eclipse.wst.jsdt.core.jsNature - - - 1701177106006 - - 30 - - org.eclipse.core.resources.regexFilterMatcher - node_modules|\.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__ - - - diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.settings/org.eclipse.core.resources.prefs b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.settings/org.eclipse.core.resources.prefs deleted file mode 100644 index 285e0929..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.settings/org.eclipse.core.resources.prefs +++ /dev/null @@ -1,12 +0,0 @@ -eclipse.preferences.version=1 -encoding//docroot/WEB-INF/src/content/Language.properties=UTF-8 -encoding//docroot/WEB-INF/src/content/Portal.properties=UTF-8 -encoding//docroot/html/amministrazione/tabs/territori/view.jsp=UTF-8 -encoding//docroot/html/common/import_all_window.jsp=UTF-8 -encoding//docroot/html/common/import_window.jsp=UTF-8 -encoding//docroot/html/fascicolo/actions/action_toggle_sospensione.jsp=UTF-8 -encoding//docroot/html/fascicolo/navigator/header.jsp=UTF-8 -encoding//docroot/html/fascicolo/soggetto_details.jsp=UTF-8 -encoding//docroot/html/gestioneattivita/advanced_search.jsp=UTF-8 -encoding//docroot/html/sismica_administration/init.jsp=UTF-8 -encoding//docroot/html/sismica_administration/view.jsp=UTF-8 diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service.xml b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service.xml index 04c7a077..53ec8c6a 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service.xml +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service.xml @@ -1307,6 +1307,7 @@ + diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/PagamentoClp.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/PagamentoClp.java index d7c59b3d..41aa5b97 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/PagamentoClp.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/PagamentoClp.java @@ -100,6 +100,7 @@ public class PagamentoClp extends BaseModelImpl implements Pagamento attributes.put("otf", getOtf()); attributes.put("otfCreateDate", getOtfCreateDate()); attributes.put("emailPending", getEmailPending()); + attributes.put("numeroBollettino", getNumeroBollettino()); attributes.put("oldPagamentoId", getOldPagamentoId()); return attributes; @@ -259,6 +260,12 @@ public class PagamentoClp extends BaseModelImpl implements Pagamento setEmailPending(emailPending); } + String numeroBollettino = (String)attributes.get("numeroBollettino"); + + if (numeroBollettino != null) { + setNumeroBollettino(numeroBollettino); + } + Long oldPagamentoId = (Long)attributes.get("oldPagamentoId"); if (oldPagamentoId != null) { @@ -863,6 +870,30 @@ public class PagamentoClp extends BaseModelImpl implements Pagamento } } + @Override + public String getNumeroBollettino() { + return _numeroBollettino; + } + + @Override + public void setNumeroBollettino(String numeroBollettino) { + _numeroBollettino = numeroBollettino; + + if (_pagamentoRemoteModel != null) { + try { + Class clazz = _pagamentoRemoteModel.getClass(); + + Method method = clazz.getMethod("setNumeroBollettino", + String.class); + + method.invoke(_pagamentoRemoteModel, numeroBollettino); + } + catch (Exception e) { + throw new UnsupportedOperationException(e); + } + } + } + @Override public long getOldPagamentoId() { return _oldPagamentoId; @@ -1027,6 +1058,7 @@ public class PagamentoClp extends BaseModelImpl implements Pagamento clone.setOtf(getOtf()); clone.setOtfCreateDate(getOtfCreateDate()); clone.setEmailPending(getEmailPending()); + clone.setNumeroBollettino(getNumeroBollettino()); clone.setOldPagamentoId(getOldPagamentoId()); return clone; @@ -1080,7 +1112,7 @@ public class PagamentoClp extends BaseModelImpl implements Pagamento @Override public String toString() { - StringBundler sb = new StringBundler(53); + StringBundler sb = new StringBundler(55); sb.append("{uuid="); sb.append(getUuid()); @@ -1132,6 +1164,8 @@ public class PagamentoClp extends BaseModelImpl implements Pagamento sb.append(getOtfCreateDate()); sb.append(", emailPending="); sb.append(getEmailPending()); + sb.append(", numeroBollettino="); + sb.append(getNumeroBollettino()); sb.append(", oldPagamentoId="); sb.append(getOldPagamentoId()); sb.append("}"); @@ -1141,7 +1175,7 @@ public class PagamentoClp extends BaseModelImpl implements Pagamento @Override public String toXmlString() { - StringBundler sb = new StringBundler(82); + StringBundler sb = new StringBundler(85); sb.append(""); sb.append("it.tref.liferay.portos.bo.model.Pagamento"); @@ -1247,6 +1281,10 @@ public class PagamentoClp extends BaseModelImpl implements Pagamento "emailPending"); + sb.append( + "numeroBollettino"); sb.append( "oldPagamentoId implements Pagamento private boolean _otf; private Date _otfCreateDate; private boolean _emailPending; + private String _numeroBollettino; private long _oldPagamentoId; private BaseModel _pagamentoRemoteModel; private Class _clpSerializerClass = it.tref.liferay.portos.bo.service.ClpSerializer.class; diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/PagamentoModel.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/PagamentoModel.java index a384e116..f0b902c6 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/PagamentoModel.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/PagamentoModel.java @@ -468,6 +468,21 @@ public interface PagamentoModel extends BaseModel, StagedGroupedModel */ public void setEmailPending(boolean emailPending); + /** + * Returns the numero bollettino of this pagamento. + * + * @return the numero bollettino of this pagamento + */ + @AutoEscape + public String getNumeroBollettino(); + + /** + * Sets the numero bollettino of this pagamento. + * + * @param numeroBollettino the numero bollettino of this pagamento + */ + public void setNumeroBollettino(String numeroBollettino); + /** * Returns the old pagamento ID of this pagamento. * diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/PagamentoSoap.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/PagamentoSoap.java index 37ded0d5..0c89b11a 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/PagamentoSoap.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/PagamentoSoap.java @@ -56,6 +56,7 @@ public class PagamentoSoap implements Serializable { soapModel.setOtf(model.getOtf()); soapModel.setOtfCreateDate(model.getOtfCreateDate()); soapModel.setEmailPending(model.getEmailPending()); + soapModel.setNumeroBollettino(model.getNumeroBollettino()); soapModel.setOldPagamentoId(model.getOldPagamentoId()); return soapModel; @@ -317,6 +318,14 @@ public class PagamentoSoap implements Serializable { _emailPending = emailPending; } + public String getNumeroBollettino() { + return _numeroBollettino; + } + + public void setNumeroBollettino(String numeroBollettino) { + _numeroBollettino = numeroBollettino; + } + public long getOldPagamentoId() { return _oldPagamentoId; } @@ -350,5 +359,6 @@ public class PagamentoSoap implements Serializable { private boolean _otf; private Date _otfCreateDate; private boolean _emailPending; + private String _numeroBollettino; private long _oldPagamentoId; } \ 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/model/PagamentoWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/PagamentoWrapper.java index 89b38a7e..a841f12f 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/PagamentoWrapper.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/PagamentoWrapper.java @@ -75,6 +75,7 @@ public class PagamentoWrapper implements Pagamento, ModelWrapper { attributes.put("otf", getOtf()); attributes.put("otfCreateDate", getOtfCreateDate()); attributes.put("emailPending", getEmailPending()); + attributes.put("numeroBollettino", getNumeroBollettino()); attributes.put("oldPagamentoId", getOldPagamentoId()); return attributes; @@ -234,6 +235,12 @@ public class PagamentoWrapper implements Pagamento, ModelWrapper { setEmailPending(emailPending); } + String numeroBollettino = (String)attributes.get("numeroBollettino"); + + if (numeroBollettino != null) { + setNumeroBollettino(numeroBollettino); + } + Long oldPagamentoId = (Long)attributes.get("oldPagamentoId"); if (oldPagamentoId != null) { @@ -804,6 +811,26 @@ public class PagamentoWrapper implements Pagamento, ModelWrapper { _pagamento.setEmailPending(emailPending); } + /** + * Returns the numero bollettino of this pagamento. + * + * @return the numero bollettino of this pagamento + */ + @Override + public java.lang.String getNumeroBollettino() { + return _pagamento.getNumeroBollettino(); + } + + /** + * Sets the numero bollettino of this pagamento. + * + * @param numeroBollettino the numero bollettino of this pagamento + */ + @Override + public void setNumeroBollettino(java.lang.String numeroBollettino) { + _pagamento.setNumeroBollettino(numeroBollettino); + } + /** * Returns the old pagamento ID of this pagamento. * diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/PagamentoLocalService.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/PagamentoLocalService.java index 48316926..a28be8e2 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/PagamentoLocalService.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/PagamentoLocalService.java @@ -456,7 +456,8 @@ public interface PagamentoLocalService extends BaseLocalService, public int countByIntPratica_Visible(long intPraticaId) throws com.liferay.portal.kernel.exception.SystemException; - public void updatePagamentoManuale(long pagamentoId, byte[] content, + public void updatePagamentoManuale(long pagamentoId, + java.lang.String numeroBollettino, byte[] content, java.lang.String sourceFileName, com.liferay.portal.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException, diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/PagamentoLocalServiceClp.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/PagamentoLocalServiceClp.java index 9bf5e0ea..b7a7a79f 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/PagamentoLocalServiceClp.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/PagamentoLocalServiceClp.java @@ -296,7 +296,7 @@ public class PagamentoLocalServiceClp implements PagamentoLocalService { _methodName51 = "updatePagamentoManuale"; _methodParameterTypes51 = new String[] { - "long", "byte[][]", "java.lang.String", + "long", "java.lang.String", "byte[][]", "java.lang.String", "com.liferay.portal.service.ServiceContext" }; @@ -2092,7 +2092,8 @@ public class PagamentoLocalServiceClp implements PagamentoLocalService { } @Override - public void updatePagamentoManuale(long pagamentoId, byte[] content, + public void updatePagamentoManuale(long pagamentoId, + java.lang.String numeroBollettino, byte[] content, java.lang.String sourceFileName, com.liferay.portal.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException, @@ -2104,6 +2105,8 @@ public class PagamentoLocalServiceClp implements PagamentoLocalService { new Object[] { pagamentoId, + ClpSerializer.translateInput(numeroBollettino), + ClpSerializer.translateInput(content), ClpSerializer.translateInput(sourceFileName), diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/PagamentoLocalServiceUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/PagamentoLocalServiceUtil.java index 3437d960..65ecd3d9 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/PagamentoLocalServiceUtil.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/PagamentoLocalServiceUtil.java @@ -566,15 +566,16 @@ public class PagamentoLocalServiceUtil { return getService().countByIntPratica_Visible(intPraticaId); } - public static void updatePagamentoManuale(long pagamentoId, byte[] content, + public static void updatePagamentoManuale(long pagamentoId, + java.lang.String numeroBollettino, byte[] content, java.lang.String sourceFileName, com.liferay.portal.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException, java.io.IOException { getService() - .updatePagamentoManuale(pagamentoId, content, sourceFileName, - serviceContext); + .updatePagamentoManuale(pagamentoId, numeroBollettino, content, + sourceFileName, serviceContext); } public static void updatePagamentoManualeFromImport(long pagamentoId, diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/PagamentoLocalServiceWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/PagamentoLocalServiceWrapper.java index 780b6834..a2e2c125 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/PagamentoLocalServiceWrapper.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/PagamentoLocalServiceWrapper.java @@ -606,14 +606,15 @@ public class PagamentoLocalServiceWrapper implements PagamentoLocalService, } @Override - public void updatePagamentoManuale(long pagamentoId, byte[] content, + public void updatePagamentoManuale(long pagamentoId, + java.lang.String numeroBollettino, byte[] content, java.lang.String sourceFileName, com.liferay.portal.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException, java.io.IOException { - _pagamentoLocalService.updatePagamentoManuale(pagamentoId, content, - sourceFileName, serviceContext); + _pagamentoLocalService.updatePagamentoManuale(pagamentoId, + numeroBollettino, content, sourceFileName, serviceContext); } @Override diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/PagamentoService.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/PagamentoService.java index 24f4158b..7ebd7876 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/PagamentoService.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/PagamentoService.java @@ -65,7 +65,7 @@ public interface PagamentoService extends BaseService, InvokableService { throws java.lang.Throwable; public void updatePagamentoManuale(long pagamentoId, byte[] content, - java.lang.String sourceFileName, + java.lang.String numeroBollettino, java.lang.String sourceFileName, com.liferay.portal.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException, diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/PagamentoServiceClp.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/PagamentoServiceClp.java index 163aa272..fab45546 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/PagamentoServiceClp.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/PagamentoServiceClp.java @@ -35,7 +35,7 @@ public class PagamentoServiceClp implements PagamentoService { _methodName3 = "updatePagamentoManuale"; _methodParameterTypes3 = new String[] { - "long", "byte[][]", "java.lang.String", + "long", "byte[][]", "java.lang.String", "java.lang.String", "com.liferay.portal.service.ServiceContext" }; } @@ -92,7 +92,7 @@ public class PagamentoServiceClp implements PagamentoService { @Override public void updatePagamentoManuale(long pagamentoId, byte[] content, - java.lang.String sourceFileName, + java.lang.String numeroBollettino, java.lang.String sourceFileName, com.liferay.portal.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException, @@ -105,6 +105,8 @@ public class PagamentoServiceClp implements PagamentoService { ClpSerializer.translateInput(content), + ClpSerializer.translateInput(numeroBollettino), + ClpSerializer.translateInput(sourceFileName), ClpSerializer.translateInput(serviceContext) diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/PagamentoServiceUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/PagamentoServiceUtil.java index b3f155ae..2e536bd3 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/PagamentoServiceUtil.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/PagamentoServiceUtil.java @@ -64,14 +64,14 @@ public class PagamentoServiceUtil { } public static void updatePagamentoManuale(long pagamentoId, byte[] content, - java.lang.String sourceFileName, + java.lang.String numeroBollettino, java.lang.String sourceFileName, com.liferay.portal.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException, java.io.IOException { getService() - .updatePagamentoManuale(pagamentoId, content, sourceFileName, - serviceContext); + .updatePagamentoManuale(pagamentoId, content, numeroBollettino, + sourceFileName, serviceContext); } public static void clearService() { diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/PagamentoServiceWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/PagamentoServiceWrapper.java index 7cffc0fd..d30a6293 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/PagamentoServiceWrapper.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/PagamentoServiceWrapper.java @@ -58,13 +58,13 @@ public class PagamentoServiceWrapper implements PagamentoService, @Override public void updatePagamentoManuale(long pagamentoId, byte[] content, - java.lang.String sourceFileName, + java.lang.String numeroBollettino, java.lang.String sourceFileName, com.liferay.portal.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException, java.io.IOException { _pagamentoService.updatePagamentoManuale(pagamentoId, content, - sourceFileName, serviceContext); + numeroBollettino, sourceFileName, serviceContext); } /** diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/util/AsseverazioniUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/util/AsseverazioniUtil.java index cdd4eb1b..48da31dc 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/util/AsseverazioniUtil.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/util/AsseverazioniUtil.java @@ -139,7 +139,7 @@ public class AsseverazioniUtil { put(DocumentiPraticaUtil.TIPOLOGIA_ALLEGATO_A29, Arrays.asList(TipoSoggettoUtil.DIRETTORE_LAVORI)); // Domanda put(ASSEVERAZIONI_DOMANDA, Arrays.asList(TipoSoggettoUtil.COMMITTENTE, TipoSoggettoUtil.DIRETTORE_LAVORI, - TipoSoggettoUtil.PROGETTISTA, TipoSoggettoUtil.DITTA, TipoSoggettoUtil.COLLAUDATORE)); + TipoSoggettoUtil.PROGETTISTA, TipoSoggettoUtil.DITTA, TipoSoggettoUtil.GEOLOGO, TipoSoggettoUtil.COLLAUDATORE)); // Variante put(ASSEVERAZIONI_VARIANTE, new ArrayList()); // Integrazioni diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/sql/tables.sql b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/sql/tables.sql index af546f73..bbb0eb43 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/sql/tables.sql +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/sql/tables.sql @@ -636,6 +636,7 @@ create table portos_bo_Pagamento ( otf BOOLEAN, otfCreateDate DATE null, emailPending BOOLEAN, + numeroBollettino VARCHAR(250) null, oldPagamentoId LONG ); diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/META-INF/portlet-hbm.xml b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/META-INF/portlet-hbm.xml index 21aabb64..137cca11 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/META-INF/portlet-hbm.xml +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/META-INF/portlet-hbm.xml @@ -656,6 +656,7 @@ + diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/META-INF/portlet-model-hints.xml b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/META-INF/portlet-model-hints.xml index f3ac9d4d..e1b95cba 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/META-INF/portlet-model-hints.xml +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/META-INF/portlet-model-hints.xml @@ -706,6 +706,9 @@ + + 250 + diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/META-INF/portlet-orm.xml b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/META-INF/portlet-orm.xml index de1fbe0b..7ac95062 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/META-INF/portlet-orm.xml +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/META-INF/portlet-orm.xml @@ -844,6 +844,7 @@ TIMESTAMP + diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/content/Portal.properties b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/content/Portal.properties index 8852ef30..a73560d3 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/content/Portal.properties +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/content/Portal.properties @@ -884,6 +884,7 @@ label-integrazione-13 = Variante campo-richiesto = Campo Obbligatorio campo-non-valido = I dati immessi non sono validi + ## Pagamenti ## mezzo-pagamento = Mezzo Pagamento mezzo-pagamento-oneri = Mezzo Pagamento Spese Istruttoria @@ -897,6 +898,9 @@ causale-pagamento-oneri = Causale Pagamento Spese Istruttoria causale-pagamento-bolli = Causale Pagamento Bolli importo-bolli = Importo Bolli importo-spese-istruttoria = Importo Spese Istruttoria +numero-bollettino =Numero Marca da Bollo e Data +label-codice-bollettino =Codice bollettino +errore-lenght-bollettino = Il limite massimo di 250 caratteri è stato superato pag-nuove-costruzioni = Pagamento Nuove Costruzioni pag-adeguamento-sismico = Pagamento Adeguamento Sismico @@ -1127,6 +1131,7 @@ label.error.file.annullamento.already.exist = Impossibile generare il file di an error.geniocivilefe.pratica.allegato.ext.valid = Estensione Allegato non valida error.geniocivilefe.pratica.allegato.length.valid = Lunghezza massima nome file superata +error.geniocivilefe.pagamento.bollettino = Numero marca da bollo non inserito # Manifattura Web Group, mofidica per rendere la dimensione massima degli allegati configurabile # da pannello di controllo. In origine era hardcoded a 20971520 byte. diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/DettPraticaImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/DettPraticaImpl.java index 7eb1b988..5a67d9e6 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/DettPraticaImpl.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/DettPraticaImpl.java @@ -724,7 +724,7 @@ public class DettPraticaImpl extends DettPraticaBaseImpl { List titolareDigitali = SoggettoLocalServiceUtil.getValidTmpByIntPratica_CodiceFiscale( getIntPraticaId(), titolaredigitaleUser.getScreenName(), 0); for (Soggetto titolareDigitale : titolareDigitali) { - soggettiAsseveranti.add(titolareDigitale); + soggettiAsseveranti.add(titolareDigitale); } } else if (TipoIntegrazioneUtil.VARIANTE.equalsIgnoreCase(getTipoIntegrazione())) { String[] tipoSoggetti = new String[] { TipoSoggettoUtil.COMMITTENTE, TipoSoggettoUtil.DIRETTORE_LAVORI, @@ -767,6 +767,7 @@ public class DettPraticaImpl extends DettPraticaBaseImpl { || TipoSoggettoUtil.DITTA.equalsIgnoreCase(tipologia) || TipoSoggettoUtil.DIRETTORE_LAVORI.equalsIgnoreCase(tipologia) || TipoSoggettoUtil.PROGETTISTA.equalsIgnoreCase(tipologia) + || TipoSoggettoUtil.GEOLOGO.equalsIgnoreCase(tipologia) || (TipoSoggettoUtil.COLLAUDATORE.equalsIgnoreCase(tipologia) && !collaudatoreInserito)) { soggettiAsseveranti.add(soggetto); } diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/PagamentoCacheModel.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/PagamentoCacheModel.java index e2ed4bdf..8648648f 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/PagamentoCacheModel.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/PagamentoCacheModel.java @@ -38,7 +38,7 @@ public class PagamentoCacheModel implements CacheModel, Externalizable { @Override public String toString() { - StringBundler sb = new StringBundler(53); + StringBundler sb = new StringBundler(55); sb.append("{uuid="); sb.append(uuid); @@ -90,6 +90,8 @@ public class PagamentoCacheModel implements CacheModel, sb.append(otfCreateDate); sb.append(", emailPending="); sb.append(emailPending); + sb.append(", numeroBollettino="); + sb.append(numeroBollettino); sb.append(", oldPagamentoId="); sb.append(oldPagamentoId); sb.append("}"); @@ -220,6 +222,14 @@ public class PagamentoCacheModel implements CacheModel, } pagamentoImpl.setEmailPending(emailPending); + + if (numeroBollettino == null) { + pagamentoImpl.setNumeroBollettino(StringPool.BLANK); + } + else { + pagamentoImpl.setNumeroBollettino(numeroBollettino); + } + pagamentoImpl.setOldPagamentoId(oldPagamentoId); pagamentoImpl.resetOriginalValues(); @@ -254,6 +264,7 @@ public class PagamentoCacheModel implements CacheModel, otf = objectInput.readBoolean(); otfCreateDate = objectInput.readLong(); emailPending = objectInput.readBoolean(); + numeroBollettino = objectInput.readUTF(); oldPagamentoId = objectInput.readLong(); } @@ -360,6 +371,14 @@ public class PagamentoCacheModel implements CacheModel, objectOutput.writeBoolean(otf); objectOutput.writeLong(otfCreateDate); objectOutput.writeBoolean(emailPending); + + if (numeroBollettino == null) { + objectOutput.writeUTF(StringPool.BLANK); + } + else { + objectOutput.writeUTF(numeroBollettino); + } + objectOutput.writeLong(oldPagamentoId); } @@ -388,5 +407,6 @@ public class PagamentoCacheModel implements CacheModel, public boolean otf; public long otfCreateDate; public boolean emailPending; + public String numeroBollettino; public long oldPagamentoId; } \ 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/model/impl/PagamentoModelImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/PagamentoModelImpl.java index 2c385422..8d07858e 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/PagamentoModelImpl.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/PagamentoModelImpl.java @@ -92,9 +92,10 @@ public class PagamentoModelImpl extends BaseModelImpl { "otf", Types.BOOLEAN }, { "otfCreateDate", Types.TIMESTAMP }, { "emailPending", Types.BOOLEAN }, + { "numeroBollettino", Types.VARCHAR }, { "oldPagamentoId", Types.BIGINT } }; - public static final String TABLE_SQL_CREATE = "create table portos_bo_Pagamento (uuid_ VARCHAR(75) null,pagamentoId LONG not null primary key,companyId LONG,userId LONG,userName VARCHAR(75) null,createDate DATE null,modifiedDate DATE null,groupId LONG,intPraticaId LONG,classPk LONG,className VARCHAR(75) null,fileEntryId LONG,oldFileEntryId LONG,tipoPagamento VARCHAR(75) null,url STRING null,codice VARCHAR(75) null,causale VARCHAR(75) null,mezzo VARCHAR(75) null,codiceFiscaleCommittente VARCHAR(75) null,importo VARCHAR(75) null,utilizzata VARCHAR(75) null,utilizzataSostituita VARCHAR(75) null,otf BOOLEAN,otfCreateDate DATE null,emailPending BOOLEAN,oldPagamentoId LONG)"; + public static final String TABLE_SQL_CREATE = "create table portos_bo_Pagamento (uuid_ VARCHAR(75) null,pagamentoId LONG not null primary key,companyId LONG,userId LONG,userName VARCHAR(75) null,createDate DATE null,modifiedDate DATE null,groupId LONG,intPraticaId LONG,classPk LONG,className VARCHAR(75) null,fileEntryId LONG,oldFileEntryId LONG,tipoPagamento VARCHAR(75) null,url STRING null,codice VARCHAR(75) null,causale VARCHAR(75) null,mezzo VARCHAR(75) null,codiceFiscaleCommittente VARCHAR(75) null,importo VARCHAR(75) null,utilizzata VARCHAR(75) null,utilizzataSostituita VARCHAR(75) null,otf BOOLEAN,otfCreateDate DATE null,emailPending BOOLEAN,numeroBollettino VARCHAR(250) null,oldPagamentoId LONG)"; public static final String TABLE_SQL_DROP = "drop table portos_bo_Pagamento"; public static final String ORDER_BY_JPQL = " ORDER BY pagamento.pagamentoId ASC"; public static final String ORDER_BY_SQL = " ORDER BY portos_bo_Pagamento.pagamentoId ASC"; @@ -160,6 +161,7 @@ public class PagamentoModelImpl extends BaseModelImpl model.setOtf(soapModel.getOtf()); model.setOtfCreateDate(soapModel.getOtfCreateDate()); model.setEmailPending(soapModel.getEmailPending()); + model.setNumeroBollettino(soapModel.getNumeroBollettino()); model.setOldPagamentoId(soapModel.getOldPagamentoId()); return model; @@ -250,6 +252,7 @@ public class PagamentoModelImpl extends BaseModelImpl attributes.put("otf", getOtf()); attributes.put("otfCreateDate", getOtfCreateDate()); attributes.put("emailPending", getEmailPending()); + attributes.put("numeroBollettino", getNumeroBollettino()); attributes.put("oldPagamentoId", getOldPagamentoId()); return attributes; @@ -409,6 +412,12 @@ public class PagamentoModelImpl extends BaseModelImpl setEmailPending(emailPending); } + String numeroBollettino = (String)attributes.get("numeroBollettino"); + + if (numeroBollettino != null) { + setNumeroBollettino(numeroBollettino); + } + Long oldPagamentoId = (Long)attributes.get("oldPagamentoId"); if (oldPagamentoId != null) { @@ -869,6 +878,22 @@ public class PagamentoModelImpl extends BaseModelImpl return _originalEmailPending; } + @JSON + @Override + public String getNumeroBollettino() { + if (_numeroBollettino == null) { + return StringPool.BLANK; + } + else { + return _numeroBollettino; + } + } + + @Override + public void setNumeroBollettino(String numeroBollettino) { + _numeroBollettino = numeroBollettino; + } + @JSON @Override public long getOldPagamentoId() { @@ -954,6 +979,7 @@ public class PagamentoModelImpl extends BaseModelImpl pagamentoImpl.setOtf(getOtf()); pagamentoImpl.setOtfCreateDate(getOtfCreateDate()); pagamentoImpl.setEmailPending(getEmailPending()); + pagamentoImpl.setNumeroBollettino(getNumeroBollettino()); pagamentoImpl.setOldPagamentoId(getOldPagamentoId()); pagamentoImpl.resetOriginalValues(); @@ -1191,6 +1217,14 @@ public class PagamentoModelImpl extends BaseModelImpl pagamentoCacheModel.emailPending = getEmailPending(); + pagamentoCacheModel.numeroBollettino = getNumeroBollettino(); + + String numeroBollettino = pagamentoCacheModel.numeroBollettino; + + if ((numeroBollettino != null) && (numeroBollettino.length() == 0)) { + pagamentoCacheModel.numeroBollettino = null; + } + pagamentoCacheModel.oldPagamentoId = getOldPagamentoId(); return pagamentoCacheModel; @@ -1198,7 +1232,7 @@ public class PagamentoModelImpl extends BaseModelImpl @Override public String toString() { - StringBundler sb = new StringBundler(53); + StringBundler sb = new StringBundler(55); sb.append("{uuid="); sb.append(getUuid()); @@ -1250,6 +1284,8 @@ public class PagamentoModelImpl extends BaseModelImpl sb.append(getOtfCreateDate()); sb.append(", emailPending="); sb.append(getEmailPending()); + sb.append(", numeroBollettino="); + sb.append(getNumeroBollettino()); sb.append(", oldPagamentoId="); sb.append(getOldPagamentoId()); sb.append("}"); @@ -1259,7 +1295,7 @@ public class PagamentoModelImpl extends BaseModelImpl @Override public String toXmlString() { - StringBundler sb = new StringBundler(82); + StringBundler sb = new StringBundler(85); sb.append(""); sb.append("it.tref.liferay.portos.bo.model.Pagamento"); @@ -1365,6 +1401,10 @@ public class PagamentoModelImpl extends BaseModelImpl "emailPending"); + sb.append( + "numeroBollettino"); sb.append( "oldPagamentoId private boolean _emailPending; private boolean _originalEmailPending; private boolean _setOriginalEmailPending; + private String _numeroBollettino; private long _oldPagamentoId; private long _originalOldPagamentoId; private boolean _setOriginalOldPagamentoId; diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/scheduler/SchedulerEstrazioneFirme.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/scheduler/SchedulerEstrazioneFirme.java index 97313f79..f7373cd5 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/scheduler/SchedulerEstrazioneFirme.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/scheduler/SchedulerEstrazioneFirme.java @@ -111,4 +111,5 @@ public class SchedulerEstrazioneFirme implements MessageListener { } } } + } diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/scheduler/SchedulerGeneraProtocollo.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/scheduler/SchedulerGeneraProtocollo.java index 4d0bf1b3..e5ed489f 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/scheduler/SchedulerGeneraProtocollo.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/scheduler/SchedulerGeneraProtocollo.java @@ -1,5 +1,16 @@ package it.tref.liferay.portos.bo.scheduler; +import com.liferay.portal.kernel.exception.PortalException; +import com.liferay.portal.kernel.exception.SystemException; +import com.liferay.portal.kernel.log.Log; +import com.liferay.portal.kernel.log.LogFactoryUtil; +import com.liferay.portal.kernel.messaging.Message; +import com.liferay.portal.kernel.messaging.MessageListener; +import com.liferay.portal.kernel.messaging.MessageListenerException; +import com.liferay.portal.kernel.repository.model.FileEntry; +import com.liferay.portal.kernel.util.Validator; +import com.liferay.portlet.documentlibrary.service.DLAppLocalServiceUtil; + import it.tref.liferay.portos.bo.model.Avviso; import it.tref.liferay.portos.bo.service.AvvisoLocalServiceUtil; import it.tref.liferay.portos.bo.util.AvvisoUtil; @@ -16,17 +27,6 @@ import java.util.Map; import java.util.concurrent.locks.Lock; import java.util.concurrent.locks.ReentrantLock; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.log.Log; -import com.liferay.portal.kernel.log.LogFactoryUtil; -import com.liferay.portal.kernel.messaging.Message; -import com.liferay.portal.kernel.messaging.MessageListener; -import com.liferay.portal.kernel.messaging.MessageListenerException; -import com.liferay.portal.kernel.repository.model.FileEntry; -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portlet.documentlibrary.service.DLAppLocalServiceUtil; - public class SchedulerGeneraProtocollo implements MessageListener { private static final Log _log = LogFactoryUtil.getLog(SchedulerGeneraProtocollo.class); diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/PagamentoLocalServiceClpInvoker.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/PagamentoLocalServiceClpInvoker.java index c5c2112e..558bcd5a 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/PagamentoLocalServiceClpInvoker.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/PagamentoLocalServiceClpInvoker.java @@ -306,7 +306,7 @@ public class PagamentoLocalServiceClpInvoker { _methodName227 = "updatePagamentoManuale"; _methodParameterTypes227 = new String[] { - "long", "byte[][]", "java.lang.String", + "long", "java.lang.String", "byte[][]", "java.lang.String", "com.liferay.portal.service.ServiceContext" }; @@ -667,8 +667,9 @@ public class PagamentoLocalServiceClpInvoker { if (_methodName227.equals(name) && Arrays.deepEquals(_methodParameterTypes227, parameterTypes)) { PagamentoLocalServiceUtil.updatePagamentoManuale(((Long)arguments[0]).longValue(), - (byte[])arguments[1], (java.lang.String)arguments[2], - (com.liferay.portal.service.ServiceContext)arguments[3]); + (java.lang.String)arguments[1], (byte[])arguments[2], + (java.lang.String)arguments[3], + (com.liferay.portal.service.ServiceContext)arguments[4]); return null; } diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/PagamentoServiceClpInvoker.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/PagamentoServiceClpInvoker.java index ad00f482..65e7ebad 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/PagamentoServiceClpInvoker.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/PagamentoServiceClpInvoker.java @@ -35,7 +35,7 @@ public class PagamentoServiceClpInvoker { _methodName172 = "updatePagamentoManuale"; _methodParameterTypes172 = new String[] { - "long", "byte[][]", "java.lang.String", + "long", "byte[][]", "java.lang.String", "java.lang.String", "com.liferay.portal.service.ServiceContext" }; } @@ -58,7 +58,8 @@ public class PagamentoServiceClpInvoker { Arrays.deepEquals(_methodParameterTypes172, parameterTypes)) { PagamentoServiceUtil.updatePagamentoManuale(((Long)arguments[0]).longValue(), (byte[])arguments[1], (java.lang.String)arguments[2], - (com.liferay.portal.service.ServiceContext)arguments[3]); + (java.lang.String)arguments[3], + (com.liferay.portal.service.ServiceContext)arguments[4]); return null; } diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/http/PagamentoServiceSoap.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/http/PagamentoServiceSoap.java index fe9b0ba9..97d62e34 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/http/PagamentoServiceSoap.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/http/PagamentoServiceSoap.java @@ -63,12 +63,12 @@ import java.rmi.RemoteException; */ public class PagamentoServiceSoap { public static void updatePagamentoManuale(long pagamentoId, byte[] content, - java.lang.String sourceFileName, + java.lang.String numeroBollettino, java.lang.String sourceFileName, com.liferay.portal.service.ServiceContext serviceContext) throws RemoteException { try { PagamentoServiceUtil.updatePagamentoManuale(pagamentoId, content, - sourceFileName, serviceContext); + numeroBollettino, sourceFileName, serviceContext); } catch (Exception e) { _log.error(e, e); diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/AsseverazioneLocalServiceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/AsseverazioneLocalServiceImpl.java index d1c6537b..b16a57cf 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/AsseverazioneLocalServiceImpl.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/AsseverazioneLocalServiceImpl.java @@ -225,6 +225,7 @@ public class AsseverazioneLocalServiceImpl extends AsseverazioneLocalServiceBase } else { ambito = LanguageUtil.get(Locale.ITALIAN, "label-ambito-" + ambito); } + String name = soggetto.getNome(); String html = buffer.toString().replaceAll("##anteprima(.*?)##", anteprima ? StringPool.BLANK : "$1") .replaceAll("##lavoripubblici(.*?)##", dettPratica.getLavoriPubblici() ? StringPool.BLANK : "$1") .replace("{{agalto}}", agAlto ? CHECKED : StringPool.SPACE) @@ -233,7 +234,8 @@ public class AsseverazioneLocalServiceImpl extends AsseverazioneLocalServiceBase .replace("{{codicefiscale}}", soggetto.getCodiceFiscale()) .replace("{{cognome}}", soggetto.getCognome()) .replace("{{complesse}}", complesse ? CHECKED : StringPool.SPACE) - .replace("{{nome}}", soggetto.getNome()).replace("{{nuove}}", nuove ? CHECKED : StringPool.SPACE) + .replace("{{nome}}", !soggetto.getNome().isEmpty() ? soggetto.getNome() : soggetto.getDenominazione()) + .replace("{{nuove}}", nuove ? CHECKED : StringPool.SPACE) .replace("{{rilevanti}}", rilevanti ? CHECKED : StringPool.SPACE) .replace("{{nonrilevanti}}", nonRilevanti ? CHECKED : StringPool.SPACE) .replace("{{riparazioni}}", riparazioni ? CHECKED : StringPool.SPACE) diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/PagamentoLocalServiceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/PagamentoLocalServiceImpl.java index 28a9d20b..f3618922 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/PagamentoLocalServiceImpl.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/PagamentoLocalServiceImpl.java @@ -440,7 +440,7 @@ public class PagamentoLocalServiceImpl extends PagamentoLocalServiceBaseImpl { } @Override - public void updatePagamentoManuale(long pagamentoId, byte[] content, String sourceFileName, + public void updatePagamentoManuale(long pagamentoId, String numeroBollettino, byte[] content, String sourceFileName, ServiceContext serviceContext) throws IOException, PortalException, SystemException { Pagamento pagamento = getPagamento(pagamentoId); @@ -471,6 +471,7 @@ public class PagamentoLocalServiceImpl extends PagamentoLocalServiceBaseImpl { changeLog, content, serviceContext); fileEntryId = fileEntry.getFileEntryId(); pagamento.setFileEntryId(fileEntryId); + pagamento.setNumeroBollettino(numeroBollettino); pagamento = updatePagamento(pagamento); if (DettPratica.class.getName().equals(pagamento.getClassName())) { dettPraticaLocalService.updateEsitoPagamento(pagamentoId, pagamento.getClassPk(), fileEntryId, diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/PagamentoServiceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/PagamentoServiceImpl.java index 4bf0bc44..348c1284 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/PagamentoServiceImpl.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/PagamentoServiceImpl.java @@ -42,14 +42,14 @@ public class PagamentoServiceImpl extends PagamentoServiceBaseImpl { */ @Override - public void updatePagamentoManuale(long pagamentoId, byte[] content, String sourceFileName, + public void updatePagamentoManuale(long pagamentoId, byte[] content, String numeroBollettino, String sourceFileName, ServiceContext serviceContext) throws IOException, PortalException, SystemException { Pagamento pagamento = pagamentoLocalService.getPagamento(pagamentoId); long userId = findTitolare(pagamentoId); if (getUserId() == userId || DelegheUtil.hasDelegaPagamento(getUser(), getUserId(), pagamento.getClassPk())) { - pagamentoLocalService.updatePagamentoManuale(pagamentoId, content, sourceFileName, serviceContext); + pagamentoLocalService.updatePagamentoManuale(pagamentoId, numeroBollettino, content, sourceFileName, serviceContext); } else { throw new SystemException("pagamento manuale aggiornabile solo da titolare digitale del " + pagamento.getClassName()); diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/PagamentoPersistenceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/PagamentoPersistenceImpl.java index 31233ca0..57f9fe5a 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/PagamentoPersistenceImpl.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/PagamentoPersistenceImpl.java @@ -5769,6 +5769,7 @@ public class PagamentoPersistenceImpl extends BasePersistenceImpl pagamentoImpl.setOtf(pagamento.isOtf()); pagamentoImpl.setOtfCreateDate(pagamento.getOtfCreateDate()); pagamentoImpl.setEmailPending(pagamento.isEmailPending()); + pagamentoImpl.setNumeroBollettino(pagamento.getNumeroBollettino()); pagamentoImpl.setOldPagamentoId(pagamento.getOldPagamentoId()); return pagamentoImpl; diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/resource/asseverazioni/geologo.html b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/resource/asseverazioni/geologo.html index 603c1cd1..1237a82b 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/resource/asseverazioni/geologo.html +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/resource/asseverazioni/geologo.html @@ -1,13 +1,13 @@

- DPR 380/2001, Capitolo 6
+ NTC D.M. 17.01.2018, Capitolo 6
Legge 190/2012, art. 1, comma 9 lettera “e”
- Legge Regionale 1/2019, art. 36 comma 2
+ Legge Regionale 23/2021, art. 31 comma 2
D. Lgs. 101/2018

ASSEVERAZIONE DEL GEOLOGO

(resa ai sensi del D.P.R. n° 445 del 28.12.2000 e ss.mm.ii.)

- Il sottoscritto {{nome}} {{cognome}}, C.F. {{codicefiscale}}, tecnico incaricato per l’esecuzione delle indagini per la + Il sottoscritto {{nome}} {{cognome}} C.F. {{codicefiscale}} tecnico incaricato per l’esecuzione delle indagini per la caratterizzazione e la modellazione geologica del sito, consapevole delle sanzioni civili e penali previste dalla normativa vigente a seguito di dichiarazioni mendaci, dichiara:

@@ -39,7 +39,7 @@ ## ##lavoripubblici
  • - ai sensi dell'art. 36, comma 2, della L.R. 1/2019, che le spettanze correlate al proprio incarico sono state + ai sensi dell'art. 36, comma 2, della L.R. /2019, che le spettanze correlate al proprio incarico sono state regolarmente liquidate dal committente secondo quanto concordato in sede di affidamento dell'incarico;
  • ## diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/common/submit_form_window.jsp b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/common/submit_form_window.jsp new file mode 100644 index 00000000..51b47fce --- /dev/null +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/common/submit_form_window.jsp @@ -0,0 +1,134 @@ +<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> +<%@include file="/html/init.jsp"%> +<% +String formName = ParamUtil.getString(request, "formName", "fm"); +String titolo = ParamUtil.getString(request, "titolo", "Invio"); +String buttonId = ParamUtil.getString(request, "buttonId", "sumbit-button"); +String buttonConferma = ParamUtil.getString(request, "buttonConferma", "Modifica"); +String buttonAnnulla = ParamUtil.getString(request, "buttonAnnulla", "Annulla"); +String width = ParamUtil.getString(request, "width", "700"); +String height = ParamUtil.getString(request, "height"); +String contentDiv = ParamUtil.getString(request, "contentDiv", "saveAndCloseDiv"); +boolean buttonBar = ParamUtil.getBoolean(request, "buttonBar", true); +String randomId = StringUtil.randomId(); +String onClick = ParamUtil.getString(request, "onClick"); +boolean externalForm = ParamUtil.getBoolean(request, "externalForm", false); +boolean okVisible = ParamUtil.getBoolean(request, "okVisible", true); +%> + +
    +
    +

    + +
    + + +AUI().ready('aui-modal', 'aui-io-request', 'aui-form-validator', function(A) { + var modal = new A.Modal({ + bodyContent: A.one('#<%=contentDiv%>'), + width: <%= width %>, + <% + if (!height.equals(StringPool.BLANK)) { + %> + height: <%= height %>, + <% + } + %> + centered: true, + destroyOnHide: false, + headerContent: '

    <%= titolo %>

    ', + modal: true, + render: '#saveAndCloseModal_<%= randomId %>', + visible: false, + close: false, + }).render(); + <% + if (buttonBar) { + %> + modal.addToolbar( + [ + { + label: '<%= buttonAnnulla %>', + on: { + click: function() { + modal.hide(); + } + } + }, + <% + if (okVisible) { + %> + { + label: '<%= buttonConferma %>', + cssClass: 'btn-primary', + on: { + click: function() { + <% + if (Validator.isNotNull(onClick)) { + out.print(onClick); + } else { + %> + submitForm(document.<%= formName %>); + var formValidator = Liferay.Form.get('<%= formName %>') + .formValidator; + <% + if (externalForm) { + %> + if (!formValidator.hasErrors()) { + A.one('#confirmClose_<%= randomId %>') + .set('value', 'true'); + } else { + alert("Attenzione!\nCampi richiesti non compilati correttamente"); + } + modal.hide(); + <% + } else { + %> + if (!formValidator.hasErrors()) { + modal.hide(); + A.one('#confirmClose_<%= randomId %>') + .set('value', 'true'); + } + <% + } + %> + <% + } + %> + } + } + } + <% + } + %> + ] + ); + <% + } + %> + + A.one('#<%= buttonId %>').on('click', function() { + A.one('#<%=contentDiv%>').show(); + modal.show(); + }); + + window.alert = function(msg) { + $('.message').text(msg); + $('.customAlert').css('animation', 'fadeIn 0.3s linear'); + $('.customAlert').css('display', 'inline'); + setTimeout(function() { + $('.customAlert').css('animation', 'none'); + }, 100); + }; + + $(function(){ + $('.confirmButton').click(function(){ + $('.customAlert').css('animation', 'fadeOut 0.3s linear'); + setTimeout(function(){ + $('.customAlert').css('animation', 'none'); + $('.customAlert').css('display', 'none'); + }, 100); + }); + }); +}); +
    \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/pagamenti/view.jsp b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/pagamenti/view.jsp index 5595a8c5..8d5edeb3 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/pagamenti/view.jsp +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/pagamenti/view.jsp @@ -79,7 +79,39 @@ %> - + +
    + <% + String buttonFormId = "pagamentoFormButton_" + index; + String contentFormId = "pagamentoFormContent_" + index; + String formNameBollettino = "fmPagamenti_" + index; + %> + + + +
    + + + + + +
    + + + + + + + + +
    + <% String[] notAllowed = new String[]{}; diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/pagamenti/view_panel_form_bollettino.jsp b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/pagamenti/view_panel_form_bollettino.jsp new file mode 100644 index 00000000..4d964271 --- /dev/null +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/pagamenti/view_panel_form_bollettino.jsp @@ -0,0 +1,44 @@ +<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> +<%@page import="java.util.Locale"%> +<%@page import="com.liferay.portal.kernel.util.Validator"%> +<%@page import="java.text.NumberFormat"%> +<%@page import="java.math.BigDecimal"%> +<%@page import="com.liferay.portal.kernel.bean.BeanPropertiesUtil"%> +<%@page import="it.tref.liferay.portos.bo.shared.util.PagamentoConstants"%> +<%@page import="com.liferay.portal.kernel.language.LanguageUtil"%> + +<%@ include file="/html/init.jsp" %> + +<% + long dettPraticaId = ParamUtil.getLong(request, "dettPraticaId",0l); + long idPagamento = ParamUtil.getLong(request, "idPagamento", 0l); + String formName = ParamUtil.getString(request, "formName", "fm"); + + DettPratica dettPratica = DettPraticaLocalServiceUtil.getDettPratica(dettPraticaId); + Pagamento objPagamento = PagamentoLocalServiceUtil.fetchPagamento(idPagamento); + + long companyId = company.getCompanyId(); + + String portletNamespace = renderResponse.getNamespace(); + String redirect = currentURL+"#"+portletNamespace+"tab="+portletNamespace+"page_pagamenti"; + +%> + + +
    + <%-- + + + + + --%> + + + + 250 + + + +
    +
    \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/.project b/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/.project index 45eabb5e..b0804632 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/.project +++ b/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/.project @@ -33,15 +33,4 @@ org.eclipse.jdt.core.javanature org.eclipse.wst.jsdt.core.jsNature - - - 1672831492473 - - 30 - - org.eclipse.core.resources.regexFilterMatcher - node_modules|\.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__ - - - diff --git a/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/.settings/org.eclipse.jdt.core.prefs b/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/.settings/org.eclipse.jdt.core.prefs index d17b6724..f42de363 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/.settings/org.eclipse.jdt.core.prefs +++ b/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/.settings/org.eclipse.jdt.core.prefs @@ -1,12 +1,7 @@ eclipse.preferences.version=1 org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled -org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7 -org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve org.eclipse.jdt.core.compiler.compliance=1.7 -org.eclipse.jdt.core.compiler.debug.lineNumber=generate -org.eclipse.jdt.core.compiler.debug.localVariable=generate -org.eclipse.jdt.core.compiler.debug.sourceFile=generate org.eclipse.jdt.core.compiler.problem.assertIdentifier=error org.eclipse.jdt.core.compiler.problem.enumIdentifier=error org.eclipse.jdt.core.compiler.source=1.7 diff --git a/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/.settings/org.eclipse.wst.common.component b/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/.settings/org.eclipse.wst.common.component index 26b0e067..f5407b79 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/.settings/org.eclipse.wst.common.component +++ b/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/.settings/org.eclipse.wst.common.component @@ -5,9 +5,6 @@ uses - - uses - diff --git a/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/fe/portlet/FascicoloFePortlet.java b/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/fe/portlet/FascicoloFePortlet.java index 974077b6..edb993ce 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/fe/portlet/FascicoloFePortlet.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/fe/portlet/FascicoloFePortlet.java @@ -2271,6 +2271,14 @@ public class FascicoloFePortlet extends MVCPortlet { UploadPortletRequest uploadRequest = PortalUtil.getUploadPortletRequest(request); ServiceContext serviceContext = ServiceContextFactory.getInstance(uploadRequest); long pagamentoId = ParamUtil.getLong(uploadRequest, "pagamentoId"); + String numeroBollettino = ParamUtil.getString(request, "numeroBollettino", StringPool.BLANK); + if(numeroBollettino.equals(StringPool.BLANK)){ + numeroBollettino= ParamUtil.getString(uploadRequest, "numeroHBollettino", StringPool.BLANK); + if(!numeroBollettino.equals(StringPool.QUESTION)){ + SessionErrors.add(request, "error.geniocivilefe.pagamento.bollettino"); + } + numeroBollettino=StringPool.BLANK; + } String sourceFileName = uploadRequest.getFileName("docFile"); File file = uploadRequest.getFile("docFile"); if (Validator.isNotNull(sourceFileName) && file != null) { @@ -2291,7 +2299,7 @@ public class FascicoloFePortlet extends MVCPortlet { PortalUtil.copyRequestParameters(request, response); } else { byte[] content = FileUtil.getBytes(file); - PagamentoServiceUtil.updatePagamentoManuale(pagamentoId, content, sourceFileName, serviceContext); + PagamentoServiceUtil.updatePagamentoManuale(pagamentoId, content, numeroBollettino, sourceFileName, serviceContext); } } catch (Exception e) { PortalUtil.copyRequestParameters(request, response); diff --git a/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/asseverazione_actions.jsp b/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/asseverazione_actions.jsp index d072ad0c..777fef66 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/asseverazione_actions.jsp +++ b/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/asseverazione_actions.jsp @@ -1,3 +1,5 @@ +<%@page import="it.tref.liferay.portos.bo.shared.util.TipoSoggettoUtil"%> +<%@page import="it.tref.liferay.portos.bo.service.SoggettoLocalServiceUtil"%> <%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <%@page import="it.tref.liferay.portos.bo.service.DettPraticaLocalServiceUtil"%> @@ -72,33 +74,35 @@ String random = StringUtil.randomId().toString(); - - - - - - - - - - - <% - Map dataMap = new HashMap(); - dataMap.put("id", "dialogAllegaAsseverazione"); - dataMap.put("title", "Allega file Asseverazione"); - %> - - - - - - - - - - - + + + + + + + + + + + + <% + Map dataMap = new HashMap(); + dataMap.put("id", "dialogAllegaAsseverazione"); + dataMap.put("title", "Allega file Asseverazione"); + %> + + + + + + + + + + + + diff --git a/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/navigator/common/save_actions.jspf b/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/navigator/common/save_actions.jspf index a12ba34e..f0c91b5f 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/navigator/common/save_actions.jspf +++ b/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/navigator/common/save_actions.jspf @@ -51,7 +51,7 @@ boolean hasDelegaAttiva = DelegheUtil.hasDelegaAttiva(user.getUserId(), dettPrat boolean hasAsseverazioneAttiva = AsseverazioniUtil.hasAsseverazioneAttiva(user.getUserId(), intPraticaId); %>
    - + diff --git a/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/verify-payment-guide.jsp b/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/verify-payment-guide.jsp index 2d88d49c..4b9366b2 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/verify-payment-guide.jsp +++ b/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/verify-payment-guide.jsp @@ -1,8 +1,8 @@ -

    Il pagamento dei “Diritti Fissi” potrà essere effettuato solo tramite la piattaforma regionale https://pagamenti.regione.sicilia.it/static/.

    +

    Il pagamento dei “Diritti Fissi” potrà essere effettuato solo tramite la piattaforma regionale https://pagamenti.regione.sicilia.it/static/.

    Per effettuare il pagamento seguire i seguenti step:

    1. -

      connettersi alla piattaforma https://pagamenti.regione.sicilia.it/static/

      +

      connettersi alla piattaforma https://pagamenti.regione.sicilia.it/static/

    2. Selezionare il pulsante “accedi al servizio”

      diff --git a/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/verify_fascicolo_calcolo.jsp b/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/verify_fascicolo_calcolo.jsp index 577f3fd6..a8665c0e 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/verify_fascicolo_calcolo.jsp +++ b/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/verify_fascicolo_calcolo.jsp @@ -71,6 +71,8 @@ + + @@ -152,6 +154,7 @@ 'p7m,pdf' +
    @@ -197,13 +200,17 @@ -
    +
    <%=LanguageUtil.get(pageContext, "text-pagamento-manuale-bolli")%>
    -
    +
    + + 250 + + 'p7m,pdf' @@ -376,6 +383,9 @@
    Totale importo
    <% String speseIstruttoria = Validator.isNull(pagamentoOneri) ? "0,00" : pagamentoOneri.getImporto(); + if(speseIstruttoria.length() == 2){ + speseIstruttoria = speseIstruttoria + ",00"; + } %>
    € <%=speseIstruttoria%> diff --git a/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/verify_fine-lavori_calcolo.jsp b/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/verify_fine-lavori_calcolo.jsp index cc950c83..9fc484bb 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/verify_fine-lavori_calcolo.jsp +++ b/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/verify_fine-lavori_calcolo.jsp @@ -17,6 +17,7 @@ long intPraticaId = ParamUtil.getLong(request, "intPraticaId"); long fineLavoriId = ParamUtil.getLong(request, "fineLavoriId"); IntPratica intPratica = IntPraticaLocalServiceUtil.getIntPratica(intPraticaId); FineLavori fineLavori = FineLavoriServiceUtil.getFineLavori(fineLavoriId); +String testoPagamento = (String) company.getExpandoBridge().getAttribute("testo_pagamento", false); if (fineLavori == null) { fineLavori = FineLavoriServiceUtil.getLastEditable(intPraticaId); } @@ -43,6 +44,8 @@ if (Validator.isNotNull(pagamento)) { String formRicevutaPagamento = "fmRicevuta"; String currentCompleteUrl = PortalUtil.getCurrentCompleteURL(request); %> + + @@ -109,15 +112,19 @@ String currentCompleteUrl = PortalUtil.getCurrentCompleteURL(request); -
    - <%= LanguageUtil.get(pageContext, "text-pagamento-manuale-bolli") %> - +
    + <%= testoPagamento %> + <%-- <%= LanguageUtil.get(pageContext, "text-pagamento-manuale-bolli") %> --%>
    -
    +
    + + 250 + + -
    +
    <%= LanguageUtil.get(pageContext, "text-pagamento-manuale-oneri") %>
    -
    +
    @@ -183,6 +190,7 @@ String currentCompleteUrl = PortalUtil.getCurrentCompleteURL(request); 'p7m,pdf' +
    @@ -350,7 +358,7 @@ String currentCompleteUrl = PortalUtil.getCurrentCompleteURL(request);
    <% String paymentConfirmText = StringPool.BLANK; - paymentConfirmText = LanguageUtil.get(pageContext, "label-confirm-payment-manual"); + paymentConfirmText = (String) company.getExpandoBridge().getAttribute("testo_pagamento_breve", false); %> <%= paymentConfirmText %>
    diff --git a/template-asseverazione/geologo.html b/template-asseverazione/geologo.html new file mode 100644 index 00000000..c526afe1 --- /dev/null +++ b/template-asseverazione/geologo.html @@ -0,0 +1,52 @@ +

    + DPR 380/2001, Capitolo 6
    + Legge 190/2012, art. 1, comma 9 lettera “e�
    + Legge Regionale 1/2019, art. 36 comma 2
    + D. Lgs. 101/2018 +

    +

    ASSEVERAZIONE DEL GEOLOGO

    +

    (resa ai sensi del D.P.R. n° 445 del 28.12.2000 e ss.mm.ii.)

    +

    + Il sottoscritto {{nome}} {{cognome}}, C.F. {{codicefiscale}}, tecnico incaricato per l’esecuzione delle indagini per la + caratterizzazione e la modellazione geologica del sito, consapevole delle sanzioni civili e penali previste dalla + normativa vigente a seguito di dichiarazioni mendaci, dichiara: +

    +
      +
    • + che la caratterizzazione e la modellazione geologica del sito relativa al progetto allegato alla denuncia dei + lavori è stata eseguita nel rispetto delle norme tecniche per le costruzioni e la relazione allegata possiede i + requisiti di completezza specificata nelle NTC 2018, paragrafo 6.2.1; +
    • +
    • + che l’opera prevista in progetto non è in contrasto con i vincoli di natura geologica gravanti sull’area di sedime + della stessa, con particolare riguardo alle norme di attuazione di cui al Piano Stralcio per l’Assetto + Idrogeologico (PAI) del Bacino Idrografico, e dei relativi aggiornamenti, nel quale insiste l’opera e + specificatamente:
      + [{{rischio}}] l’intervento ricade in zona ove è previsto una pericolosità o un rischio elevato o molto elevato R4 – + R3 – P4 – P3 o nelle relative fasce di rispetto di cui al DPRS 15.04.2015;
      + [{{!rischio}}] l’intervento non ricade in zona ove è previsto una pericolosità o un rischio elevato o molto elevato R4 – R3 – + P4 – P3 o nelle relative fasce di rispetto di cui al DPRS 15.04.2015; +
    • +##anteprima +
    • + ai sensi dell'art. 1, comma 9 lettera “eâ€�, della legge n° 190/2012:
      + [{{!coniugio}}] di non trovarsi in rapporti di coniugio, parentela o affinità, del coniuge o del + convivente, entro il 2° grado, con i dirigenti e i dipendenti dell'Ufficio del Genio Civile deputati alla + trattazione del procedimento;
      + [{{coniugio}}] di trovarsi in rapporti di coniugio, parentela o affinità entro il 2° grado con i seguenti + dipendenti dell'Ufficio del Genio Civile: {{relazioni}} +
    • +## +##lavoripubblici +
    • + ai sensi dell'art. 36, comma 2, della L.R. 1/2019, che le spettanze correlate al proprio incarico sono state + regolarmente liquidate dal committente secondo quanto concordato in sede di affidamento dell'incarico; +
    • +## +
    • + di essere informato, ai sensi dell’art. 13 del Regolamento UE 2016/679, recepito con D.Lgs. 101/2018, circa le + modalità di trattamento e l'utilizzo dei dati personali raccolti e di acconsentire, ai sensi e per gli effetti di + cui all’art. 7 e ss. del sopraccitato Regolamento, al trattamento, anche con strumenti informatici, dei dati + personali con le modalità e per le finalità connesse al procedimento cui la presente è riferita. +
    • +