Sfoglia il codice sorgente

Merge branch 'feature/asseverazioni-geologo' into feature/pratica-ospedaliera

# Conflicts:
#	liferay-plugins-sdk-6.2/dist/portos-audit-shared-6.2.0.1.jar
#	liferay-plugins-sdk-6.2/dist/portos-bo-shared-6.2.0.1.jar
#	liferay-plugins-sdk-6.2/dist/portos-kaleo-shared-6.2.0.1.jar
#	liferay-plugins-sdk-6.2/dist/portos-mail-manager-shared-6.2.0.1.jar
#	liferay-plugins-sdk-6.2/dist/portos-report-shared-6.2.0.1.jar
#	liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-audit-shared.jar
#	liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-bo-portlet-service.jar
#	liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-bo-shared.jar
#	liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-kaleo-shared.jar
#	liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-mail-manager-shared.jar
#	liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-report-shared.jar
#	liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/service.properties
#	liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/WEB-INF/lib/portos-bo-portlet-service.jar
#	liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/WEB-INF/lib/portos-bo-shared.jar
#	liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/WEB-INF/lib/portos-mail-manager-shared.jar
#	liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/WEB-INF/lib/portos-report-shared.jar
feature/pratica-ospedaliera
Marco Alderighi 4 mesi fa
parent
commit
f1807f3684
  1. 3
      liferay-plugins-sdk-6.2/portlets/portos-accesso-atti-portlet/.settings/org.eclipse.wst.common.component
  2. 2
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.classpath
  3. 11
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.project
  4. 12
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.settings/org.eclipse.core.resources.prefs
  5. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service.xml
  6. 43
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/PagamentoClp.java
  7. 15
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/PagamentoModel.java
  8. 10
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/PagamentoSoap.java
  9. 27
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/PagamentoWrapper.java
  10. 3
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/PagamentoLocalService.java
  11. 7
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/PagamentoLocalServiceClp.java
  12. 7
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/PagamentoLocalServiceUtil.java
  13. 7
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/PagamentoLocalServiceWrapper.java
  14. 2
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/PagamentoService.java
  15. 6
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/PagamentoServiceClp.java
  16. 6
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/PagamentoServiceUtil.java
  17. 4
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/PagamentoServiceWrapper.java
  18. 2
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/util/AsseverazioniUtil.java
  19. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/sql/tables.sql
  20. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/META-INF/portlet-hbm.xml
  21. 3
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/META-INF/portlet-model-hints.xml
  22. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/META-INF/portlet-orm.xml
  23. 5
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/content/Portal.properties
  24. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/DettPraticaImpl.java
  25. 22
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/PagamentoCacheModel.java
  26. 47
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/PagamentoModelImpl.java
  27. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/scheduler/SchedulerEstrazioneFirme.java
  28. 22
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/scheduler/SchedulerGeneraProtocollo.java
  29. 7
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/PagamentoLocalServiceClpInvoker.java
  30. 5
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/PagamentoServiceClpInvoker.java
  31. 4
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/http/PagamentoServiceSoap.java
  32. 4
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/AsseverazioneLocalServiceImpl.java
  33. 3
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/PagamentoLocalServiceImpl.java
  34. 4
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/PagamentoServiceImpl.java
  35. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/PagamentoPersistenceImpl.java
  36. 8
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/resource/asseverazioni/geologo.html
  37. 134
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/common/submit_form_window.jsp
  38. 34
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/pagamenti/view.jsp
  39. 44
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/pagamenti/view_panel_form_bollettino.jsp
  40. 11
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/.project
  41. 5
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/.settings/org.eclipse.jdt.core.prefs
  42. 3
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/.settings/org.eclipse.wst.common.component
  43. 10
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/fe/portlet/FascicoloFePortlet.java
  44. 4
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/asseverazione_actions.jsp
  45. 2
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/navigator/common/save_actions.jspf
  46. 4
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/verify-payment-guide.jsp
  47. 14
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/verify_fascicolo_calcolo.jsp
  48. 22
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/verify_fine-lavori_calcolo.jsp
  49. 52
      template-asseverazione/geologo.html

3
liferay-plugins-sdk-6.2/portlets/portos-accesso-atti-portlet/.settings/org.eclipse.wst.common.component

@ -8,6 +8,9 @@
<dependent-module archiveName="portos-bo-portlet-service.jar" deploy-path="/WEB-INF/lib" handle="module:/classpath/lib/portos-bo-portlet/docroot/WEB-INF/lib/portos-bo-portlet-service.jar"> <dependent-module archiveName="portos-bo-portlet-service.jar" deploy-path="/WEB-INF/lib" handle="module:/classpath/lib/portos-bo-portlet/docroot/WEB-INF/lib/portos-bo-portlet-service.jar">
<dependency-type>uses</dependency-type> <dependency-type>uses</dependency-type>
</dependent-module> </dependent-module>
<dependent-module archiveName="portos-bo-portlet-service.jar" deploy-path="/WEB-INF/lib" handle="module:/classpath/lib/portos-bo-portlet/docroot/WEB-INF/lib/portos-bo-portlet-service.jar">
<dependency-type>uses</dependency-type>
</dependent-module>
<property name="context-root" value="portos-accesso-atti-portlet"/> <property name="context-root" value="portos-accesso-atti-portlet"/>
<property name="java-output-path" value="/portos-accesso-atti-portlet/docroot/WEB-INF/classes"/> <property name="java-output-path" value="/portos-accesso-atti-portlet/docroot/WEB-INF/classes"/>
</wb-module> </wb-module>

2
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.classpath

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<classpath> <classpath>
<classpathentry kind="src" path="docroot/WEB-INF/src"/> <classpathentry kind="src" path="docroot/WEB-INF/src"/>
<classpathentry kind="src" output="service-classes" path="docroot/WEB-INF/service"/> <classpathentry kind="src" path="docroot/WEB-INF/service"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jre7"> <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jre7">
<attributes> <attributes>
<attribute name="owner.project.facets" value="java"/> <attribute name="owner.project.facets" value="java"/>

11
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.project

@ -33,15 +33,4 @@
<nature>org.eclipse.jdt.core.javanature</nature> <nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.wst.jsdt.core.jsNature</nature> <nature>org.eclipse.wst.jsdt.core.jsNature</nature>
</natures> </natures>
<filteredResources>
<filter>
<id>1701177106006</id>
<name></name>
<type>30</type>
<matcher>
<id>org.eclipse.core.resources.regexFilterMatcher</id>
<arguments>node_modules|\.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__</arguments>
</matcher>
</filter>
</filteredResources>
</projectDescription> </projectDescription>

12
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.settings/org.eclipse.core.resources.prefs

@ -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

1
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service.xml

@ -1307,6 +1307,7 @@
<column name="otf" type="boolean" /> <column name="otf" type="boolean" />
<column name="otfCreateDate" type="Date" /> <column name="otfCreateDate" type="Date" />
<column name="emailPending" type="boolean" /> <column name="emailPending" type="boolean" />
<column name="numeroBollettino" type="String" />
<column name="oldPagamentoId" type="long" /> <column name="oldPagamentoId" type="long" />

43
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<Pagamento> implements Pagamento
attributes.put("otf", getOtf()); attributes.put("otf", getOtf());
attributes.put("otfCreateDate", getOtfCreateDate()); attributes.put("otfCreateDate", getOtfCreateDate());
attributes.put("emailPending", getEmailPending()); attributes.put("emailPending", getEmailPending());
attributes.put("numeroBollettino", getNumeroBollettino());
attributes.put("oldPagamentoId", getOldPagamentoId()); attributes.put("oldPagamentoId", getOldPagamentoId());
return attributes; return attributes;
@ -259,6 +260,12 @@ public class PagamentoClp extends BaseModelImpl<Pagamento> implements Pagamento
setEmailPending(emailPending); setEmailPending(emailPending);
} }
String numeroBollettino = (String)attributes.get("numeroBollettino");
if (numeroBollettino != null) {
setNumeroBollettino(numeroBollettino);
}
Long oldPagamentoId = (Long)attributes.get("oldPagamentoId"); Long oldPagamentoId = (Long)attributes.get("oldPagamentoId");
if (oldPagamentoId != null) { if (oldPagamentoId != null) {
@ -863,6 +870,30 @@ public class PagamentoClp extends BaseModelImpl<Pagamento> 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 @Override
public long getOldPagamentoId() { public long getOldPagamentoId() {
return _oldPagamentoId; return _oldPagamentoId;
@ -1027,6 +1058,7 @@ public class PagamentoClp extends BaseModelImpl<Pagamento> implements Pagamento
clone.setOtf(getOtf()); clone.setOtf(getOtf());
clone.setOtfCreateDate(getOtfCreateDate()); clone.setOtfCreateDate(getOtfCreateDate());
clone.setEmailPending(getEmailPending()); clone.setEmailPending(getEmailPending());
clone.setNumeroBollettino(getNumeroBollettino());
clone.setOldPagamentoId(getOldPagamentoId()); clone.setOldPagamentoId(getOldPagamentoId());
return clone; return clone;
@ -1080,7 +1112,7 @@ public class PagamentoClp extends BaseModelImpl<Pagamento> implements Pagamento
@Override @Override
public String toString() { public String toString() {
StringBundler sb = new StringBundler(53); StringBundler sb = new StringBundler(55);
sb.append("{uuid="); sb.append("{uuid=");
sb.append(getUuid()); sb.append(getUuid());
@ -1132,6 +1164,8 @@ public class PagamentoClp extends BaseModelImpl<Pagamento> implements Pagamento
sb.append(getOtfCreateDate()); sb.append(getOtfCreateDate());
sb.append(", emailPending="); sb.append(", emailPending=");
sb.append(getEmailPending()); sb.append(getEmailPending());
sb.append(", numeroBollettino=");
sb.append(getNumeroBollettino());
sb.append(", oldPagamentoId="); sb.append(", oldPagamentoId=");
sb.append(getOldPagamentoId()); sb.append(getOldPagamentoId());
sb.append("}"); sb.append("}");
@ -1141,7 +1175,7 @@ public class PagamentoClp extends BaseModelImpl<Pagamento> implements Pagamento
@Override @Override
public String toXmlString() { public String toXmlString() {
StringBundler sb = new StringBundler(82); StringBundler sb = new StringBundler(85);
sb.append("<model><model-name>"); sb.append("<model><model-name>");
sb.append("it.tref.liferay.portos.bo.model.Pagamento"); sb.append("it.tref.liferay.portos.bo.model.Pagamento");
@ -1247,6 +1281,10 @@ public class PagamentoClp extends BaseModelImpl<Pagamento> implements Pagamento
"<column><column-name>emailPending</column-name><column-value><![CDATA["); "<column><column-name>emailPending</column-name><column-value><![CDATA[");
sb.append(getEmailPending()); sb.append(getEmailPending());
sb.append("]]></column-value></column>"); sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>numeroBollettino</column-name><column-value><![CDATA[");
sb.append(getNumeroBollettino());
sb.append("]]></column-value></column>");
sb.append( sb.append(
"<column><column-name>oldPagamentoId</column-name><column-value><![CDATA["); "<column><column-name>oldPagamentoId</column-name><column-value><![CDATA[");
sb.append(getOldPagamentoId()); sb.append(getOldPagamentoId());
@ -1283,6 +1321,7 @@ public class PagamentoClp extends BaseModelImpl<Pagamento> implements Pagamento
private boolean _otf; private boolean _otf;
private Date _otfCreateDate; private Date _otfCreateDate;
private boolean _emailPending; private boolean _emailPending;
private String _numeroBollettino;
private long _oldPagamentoId; private long _oldPagamentoId;
private BaseModel<?> _pagamentoRemoteModel; private BaseModel<?> _pagamentoRemoteModel;
private Class<?> _clpSerializerClass = it.tref.liferay.portos.bo.service.ClpSerializer.class; private Class<?> _clpSerializerClass = it.tref.liferay.portos.bo.service.ClpSerializer.class;

15
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<Pagamento>, StagedGroupedModel
*/ */
public void setEmailPending(boolean emailPending); 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. * Returns the old pagamento ID of this pagamento.
* *

10
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.setOtf(model.getOtf());
soapModel.setOtfCreateDate(model.getOtfCreateDate()); soapModel.setOtfCreateDate(model.getOtfCreateDate());
soapModel.setEmailPending(model.getEmailPending()); soapModel.setEmailPending(model.getEmailPending());
soapModel.setNumeroBollettino(model.getNumeroBollettino());
soapModel.setOldPagamentoId(model.getOldPagamentoId()); soapModel.setOldPagamentoId(model.getOldPagamentoId());
return soapModel; return soapModel;
@ -317,6 +318,14 @@ public class PagamentoSoap implements Serializable {
_emailPending = emailPending; _emailPending = emailPending;
} }
public String getNumeroBollettino() {
return _numeroBollettino;
}
public void setNumeroBollettino(String numeroBollettino) {
_numeroBollettino = numeroBollettino;
}
public long getOldPagamentoId() { public long getOldPagamentoId() {
return _oldPagamentoId; return _oldPagamentoId;
} }
@ -350,5 +359,6 @@ public class PagamentoSoap implements Serializable {
private boolean _otf; private boolean _otf;
private Date _otfCreateDate; private Date _otfCreateDate;
private boolean _emailPending; private boolean _emailPending;
private String _numeroBollettino;
private long _oldPagamentoId; private long _oldPagamentoId;
} }

27
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<Pagamento> {
attributes.put("otf", getOtf()); attributes.put("otf", getOtf());
attributes.put("otfCreateDate", getOtfCreateDate()); attributes.put("otfCreateDate", getOtfCreateDate());
attributes.put("emailPending", getEmailPending()); attributes.put("emailPending", getEmailPending());
attributes.put("numeroBollettino", getNumeroBollettino());
attributes.put("oldPagamentoId", getOldPagamentoId()); attributes.put("oldPagamentoId", getOldPagamentoId());
return attributes; return attributes;
@ -234,6 +235,12 @@ public class PagamentoWrapper implements Pagamento, ModelWrapper<Pagamento> {
setEmailPending(emailPending); setEmailPending(emailPending);
} }
String numeroBollettino = (String)attributes.get("numeroBollettino");
if (numeroBollettino != null) {
setNumeroBollettino(numeroBollettino);
}
Long oldPagamentoId = (Long)attributes.get("oldPagamentoId"); Long oldPagamentoId = (Long)attributes.get("oldPagamentoId");
if (oldPagamentoId != null) { if (oldPagamentoId != null) {
@ -804,6 +811,26 @@ public class PagamentoWrapper implements Pagamento, ModelWrapper<Pagamento> {
_pagamento.setEmailPending(emailPending); _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. * Returns the old pagamento ID of this pagamento.
* *

3
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) public int countByIntPratica_Visible(long intPraticaId)
throws com.liferay.portal.kernel.exception.SystemException; 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, java.lang.String sourceFileName,
com.liferay.portal.service.ServiceContext serviceContext) com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException, throws com.liferay.portal.kernel.exception.PortalException,

7
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"; _methodName51 = "updatePagamentoManuale";
_methodParameterTypes51 = new String[] { _methodParameterTypes51 = new String[] {
"long", "byte[][]", "java.lang.String", "long", "java.lang.String", "byte[][]", "java.lang.String",
"com.liferay.portal.service.ServiceContext" "com.liferay.portal.service.ServiceContext"
}; };
@ -2092,7 +2092,8 @@ public class PagamentoLocalServiceClp implements PagamentoLocalService {
} }
@Override @Override
public void updatePagamentoManuale(long pagamentoId, byte[] content, public void updatePagamentoManuale(long pagamentoId,
java.lang.String numeroBollettino, byte[] content,
java.lang.String sourceFileName, java.lang.String sourceFileName,
com.liferay.portal.service.ServiceContext serviceContext) com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException, throws com.liferay.portal.kernel.exception.PortalException,
@ -2104,6 +2105,8 @@ public class PagamentoLocalServiceClp implements PagamentoLocalService {
new Object[] { new Object[] {
pagamentoId, pagamentoId,
ClpSerializer.translateInput(numeroBollettino),
ClpSerializer.translateInput(content), ClpSerializer.translateInput(content),
ClpSerializer.translateInput(sourceFileName), ClpSerializer.translateInput(sourceFileName),

7
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); 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, java.lang.String sourceFileName,
com.liferay.portal.service.ServiceContext serviceContext) com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException, throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException, com.liferay.portal.kernel.exception.SystemException,
java.io.IOException { java.io.IOException {
getService() getService()
.updatePagamentoManuale(pagamentoId, content, sourceFileName, .updatePagamentoManuale(pagamentoId, numeroBollettino, content,
serviceContext); sourceFileName, serviceContext);
} }
public static void updatePagamentoManualeFromImport(long pagamentoId, public static void updatePagamentoManualeFromImport(long pagamentoId,

7
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 @Override
public void updatePagamentoManuale(long pagamentoId, byte[] content, public void updatePagamentoManuale(long pagamentoId,
java.lang.String numeroBollettino, byte[] content,
java.lang.String sourceFileName, java.lang.String sourceFileName,
com.liferay.portal.service.ServiceContext serviceContext) com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException, throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException, com.liferay.portal.kernel.exception.SystemException,
java.io.IOException { java.io.IOException {
_pagamentoLocalService.updatePagamentoManuale(pagamentoId, content, _pagamentoLocalService.updatePagamentoManuale(pagamentoId,
sourceFileName, serviceContext); numeroBollettino, content, sourceFileName, serviceContext);
} }
@Override @Override

2
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; throws java.lang.Throwable;
public void updatePagamentoManuale(long pagamentoId, byte[] content, 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) com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException, throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException, com.liferay.portal.kernel.exception.SystemException,

6
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"; _methodName3 = "updatePagamentoManuale";
_methodParameterTypes3 = new String[] { _methodParameterTypes3 = new String[] {
"long", "byte[][]", "java.lang.String", "long", "byte[][]", "java.lang.String", "java.lang.String",
"com.liferay.portal.service.ServiceContext" "com.liferay.portal.service.ServiceContext"
}; };
} }
@ -92,7 +92,7 @@ public class PagamentoServiceClp implements PagamentoService {
@Override @Override
public void updatePagamentoManuale(long pagamentoId, byte[] content, 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) com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException, throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException, com.liferay.portal.kernel.exception.SystemException,
@ -105,6 +105,8 @@ public class PagamentoServiceClp implements PagamentoService {
ClpSerializer.translateInput(content), ClpSerializer.translateInput(content),
ClpSerializer.translateInput(numeroBollettino),
ClpSerializer.translateInput(sourceFileName), ClpSerializer.translateInput(sourceFileName),
ClpSerializer.translateInput(serviceContext) ClpSerializer.translateInput(serviceContext)

6
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, 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) com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException, throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException, com.liferay.portal.kernel.exception.SystemException,
java.io.IOException { java.io.IOException {
getService() getService()
.updatePagamentoManuale(pagamentoId, content, sourceFileName, .updatePagamentoManuale(pagamentoId, content, numeroBollettino,
serviceContext); sourceFileName, serviceContext);
} }
public static void clearService() { public static void clearService() {

4
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 @Override
public void updatePagamentoManuale(long pagamentoId, byte[] content, 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) com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException, throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException, com.liferay.portal.kernel.exception.SystemException,
java.io.IOException { java.io.IOException {
_pagamentoService.updatePagamentoManuale(pagamentoId, content, _pagamentoService.updatePagamentoManuale(pagamentoId, content,
sourceFileName, serviceContext); numeroBollettino, sourceFileName, serviceContext);
} }
/** /**

2
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)); put(DocumentiPraticaUtil.TIPOLOGIA_ALLEGATO_A29, Arrays.asList(TipoSoggettoUtil.DIRETTORE_LAVORI));
// Domanda // Domanda
put(ASSEVERAZIONI_DOMANDA, Arrays.asList(TipoSoggettoUtil.COMMITTENTE, TipoSoggettoUtil.DIRETTORE_LAVORI, 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 // Variante
put(ASSEVERAZIONI_VARIANTE, new ArrayList<String>()); put(ASSEVERAZIONI_VARIANTE, new ArrayList<String>());
// Integrazioni // Integrazioni

1
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, otf BOOLEAN,
otfCreateDate DATE null, otfCreateDate DATE null,
emailPending BOOLEAN, emailPending BOOLEAN,
numeroBollettino VARCHAR(250) null,
oldPagamentoId LONG oldPagamentoId LONG
); );

1
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/META-INF/portlet-hbm.xml

@ -656,6 +656,7 @@
<property name="otf" type="com.liferay.portal.dao.orm.hibernate.BooleanType" /> <property name="otf" type="com.liferay.portal.dao.orm.hibernate.BooleanType" />
<property name="otfCreateDate" type="org.hibernate.type.TimestampType" /> <property name="otfCreateDate" type="org.hibernate.type.TimestampType" />
<property name="emailPending" type="com.liferay.portal.dao.orm.hibernate.BooleanType" /> <property name="emailPending" type="com.liferay.portal.dao.orm.hibernate.BooleanType" />
<property name="numeroBollettino" type="com.liferay.portal.dao.orm.hibernate.StringType" />
<property name="oldPagamentoId" type="com.liferay.portal.dao.orm.hibernate.LongType" /> <property name="oldPagamentoId" type="com.liferay.portal.dao.orm.hibernate.LongType" />
</class> </class>
<class name="it.tref.liferay.portos.bo.model.impl.ParereGeologoImpl" table="portos_bo_ParereGeo"> <class name="it.tref.liferay.portos.bo.model.impl.ParereGeologoImpl" table="portos_bo_ParereGeo">

3
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/META-INF/portlet-model-hints.xml

@ -706,6 +706,9 @@
<field name="otf" type="boolean" /> <field name="otf" type="boolean" />
<field name="otfCreateDate" type="Date" /> <field name="otfCreateDate" type="Date" />
<field name="emailPending" type="boolean" /> <field name="emailPending" type="boolean" />
<field name="numeroBollettino" type="String">
<hint name="max-length">250</hint>
</field>
<field name="oldPagamentoId" type="long" /> <field name="oldPagamentoId" type="long" />
</model> </model>
<model name="it.tref.liferay.portos.bo.model.ParereGeologo"> <model name="it.tref.liferay.portos.bo.model.ParereGeologo">

1
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/META-INF/portlet-orm.xml

@ -844,6 +844,7 @@
<temporal>TIMESTAMP</temporal> <temporal>TIMESTAMP</temporal>
</basic> </basic>
<basic name="emailPending" /> <basic name="emailPending" />
<basic name="numeroBollettino" />
<basic name="oldPagamentoId" /> <basic name="oldPagamentoId" />
<transient name="modelAttributes" /> <transient name="modelAttributes" />
<transient name="primaryKey" /> <transient name="primaryKey" />

5
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-richiesto = Campo Obbligatorio
campo-non-valido = I dati immessi non sono validi campo-non-valido = I dati immessi non sono validi
## Pagamenti ## ## Pagamenti ##
mezzo-pagamento = Mezzo Pagamento mezzo-pagamento = Mezzo Pagamento
mezzo-pagamento-oneri = Mezzo Pagamento Spese Istruttoria mezzo-pagamento-oneri = Mezzo Pagamento Spese Istruttoria
@ -897,6 +898,9 @@ causale-pagamento-oneri = Causale Pagamento Spese Istruttoria
causale-pagamento-bolli = Causale Pagamento Bolli causale-pagamento-bolli = Causale Pagamento Bolli
importo-bolli = Importo Bolli importo-bolli = Importo Bolli
importo-spese-istruttoria = Importo Spese Istruttoria 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-nuove-costruzioni = Pagamento Nuove Costruzioni
pag-adeguamento-sismico = Pagamento Adeguamento Sismico 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.ext.valid = Estensione Allegato non valida
error.geniocivilefe.pratica.allegato.length.valid = Lunghezza massima nome file superata 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 # Manifattura Web Group, mofidica per rendere la dimensione massima degli allegati configurabile
# da pannello di controllo. In origine era hardcoded a 20971520 byte. # da pannello di controllo. In origine era hardcoded a 20971520 byte.

1
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/DettPraticaImpl.java

@ -767,6 +767,7 @@ public class DettPraticaImpl extends DettPraticaBaseImpl {
|| TipoSoggettoUtil.DITTA.equalsIgnoreCase(tipologia) || TipoSoggettoUtil.DITTA.equalsIgnoreCase(tipologia)
|| TipoSoggettoUtil.DIRETTORE_LAVORI.equalsIgnoreCase(tipologia) || TipoSoggettoUtil.DIRETTORE_LAVORI.equalsIgnoreCase(tipologia)
|| TipoSoggettoUtil.PROGETTISTA.equalsIgnoreCase(tipologia) || TipoSoggettoUtil.PROGETTISTA.equalsIgnoreCase(tipologia)
|| TipoSoggettoUtil.GEOLOGO.equalsIgnoreCase(tipologia)
|| (TipoSoggettoUtil.COLLAUDATORE.equalsIgnoreCase(tipologia) && !collaudatoreInserito)) { || (TipoSoggettoUtil.COLLAUDATORE.equalsIgnoreCase(tipologia) && !collaudatoreInserito)) {
soggettiAsseveranti.add(soggetto); soggettiAsseveranti.add(soggetto);
} }

22
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<Pagamento>,
Externalizable { Externalizable {
@Override @Override
public String toString() { public String toString() {
StringBundler sb = new StringBundler(53); StringBundler sb = new StringBundler(55);
sb.append("{uuid="); sb.append("{uuid=");
sb.append(uuid); sb.append(uuid);
@ -90,6 +90,8 @@ public class PagamentoCacheModel implements CacheModel<Pagamento>,
sb.append(otfCreateDate); sb.append(otfCreateDate);
sb.append(", emailPending="); sb.append(", emailPending=");
sb.append(emailPending); sb.append(emailPending);
sb.append(", numeroBollettino=");
sb.append(numeroBollettino);
sb.append(", oldPagamentoId="); sb.append(", oldPagamentoId=");
sb.append(oldPagamentoId); sb.append(oldPagamentoId);
sb.append("}"); sb.append("}");
@ -220,6 +222,14 @@ public class PagamentoCacheModel implements CacheModel<Pagamento>,
} }
pagamentoImpl.setEmailPending(emailPending); pagamentoImpl.setEmailPending(emailPending);
if (numeroBollettino == null) {
pagamentoImpl.setNumeroBollettino(StringPool.BLANK);
}
else {
pagamentoImpl.setNumeroBollettino(numeroBollettino);
}
pagamentoImpl.setOldPagamentoId(oldPagamentoId); pagamentoImpl.setOldPagamentoId(oldPagamentoId);
pagamentoImpl.resetOriginalValues(); pagamentoImpl.resetOriginalValues();
@ -254,6 +264,7 @@ public class PagamentoCacheModel implements CacheModel<Pagamento>,
otf = objectInput.readBoolean(); otf = objectInput.readBoolean();
otfCreateDate = objectInput.readLong(); otfCreateDate = objectInput.readLong();
emailPending = objectInput.readBoolean(); emailPending = objectInput.readBoolean();
numeroBollettino = objectInput.readUTF();
oldPagamentoId = objectInput.readLong(); oldPagamentoId = objectInput.readLong();
} }
@ -360,6 +371,14 @@ public class PagamentoCacheModel implements CacheModel<Pagamento>,
objectOutput.writeBoolean(otf); objectOutput.writeBoolean(otf);
objectOutput.writeLong(otfCreateDate); objectOutput.writeLong(otfCreateDate);
objectOutput.writeBoolean(emailPending); objectOutput.writeBoolean(emailPending);
if (numeroBollettino == null) {
objectOutput.writeUTF(StringPool.BLANK);
}
else {
objectOutput.writeUTF(numeroBollettino);
}
objectOutput.writeLong(oldPagamentoId); objectOutput.writeLong(oldPagamentoId);
} }
@ -388,5 +407,6 @@ public class PagamentoCacheModel implements CacheModel<Pagamento>,
public boolean otf; public boolean otf;
public long otfCreateDate; public long otfCreateDate;
public boolean emailPending; public boolean emailPending;
public String numeroBollettino;
public long oldPagamentoId; public long oldPagamentoId;
} }

47
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<Pagamento>
{ "otf", Types.BOOLEAN }, { "otf", Types.BOOLEAN },
{ "otfCreateDate", Types.TIMESTAMP }, { "otfCreateDate", Types.TIMESTAMP },
{ "emailPending", Types.BOOLEAN }, { "emailPending", Types.BOOLEAN },
{ "numeroBollettino", Types.VARCHAR },
{ "oldPagamentoId", Types.BIGINT } { "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 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_JPQL = " ORDER BY pagamento.pagamentoId ASC";
public static final String ORDER_BY_SQL = " ORDER BY portos_bo_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<Pagamento>
model.setOtf(soapModel.getOtf()); model.setOtf(soapModel.getOtf());
model.setOtfCreateDate(soapModel.getOtfCreateDate()); model.setOtfCreateDate(soapModel.getOtfCreateDate());
model.setEmailPending(soapModel.getEmailPending()); model.setEmailPending(soapModel.getEmailPending());
model.setNumeroBollettino(soapModel.getNumeroBollettino());
model.setOldPagamentoId(soapModel.getOldPagamentoId()); model.setOldPagamentoId(soapModel.getOldPagamentoId());
return model; return model;
@ -250,6 +252,7 @@ public class PagamentoModelImpl extends BaseModelImpl<Pagamento>
attributes.put("otf", getOtf()); attributes.put("otf", getOtf());
attributes.put("otfCreateDate", getOtfCreateDate()); attributes.put("otfCreateDate", getOtfCreateDate());
attributes.put("emailPending", getEmailPending()); attributes.put("emailPending", getEmailPending());
attributes.put("numeroBollettino", getNumeroBollettino());
attributes.put("oldPagamentoId", getOldPagamentoId()); attributes.put("oldPagamentoId", getOldPagamentoId());
return attributes; return attributes;
@ -409,6 +412,12 @@ public class PagamentoModelImpl extends BaseModelImpl<Pagamento>
setEmailPending(emailPending); setEmailPending(emailPending);
} }
String numeroBollettino = (String)attributes.get("numeroBollettino");
if (numeroBollettino != null) {
setNumeroBollettino(numeroBollettino);
}
Long oldPagamentoId = (Long)attributes.get("oldPagamentoId"); Long oldPagamentoId = (Long)attributes.get("oldPagamentoId");
if (oldPagamentoId != null) { if (oldPagamentoId != null) {
@ -869,6 +878,22 @@ public class PagamentoModelImpl extends BaseModelImpl<Pagamento>
return _originalEmailPending; 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 @JSON
@Override @Override
public long getOldPagamentoId() { public long getOldPagamentoId() {
@ -954,6 +979,7 @@ public class PagamentoModelImpl extends BaseModelImpl<Pagamento>
pagamentoImpl.setOtf(getOtf()); pagamentoImpl.setOtf(getOtf());
pagamentoImpl.setOtfCreateDate(getOtfCreateDate()); pagamentoImpl.setOtfCreateDate(getOtfCreateDate());
pagamentoImpl.setEmailPending(getEmailPending()); pagamentoImpl.setEmailPending(getEmailPending());
pagamentoImpl.setNumeroBollettino(getNumeroBollettino());
pagamentoImpl.setOldPagamentoId(getOldPagamentoId()); pagamentoImpl.setOldPagamentoId(getOldPagamentoId());
pagamentoImpl.resetOriginalValues(); pagamentoImpl.resetOriginalValues();
@ -1191,6 +1217,14 @@ public class PagamentoModelImpl extends BaseModelImpl<Pagamento>
pagamentoCacheModel.emailPending = getEmailPending(); pagamentoCacheModel.emailPending = getEmailPending();
pagamentoCacheModel.numeroBollettino = getNumeroBollettino();
String numeroBollettino = pagamentoCacheModel.numeroBollettino;
if ((numeroBollettino != null) && (numeroBollettino.length() == 0)) {
pagamentoCacheModel.numeroBollettino = null;
}
pagamentoCacheModel.oldPagamentoId = getOldPagamentoId(); pagamentoCacheModel.oldPagamentoId = getOldPagamentoId();
return pagamentoCacheModel; return pagamentoCacheModel;
@ -1198,7 +1232,7 @@ public class PagamentoModelImpl extends BaseModelImpl<Pagamento>
@Override @Override
public String toString() { public String toString() {
StringBundler sb = new StringBundler(53); StringBundler sb = new StringBundler(55);
sb.append("{uuid="); sb.append("{uuid=");
sb.append(getUuid()); sb.append(getUuid());
@ -1250,6 +1284,8 @@ public class PagamentoModelImpl extends BaseModelImpl<Pagamento>
sb.append(getOtfCreateDate()); sb.append(getOtfCreateDate());
sb.append(", emailPending="); sb.append(", emailPending=");
sb.append(getEmailPending()); sb.append(getEmailPending());
sb.append(", numeroBollettino=");
sb.append(getNumeroBollettino());
sb.append(", oldPagamentoId="); sb.append(", oldPagamentoId=");
sb.append(getOldPagamentoId()); sb.append(getOldPagamentoId());
sb.append("}"); sb.append("}");
@ -1259,7 +1295,7 @@ public class PagamentoModelImpl extends BaseModelImpl<Pagamento>
@Override @Override
public String toXmlString() { public String toXmlString() {
StringBundler sb = new StringBundler(82); StringBundler sb = new StringBundler(85);
sb.append("<model><model-name>"); sb.append("<model><model-name>");
sb.append("it.tref.liferay.portos.bo.model.Pagamento"); sb.append("it.tref.liferay.portos.bo.model.Pagamento");
@ -1365,6 +1401,10 @@ public class PagamentoModelImpl extends BaseModelImpl<Pagamento>
"<column><column-name>emailPending</column-name><column-value><![CDATA["); "<column><column-name>emailPending</column-name><column-value><![CDATA[");
sb.append(getEmailPending()); sb.append(getEmailPending());
sb.append("]]></column-value></column>"); sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>numeroBollettino</column-name><column-value><![CDATA[");
sb.append(getNumeroBollettino());
sb.append("]]></column-value></column>");
sb.append( sb.append(
"<column><column-name>oldPagamentoId</column-name><column-value><![CDATA["); "<column><column-name>oldPagamentoId</column-name><column-value><![CDATA[");
sb.append(getOldPagamentoId()); sb.append(getOldPagamentoId());
@ -1419,6 +1459,7 @@ public class PagamentoModelImpl extends BaseModelImpl<Pagamento>
private boolean _emailPending; private boolean _emailPending;
private boolean _originalEmailPending; private boolean _originalEmailPending;
private boolean _setOriginalEmailPending; private boolean _setOriginalEmailPending;
private String _numeroBollettino;
private long _oldPagamentoId; private long _oldPagamentoId;
private long _originalOldPagamentoId; private long _originalOldPagamentoId;
private boolean _setOriginalOldPagamentoId; private boolean _setOriginalOldPagamentoId;

1
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 {
} }
} }
} }
} }

22
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; 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.model.Avviso;
import it.tref.liferay.portos.bo.service.AvvisoLocalServiceUtil; import it.tref.liferay.portos.bo.service.AvvisoLocalServiceUtil;
import it.tref.liferay.portos.bo.util.AvvisoUtil; 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.Lock;
import java.util.concurrent.locks.ReentrantLock; 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 { public class SchedulerGeneraProtocollo implements MessageListener {
private static final Log _log = LogFactoryUtil.getLog(SchedulerGeneraProtocollo.class); private static final Log _log = LogFactoryUtil.getLog(SchedulerGeneraProtocollo.class);

7
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"; _methodName227 = "updatePagamentoManuale";
_methodParameterTypes227 = new String[] { _methodParameterTypes227 = new String[] {
"long", "byte[][]", "java.lang.String", "long", "java.lang.String", "byte[][]", "java.lang.String",
"com.liferay.portal.service.ServiceContext" "com.liferay.portal.service.ServiceContext"
}; };
@ -667,8 +667,9 @@ public class PagamentoLocalServiceClpInvoker {
if (_methodName227.equals(name) && if (_methodName227.equals(name) &&
Arrays.deepEquals(_methodParameterTypes227, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes227, parameterTypes)) {
PagamentoLocalServiceUtil.updatePagamentoManuale(((Long)arguments[0]).longValue(), PagamentoLocalServiceUtil.updatePagamentoManuale(((Long)arguments[0]).longValue(),
(byte[])arguments[1], (java.lang.String)arguments[2], (java.lang.String)arguments[1], (byte[])arguments[2],
(com.liferay.portal.service.ServiceContext)arguments[3]); (java.lang.String)arguments[3],
(com.liferay.portal.service.ServiceContext)arguments[4]);
return null; return null;
} }

5
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"; _methodName172 = "updatePagamentoManuale";
_methodParameterTypes172 = new String[] { _methodParameterTypes172 = new String[] {
"long", "byte[][]", "java.lang.String", "long", "byte[][]", "java.lang.String", "java.lang.String",
"com.liferay.portal.service.ServiceContext" "com.liferay.portal.service.ServiceContext"
}; };
} }
@ -58,7 +58,8 @@ public class PagamentoServiceClpInvoker {
Arrays.deepEquals(_methodParameterTypes172, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes172, parameterTypes)) {
PagamentoServiceUtil.updatePagamentoManuale(((Long)arguments[0]).longValue(), PagamentoServiceUtil.updatePagamentoManuale(((Long)arguments[0]).longValue(),
(byte[])arguments[1], (java.lang.String)arguments[2], (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; return null;
} }

4
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 class PagamentoServiceSoap {
public static void updatePagamentoManuale(long pagamentoId, byte[] content, 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) com.liferay.portal.service.ServiceContext serviceContext)
throws RemoteException { throws RemoteException {
try { try {
PagamentoServiceUtil.updatePagamentoManuale(pagamentoId, content, PagamentoServiceUtil.updatePagamentoManuale(pagamentoId, content,
sourceFileName, serviceContext); numeroBollettino, sourceFileName, serviceContext);
} }
catch (Exception e) { catch (Exception e) {
_log.error(e, e); _log.error(e, e);

4
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 { } else {
ambito = LanguageUtil.get(Locale.ITALIAN, "label-ambito-" + ambito); ambito = LanguageUtil.get(Locale.ITALIAN, "label-ambito-" + ambito);
} }
String name = soggetto.getNome();
String html = buffer.toString().replaceAll("##anteprima(.*?)##", anteprima ? StringPool.BLANK : "$1") String html = buffer.toString().replaceAll("##anteprima(.*?)##", anteprima ? StringPool.BLANK : "$1")
.replaceAll("##lavoripubblici(.*?)##", dettPratica.getLavoriPubblici() ? StringPool.BLANK : "$1") .replaceAll("##lavoripubblici(.*?)##", dettPratica.getLavoriPubblici() ? StringPool.BLANK : "$1")
.replace("{{agalto}}", agAlto ? CHECKED : StringPool.SPACE) .replace("{{agalto}}", agAlto ? CHECKED : StringPool.SPACE)
@ -233,7 +234,8 @@ public class AsseverazioneLocalServiceImpl extends AsseverazioneLocalServiceBase
.replace("{{codicefiscale}}", soggetto.getCodiceFiscale()) .replace("{{codicefiscale}}", soggetto.getCodiceFiscale())
.replace("{{cognome}}", soggetto.getCognome()) .replace("{{cognome}}", soggetto.getCognome())
.replace("{{complesse}}", complesse ? CHECKED : StringPool.SPACE) .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("{{rilevanti}}", rilevanti ? CHECKED : StringPool.SPACE)
.replace("{{nonrilevanti}}", nonRilevanti ? CHECKED : StringPool.SPACE) .replace("{{nonrilevanti}}", nonRilevanti ? CHECKED : StringPool.SPACE)
.replace("{{riparazioni}}", riparazioni ? CHECKED : StringPool.SPACE) .replace("{{riparazioni}}", riparazioni ? CHECKED : StringPool.SPACE)

3
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 @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 { ServiceContext serviceContext) throws IOException, PortalException, SystemException {
Pagamento pagamento = getPagamento(pagamentoId); Pagamento pagamento = getPagamento(pagamentoId);
@ -471,6 +471,7 @@ public class PagamentoLocalServiceImpl extends PagamentoLocalServiceBaseImpl {
changeLog, content, serviceContext); changeLog, content, serviceContext);
fileEntryId = fileEntry.getFileEntryId(); fileEntryId = fileEntry.getFileEntryId();
pagamento.setFileEntryId(fileEntryId); pagamento.setFileEntryId(fileEntryId);
pagamento.setNumeroBollettino(numeroBollettino);
pagamento = updatePagamento(pagamento); pagamento = updatePagamento(pagamento);
if (DettPratica.class.getName().equals(pagamento.getClassName())) { if (DettPratica.class.getName().equals(pagamento.getClassName())) {
dettPraticaLocalService.updateEsitoPagamento(pagamentoId, pagamento.getClassPk(), fileEntryId, dettPraticaLocalService.updateEsitoPagamento(pagamentoId, pagamento.getClassPk(), fileEntryId,

4
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 @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 { ServiceContext serviceContext) throws IOException, PortalException, SystemException {
Pagamento pagamento = pagamentoLocalService.getPagamento(pagamentoId); Pagamento pagamento = pagamentoLocalService.getPagamento(pagamentoId);
long userId = findTitolare(pagamentoId); long userId = findTitolare(pagamentoId);
if (getUserId() == userId || DelegheUtil.hasDelegaPagamento(getUser(), getUserId(), pagamento.getClassPk())) { if (getUserId() == userId || DelegheUtil.hasDelegaPagamento(getUser(), getUserId(), pagamento.getClassPk())) {
pagamentoLocalService.updatePagamentoManuale(pagamentoId, content, sourceFileName, serviceContext); pagamentoLocalService.updatePagamentoManuale(pagamentoId, numeroBollettino, content, sourceFileName, serviceContext);
} else { } else {
throw new SystemException("pagamento manuale aggiornabile solo da titolare digitale del " throw new SystemException("pagamento manuale aggiornabile solo da titolare digitale del "
+ pagamento.getClassName()); + pagamento.getClassName());

1
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<Pagamento>
pagamentoImpl.setOtf(pagamento.isOtf()); pagamentoImpl.setOtf(pagamento.isOtf());
pagamentoImpl.setOtfCreateDate(pagamento.getOtfCreateDate()); pagamentoImpl.setOtfCreateDate(pagamento.getOtfCreateDate());
pagamentoImpl.setEmailPending(pagamento.isEmailPending()); pagamentoImpl.setEmailPending(pagamento.isEmailPending());
pagamentoImpl.setNumeroBollettino(pagamento.getNumeroBollettino());
pagamentoImpl.setOldPagamentoId(pagamento.getOldPagamentoId()); pagamentoImpl.setOldPagamentoId(pagamento.getOldPagamentoId());
return pagamentoImpl; return pagamentoImpl;

8
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/resource/asseverazioni/geologo.html

@ -1,13 +1,13 @@
<p> <p>
DPR 380/2001, Capitolo 6<br/> NTC D.M. 17.01.2018, Capitolo 6<br/>
Legge 190/2012, art. 1, comma 9 lettera “e”<br/> Legge 190/2012, art. 1, comma 9 lettera “e”<br/>
Legge Regionale 1/2019, art. 36 comma 2<br/> Legge Regionale 23/2021, art. 31 comma 2<br/>
D. Lgs. 101/2018 D. Lgs. 101/2018
</p> </p>
<h1 class="text-center">ASSEVERAZIONE DEL GEOLOGO</h1> <h1 class="text-center">ASSEVERAZIONE DEL GEOLOGO</h1>
<p class="text-center">(resa ai sensi del D.P.R. n° 445 del 28.12.2000 e ss.mm.ii.)</p> <p class="text-center">(resa ai sensi del D.P.R. n° 445 del 28.12.2000 e ss.mm.ii.)</p>
<p> <p>
Il sottoscritto <b>{{nome}} {{cognome}}</b>, C.F. <b>{{codicefiscale}}</b>, tecnico incaricato per l’esecuzione delle indagini per la Il sottoscritto <b>{{nome}} {{cognome}}</b> C.F. <b>{{codicefiscale}}</b> tecnico incaricato per l’esecuzione delle indagini per la
caratterizzazione e la modellazione geologica del sito, consapevole delle sanzioni civili e penali previste dalla caratterizzazione e la modellazione geologica del sito, consapevole delle sanzioni civili e penali previste dalla
normativa vigente a seguito di dichiarazioni mendaci, dichiara: normativa vigente a seguito di dichiarazioni mendaci, dichiara:
</p> </p>
@ -39,7 +39,7 @@
## ##
##lavoripubblici ##lavoripubblici
<li> <li>
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; regolarmente liquidate dal committente secondo quanto concordato in sede di affidamento dell'incarico;
</li> </li>
## ##

134
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:input name='<%= "confirmClose_" + randomId %>' type="hidden" value="false" />
<div id='<%=renderResponse.getNamespace() + "saveAndCloseModal_" + randomId %>' class="confirmModal"></div>
<div class='customAlert'>
<p class='message'></p>
<input type='button' class='confirmButton' value='CHIUDI'>
</div>
<liferay-portlet:resourceURL var="resourceURL" id="controllaExtraInfo" copyCurrentRenderParameters="false" />
<aui:script >
AUI().ready('aui-modal', 'aui-io-request', 'aui-form-validator', function(A) {
var modal = new A.Modal({
bodyContent: A.one('#<portlet:namespace /><%=contentDiv%>'),
width: <%= width %>,
<%
if (!height.equals(StringPool.BLANK)) {
%>
height: <%= height %>,
<%
}
%>
centered: true,
destroyOnHide: false,
headerContent: '<h3 class="text-center"><%= titolo %></h3>',
modal: true,
render: '#<portlet:namespace />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.<portlet:namespace /><%= formName %>);
var formValidator = Liferay.Form.get('<portlet:namespace /><%= formName %>')
.formValidator;
<%
if (externalForm) {
%>
if (!formValidator.hasErrors()) {
A.one('#<portlet:namespace />confirmClose_<%= randomId %>')
.set('value', 'true');
} else {
alert("Attenzione!\nCampi richiesti non compilati correttamente");
}
modal.hide();
<%
} else {
%>
if (!formValidator.hasErrors()) {
modal.hide();
A.one('#<portlet:namespace />confirmClose_<%= randomId %>')
.set('value', 'true');
}
<%
}
%>
<%
}
%>
}
}
}
<%
}
%>
]
);
<%
}
%>
A.one('#<portlet:namespace /><%= buttonId %>').on('click', function() {
A.one('#<portlet:namespace /><%=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);
});
});
});
</aui:script>

34
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/pagamenti/view.jsp

@ -79,7 +79,39 @@
%> %>
</c:if> </c:if>
</liferay-ui:search-container-column-text> </liferay-ui:search-container-column-text>
<liferay-ui:search-container-column-text>
<div>
<%
String buttonFormId = "pagamentoFormButton_" + index;
String contentFormId = "pagamentoFormContent_" + index;
String formNameBollettino = "fmPagamenti_" + index;
%>
<liferay-ui:icon-menu showWhenSingleIcon="false" extended="false" showExpanded="true"
cssClass="inline_toolbar">
<liferay-ui:icon id="<%= buttonFormId %>" iconCssClass="fa fa-edit" message=""
url="javascript:void(0)" linkCssClass="btn btn-action" />
</liferay-ui:icon-menu>
<div id="<portlet:namespace /><%= contentFormId %>" class="hide" >
<liferay-util:include page="/html/pagamenti/view_panel_form_bollettino.jsp"
servletContext='<%= application %>'>
<liferay-util:param name="idPagamento"
value="<%= String.valueOf(pagamento.getPagamentoId()) %>" />
<liferay-util:param name="dettPraticaId"
value="<%= String.valueOf(pagamento.getClassPk()) %>" />
<liferay-util:param name="formName" value="<%= formNameBollettino %>" />
</liferay-util:include>
</div>
<liferay-util:include page="/html/common/submit_form_window.jsp"
servletContext="<%= application %>">
<liferay-util:param name="titolo" value="Modifica Pagamento" />
<liferay-util:param name="buttonId" value="<%= buttonFormId %>" />
<liferay-util:param name="contentDiv" value="<%= contentFormId %>" />
<liferay-util:param name="width" value="750" />
<liferay-util:param name="formName" value="<%= formNameBollettino %>" />
<liferay-util:param name="buttonBar" value="true" />
</liferay-util:include>
<div>
</liferay-ui:search-container-column-text>
<liferay-ui:search-container-column-text> <liferay-ui:search-container-column-text>
<% <%
String[] notAllowed = new String[]{}; String[] notAllowed = new String[]{};

44
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";
%>
<c:if test="<%= Validator.isNotNull(objPagamento) %>">
<div class="col-sm-12 col-md-12">
<%-- <liferay-portlet:actionURL name="setBollettinoImposta" var="setBollettinoImpostaURL">
<liferay-portlet:param name="idPagamento" value="<%=String.valueOf(idPagamento) %>"/>
<liferay-portlet:param name="dettPraticaId" value="<%=String.valueOf(dettPraticaId) %>"/>
<liferay-portlet:param name="redirect" value="<%= redirect %>" />
<liferay-portlet:param name="mvcPath" value="/html/pagamenti/view_panel_form_bollettino.jsp"/>
</liferay-portlet:actionURL> --%>
<aui:form name="<%= formName %>" method="post" action="">
<aui:input name="numeroBollettino" type="textarea"
label="label-codice-bollettino" value="<%= objPagamento.getNumeroBollettino() %>">
<aui:validator name="maxLength" errorMessage="errore-lenght-bollettino">250</aui:validator>
<aui:validator name="required" errorMessage="Campo Richiesto" />
</aui:input>
</aui:form>
</div>
</c:if>

11
liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/.project

@ -33,15 +33,4 @@
<nature>org.eclipse.jdt.core.javanature</nature> <nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.wst.jsdt.core.jsNature</nature> <nature>org.eclipse.wst.jsdt.core.jsNature</nature>
</natures> </natures>
<filteredResources>
<filter>
<id>1672831492473</id>
<name></name>
<type>30</type>
<matcher>
<id>org.eclipse.core.resources.regexFilterMatcher</id>
<arguments>node_modules|\.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__</arguments>
</matcher>
</filter>
</filteredResources>
</projectDescription> </projectDescription>

5
liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/.settings/org.eclipse.jdt.core.prefs

@ -1,12 +1,7 @@
eclipse.preferences.version=1 eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 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.targetPlatform=1.7
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
org.eclipse.jdt.core.compiler.compliance=1.7 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.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.source=1.7 org.eclipse.jdt.core.compiler.source=1.7

3
liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/.settings/org.eclipse.wst.common.component

@ -5,9 +5,6 @@
<dependent-module archiveName="portos-bo-portlet-service.jar" deploy-path="/WEB-INF/lib" handle="module:/classpath/lib/portos-bo-portlet/docroot/WEB-INF/lib/portos-bo-portlet-service.jar"> <dependent-module archiveName="portos-bo-portlet-service.jar" deploy-path="/WEB-INF/lib" handle="module:/classpath/lib/portos-bo-portlet/docroot/WEB-INF/lib/portos-bo-portlet-service.jar">
<dependency-type>uses</dependency-type> <dependency-type>uses</dependency-type>
</dependent-module> </dependent-module>
<dependent-module archiveName="hms-taglib-hook-service.jar" deploy-path="/WEB-INF/lib" handle="module:/classpath/lib/hms-taglib-hook/docroot/WEB-INF/lib/hms-taglib-hook-service.jar">
<dependency-type>uses</dependency-type>
</dependent-module>
<property name="context-root" value="portos-fe-portlet"/> <property name="context-root" value="portos-fe-portlet"/>
<property name="java-output-path" value="/portos-fe-portlet/docroot/WEB-INF/classes"/> <property name="java-output-path" value="/portos-fe-portlet/docroot/WEB-INF/classes"/>
</wb-module> </wb-module>

10
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); UploadPortletRequest uploadRequest = PortalUtil.getUploadPortletRequest(request);
ServiceContext serviceContext = ServiceContextFactory.getInstance(uploadRequest); ServiceContext serviceContext = ServiceContextFactory.getInstance(uploadRequest);
long pagamentoId = ParamUtil.getLong(uploadRequest, "pagamentoId"); 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"); String sourceFileName = uploadRequest.getFileName("docFile");
File file = uploadRequest.getFile("docFile"); File file = uploadRequest.getFile("docFile");
if (Validator.isNotNull(sourceFileName) && file != null) { if (Validator.isNotNull(sourceFileName) && file != null) {
@ -2291,7 +2299,7 @@ public class FascicoloFePortlet extends MVCPortlet {
PortalUtil.copyRequestParameters(request, response); PortalUtil.copyRequestParameters(request, response);
} else { } else {
byte[] content = FileUtil.getBytes(file); byte[] content = FileUtil.getBytes(file);
PagamentoServiceUtil.updatePagamentoManuale(pagamentoId, content, sourceFileName, serviceContext); PagamentoServiceUtil.updatePagamentoManuale(pagamentoId, content, numeroBollettino, sourceFileName, serviceContext);
} }
} catch (Exception e) { } catch (Exception e) {
PortalUtil.copyRequestParameters(request, response); PortalUtil.copyRequestParameters(request, response);

4
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 contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@page import="it.tref.liferay.portos.bo.service.DettPraticaLocalServiceUtil"%> <%@page import="it.tref.liferay.portos.bo.service.DettPraticaLocalServiceUtil"%>
@ -72,6 +74,7 @@ String random = StringUtil.randomId().toString();
</aui:script> </aui:script>
</span> </span>
<span class="tooltip-info" title="Carica asseverazione"> <span class="tooltip-info" title="Carica asseverazione">
<c:if test='<%=asseverazione.getTipologia().equals(TipoSoggettoUtil.DITTA) %>'>
<c:if test='<%= comingFrom.equals("verify") %>'> <c:if test='<%= comingFrom.equals("verify") %>'>
<liferay-portlet:renderURL var="caricaFileAsseverazioneURL"> <liferay-portlet:renderURL var="caricaFileAsseverazioneURL">
<liferay-portlet:param name="asseverazioneId" value="<%= String.valueOf(asseverazione.getAsseverazioneId()) %>" /> <liferay-portlet:param name="asseverazioneId" value="<%= String.valueOf(asseverazione.getAsseverazioneId()) %>" />
@ -100,6 +103,7 @@ String random = StringUtil.randomId().toString();
<liferay-ui:icon iconCssClass="fa fa-upload" url="<%=caricaFileAsseverazioneURL%>" linkCssClass="btn btn-action btn-primary" <liferay-ui:icon iconCssClass="fa fa-upload" url="<%=caricaFileAsseverazioneURL%>" linkCssClass="btn btn-action btn-primary"
useDialog="true" data="<%= dataMap %>"/> useDialog="true" data="<%= dataMap %>"/>
</c:if> </c:if>
</c:if>
</span> </span>
</c:if> </c:if>

2
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); boolean hasAsseverazioneAttiva = AsseverazioniUtil.hasAsseverazioneAttiva(user.getUserId(), intPraticaId);
%> %>
<div class="pull-right"> <div class="pull-right">
<aui:input type="hidden" name="cmd" value="" /> <aui:input type="hidden" name="<%=Constants.CMD %>" value="" />
<aui:input type="hidden" name="verifyArea" value="" /> <aui:input type="hidden" name="verifyArea" value="" />
<liferay-ui:icon-menu showWhenSingleIcon="false" extended="false" showExpanded="true" cssClass="inline_toolbar"> <liferay-ui:icon-menu showWhenSingleIcon="false" extended="false" showExpanded="true" cssClass="inline_toolbar">
<c:if test="<%= !TipoIntegrazioneUtil.VARIAZIONE_SOGGETTO.equals(tipoIntegrazione) %>"> <c:if test="<%= !TipoIntegrazioneUtil.VARIAZIONE_SOGGETTO.equals(tipoIntegrazione) %>">

4
liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/verify-payment-guide.jsp

@ -1,8 +1,8 @@
<p><span style="font-size:11pt;">Il pagamento dei &ldquo;Diritti Fissi&rdquo; potr&agrave; essere effettuato solo tramite la piattaforma regionale&nbsp;</span><a href="https://pagamenti.regione.sicilia.it/static/"><u><span style="color:#1155cc;font-size:11pt;">https://pagamenti.regione.sicilia.it/static/</span></u></a><span style="font-size:11pt;">.</span></p> <p><span style="font-size:11pt;">Il pagamento dei &ldquo;Diritti Fissi&rdquo; potr&agrave; essere effettuato solo tramite la piattaforma regionale&nbsp;</span><a href="https://pagamenti.regione.sicilia.it/static/" target="_blank"><u><span style="color:#1155cc;font-size:11pt;">https://pagamenti.regione.sicilia.it/static/</span></u></a><span style="font-size:11pt;">.</span></p>
<p><span style="font-size:11pt;">Per effettuare il pagamento seguire i seguenti step:</span></p> <p><span style="font-size:11pt;">Per effettuare il pagamento seguire i seguenti step:</span></p>
<ol> <ol>
<li style="list-style-type:decimal;font-size:11pt;"> <li style="list-style-type:decimal;font-size:11pt;">
<p><span style="font-size:11pt;">connettersi alla piattaforma&nbsp;</span><a href="https://pagamenti.regione.sicilia.it/static/"><u><span style="color:#1155cc;font-size:11pt;">https://pagamenti.regione.sicilia.it/static/</span></u></a></p> <p><span style="font-size:11pt;">connettersi alla piattaforma&nbsp;</span><a href="https://pagamenti.regione.sicilia.it/static/" target="_blank"><u><span style="color:#1155cc;font-size:11pt;">https://pagamenti.regione.sicilia.it/static/</span></u></a></p>
</li> </li>
<li style="list-style-type:decimal;font-size:11pt;"> <li style="list-style-type:decimal;font-size:11pt;">
<p><span style="font-size:11pt;">Selezionare il pulsante &ldquo;accedi al servizio&rdquo;</span></p> <p><span style="font-size:11pt;">Selezionare il pulsante &ldquo;accedi al servizio&rdquo;</span></p>

14
liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/verify_fascicolo_calcolo.jsp

@ -71,6 +71,8 @@
<liferay-ui:error key="error.geniocivilefe.pagamento.allegato.ext.valid" message="error.geniocivilefe.pagamento.allegato.ext.valid"></liferay-ui:error> <liferay-ui:error key="error.geniocivilefe.pagamento.allegato.ext.valid" message="error.geniocivilefe.pagamento.allegato.ext.valid"></liferay-ui:error>
<liferay-ui:error key="error.geniocivilefe.pagamento.allegato.length.valid" message="error.geniocivilefe.pagamento.allegato.length.valid"></liferay-ui:error> <liferay-ui:error key="error.geniocivilefe.pagamento.allegato.length.valid" message="error.geniocivilefe.pagamento.allegato.length.valid"></liferay-ui:error>
<liferay-ui:error key="error.geniocivilefe.pagamento.allegato.is.request" message="error.geniocivilefe.pagamento.allegato.is.request"></liferay-ui:error> <liferay-ui:error key="error.geniocivilefe.pagamento.allegato.is.request" message="error.geniocivilefe.pagamento.allegato.is.request"></liferay-ui:error>
<liferay-ui:error key="error.geniocivilefe.pagamento.bollettino" message="error.geniocivilefe.pagamento.bollettino"></liferay-ui:error>
<liferay-portlet:renderURL var="verifyURL" windowState="<%=LiferayWindowState.POP_UP.toString()%>"> <liferay-portlet:renderURL var="verifyURL" windowState="<%=LiferayWindowState.POP_UP.toString()%>">
<liferay-portlet:param name="mvcPath" value="/html/fascicolofe/verify_fascicolo.jsp" /> <liferay-portlet:param name="mvcPath" value="/html/fascicolofe/verify_fascicolo.jsp" />
<liferay-portlet:param name="intPraticaId" value="<%=String.valueOf(intPraticaId)%>" /> <liferay-portlet:param name="intPraticaId" value="<%=String.valueOf(intPraticaId)%>" />
@ -152,6 +154,7 @@
<aui:validator name="required" errorMessage="File Richiesto" /> <aui:validator name="required" errorMessage="File Richiesto" />
<aui:validator name="acceptFiles" errorMessage="Errore... Formati supportati: pdf,p7m">'p7m,pdf'</aui:validator> <aui:validator name="acceptFiles" errorMessage="Errore... Formati supportati: pdf,p7m">'p7m,pdf'</aui:validator>
</aui:input> </aui:input>
<aui:input type="hidden" name="numeroHBollettino" value="<%=StringPool.QUESTION%>"/>
</div> </div>
<aui:button-row> <aui:button-row>
@ -197,13 +200,17 @@
<c:if <c:if
test="<%= pagamentoBolli.getMezzo().equalsIgnoreCase(PagamentoConstants.MEZZO_MANUALE)%>"> test="<%= pagamentoBolli.getMezzo().equalsIgnoreCase(PagamentoConstants.MEZZO_MANUALE)%>">
<div class="col-xs-10 col-sm-10 col-md-10 col-lg-10 padding_15"> <div class="col-xs-8 col-sm-8 col-md-8 col-lg-8 padding_15">
<span><%=LanguageUtil.get(pageContext, "text-pagamento-manuale-bolli")%></span> <span><%=LanguageUtil.get(pageContext, "text-pagamento-manuale-bolli")%></span>
</div> </div>
<div class="col-xs-2 col-sm-2 col-md-2 col-lg-2 padding_15 total-row"> <div class="col-xs-4 col-sm-4 col-md-4 col-lg-4 padding_15 total-row">
<aui:form name="<%=formRicevutaPagamento%>" enctype="multipart/form-data" method="post" <aui:form name="<%=formRicevutaPagamento%>" enctype="multipart/form-data" method="post"
action="<%=allegatoFilePagamentoURL%>"> action="<%=allegatoFilePagamentoURL%>">
<div> <div>
<aui:input label="numero-bollettino" name="numeroBollettino" type="textarea" >
<aui:validator name="maxLength" errorMessage="errore-lenght-bollettino">250</aui:validator>
<aui:validator name="required" errorMessage="Campo Richiesto" />
</aui:input>
<aui:input type="file" name="docFile" label="Ricevuta Pagamento"> <aui:input type="file" name="docFile" label="Ricevuta Pagamento">
<aui:validator name="required" errorMessage="File Richiesto" /> <aui:validator name="required" errorMessage="File Richiesto" />
<aui:validator name="acceptFiles" errorMessage="Errore... Formati supportati: pdf,p7m">'p7m,pdf'</aui:validator> <aui:validator name="acceptFiles" errorMessage="Errore... Formati supportati: pdf,p7m">'p7m,pdf'</aui:validator>
@ -376,6 +383,9 @@
<div class="total-row__label">Totale importo</div> <div class="total-row__label">Totale importo</div>
<% <%
String speseIstruttoria = Validator.isNull(pagamentoOneri) ? "0,00" : pagamentoOneri.getImporto(); String speseIstruttoria = Validator.isNull(pagamentoOneri) ? "0,00" : pagamentoOneri.getImporto();
if(speseIstruttoria.length() == 2){
speseIstruttoria = speseIstruttoria + ",00";
}
%> %>
<div id="<portlet:namespace/>importoIstruttoria" class="total-row__value"> <div id="<portlet:namespace/>importoIstruttoria" class="total-row__value">
<strong>&euro; <%=speseIstruttoria%></strong> <strong>&euro; <%=speseIstruttoria%></strong>

22
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"); long fineLavoriId = ParamUtil.getLong(request, "fineLavoriId");
IntPratica intPratica = IntPraticaLocalServiceUtil.getIntPratica(intPraticaId); IntPratica intPratica = IntPraticaLocalServiceUtil.getIntPratica(intPraticaId);
FineLavori fineLavori = FineLavoriServiceUtil.getFineLavori(fineLavoriId); FineLavori fineLavori = FineLavoriServiceUtil.getFineLavori(fineLavoriId);
String testoPagamento = (String) company.getExpandoBridge().getAttribute("testo_pagamento", false);
if (fineLavori == null) { if (fineLavori == null) {
fineLavori = FineLavoriServiceUtil.getLastEditable(intPraticaId); fineLavori = FineLavoriServiceUtil.getLastEditable(intPraticaId);
} }
@ -43,6 +44,8 @@ if (Validator.isNotNull(pagamento)) {
String formRicevutaPagamento = "fmRicevuta"; String formRicevutaPagamento = "fmRicevuta";
String currentCompleteUrl = PortalUtil.getCurrentCompleteURL(request); String currentCompleteUrl = PortalUtil.getCurrentCompleteURL(request);
%> %>
<liferay-ui:error key="error.geniocivilefe.pagamento.bollettino" message="error.geniocivilefe.pagamento.bollettino"></liferay-ui:error>
<liferay-portlet:renderURL var="verifyURL" windowState="<%= LiferayWindowState.POP_UP.toString() %>"> <liferay-portlet:renderURL var="verifyURL" windowState="<%= LiferayWindowState.POP_UP.toString() %>">
<liferay-portlet:param name="mvcPath" value="/html/fascicolofe/verify_fine-lavori.jsp"/> <liferay-portlet:param name="mvcPath" value="/html/fascicolofe/verify_fine-lavori.jsp"/>
<liferay-portlet:param name="intPraticaId" value="<%= String.valueOf(intPraticaId) %>"/> <liferay-portlet:param name="intPraticaId" value="<%= String.valueOf(intPraticaId) %>"/>
@ -109,15 +112,19 @@ String currentCompleteUrl = PortalUtil.getCurrentCompleteURL(request);
</liferay-portlet:actionURL> </liferay-portlet:actionURL>
<c:if test="<%= pagamento.getMezzo().equals( <c:if test="<%= pagamento.getMezzo().equals(
PagamentoConstants.MEZZO_MANUALE) %>"> PagamentoConstants.MEZZO_MANUALE) %>">
<div class="col-xs-10 padding_15"><span> <div class="col-xs-8 padding_15">
<%= LanguageUtil.get(pageContext, "text-pagamento-manuale-bolli") %> <span><%= testoPagamento %></span>
</span> <%-- <%= LanguageUtil.get(pageContext, "text-pagamento-manuale-bolli") %> --%>
</div> </div>
<div class="col-xs-2 padding_15 total-row"> <div class="col-xs-4 padding_15 total-row">
<aui:form name="<%= formRicevutaPagamento %>" <aui:form name="<%= formRicevutaPagamento %>"
enctype="multipart/form-data" method="post" enctype="multipart/form-data" method="post"
action="<%= allegatoFilePagamentoURL %>"> action="<%= allegatoFilePagamentoURL %>">
<div> <div>
<aui:input label="numero-bollettino" name="numeroBollettino" type="textarea" >
<aui:validator name="maxLength" errorMessage="errore-lenght-bollettino">250</aui:validator>
<aui:validator name="required" errorMessage="Campo Richiesto" />
</aui:input>
<aui:input type="file" name="docFile" <aui:input type="file" name="docFile"
label="Ricevuta Pagamento"> label="Ricevuta Pagamento">
<aui:validator name="required" <aui:validator name="required"
@ -167,11 +174,11 @@ String currentCompleteUrl = PortalUtil.getCurrentCompleteURL(request);
</liferay-portlet:actionURL> </liferay-portlet:actionURL>
<c:if test="<%= pagamentoSpese.getMezzo().equals( <c:if test="<%= pagamentoSpese.getMezzo().equals(
PagamentoConstants.MEZZO_MANUALE) %>"> PagamentoConstants.MEZZO_MANUALE) %>">
<div class="col-xs-10 padding_15"><span> <div class="col-xs-8 padding_15"><span>
<%= LanguageUtil.get(pageContext, "text-pagamento-manuale-oneri") %> <%= LanguageUtil.get(pageContext, "text-pagamento-manuale-oneri") %>
</span> </span>
</div> </div>
<div class="col-xs-2 padding_15 total-row"> <div class="col-xs-4 padding_15 total-row">
<aui:form name="<%= formRicevutaPagamento %>" <aui:form name="<%= formRicevutaPagamento %>"
enctype="multipart/form-data" method="post" enctype="multipart/form-data" method="post"
action="<%= allegatoFilePagamentoURL %>"> action="<%= allegatoFilePagamentoURL %>">
@ -183,6 +190,7 @@ String currentCompleteUrl = PortalUtil.getCurrentCompleteURL(request);
<aui:validator name="acceptFiles" <aui:validator name="acceptFiles"
errorMessage="Errore... Formati supportati: pdf,p7m">'p7m,pdf'</aui:validator> errorMessage="Errore... Formati supportati: pdf,p7m">'p7m,pdf'</aui:validator>
</aui:input> </aui:input>
<aui:input type="hidden" name="numeroHBollettino" value="<%=StringPool.QUESTION%>"/>
</div> </div>
<aui:button-row> <aui:button-row>
<aui:button type="submit" value="upload-file" /> <aui:button type="submit" value="upload-file" />
@ -350,7 +358,7 @@ String currentCompleteUrl = PortalUtil.getCurrentCompleteURL(request);
<div id='<%= renderResponse.getNamespace() + "saveAndCloseDiv" %>' class="hide" > <div id='<%= renderResponse.getNamespace() + "saveAndCloseDiv" %>' class="hide" >
<% <%
String paymentConfirmText = StringPool.BLANK; String paymentConfirmText = StringPool.BLANK;
paymentConfirmText = LanguageUtil.get(pageContext, "label-confirm-payment-manual"); paymentConfirmText = (String) company.getExpandoBridge().getAttribute("testo_pagamento_breve", false);
%> %>
<span style="min-height:70px"><%= paymentConfirmText %></span> <span style="min-height:70px"><%= paymentConfirmText %></span>
</div> </div>

52
template-asseverazione/geologo.html

@ -0,0 +1,52 @@
<p>
DPR 380/2001, Capitolo 6<br/>
Legge 190/2012, art. 1, comma 9 lettera “eâ€<EFBFBD><br/>
Legge Regionale 1/2019, art. 36 comma 2<br/>
D. Lgs. 101/2018
</p>
<h1 class="text-center">ASSEVERAZIONE DEL GEOLOGO</h1>
<p class="text-center">(resa ai sensi del D.P.R. n° 445 del 28.12.2000 e ss.mm.ii.)</p>
<p>
Il sottoscritto <b>{{nome}} {{cognome}}</b>, C.F. <b>{{codicefiscale}}</b>, 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:
</p>
<ul>
<li>
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;
</li>
<li>
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:<br/>
[<b>{{rischio}}</b>] 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;<br/>
[<b>{{!rischio}}</b>] 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;
</li>
##anteprima
<li>
ai sensi dell'art. 1, comma 9 lettera “eâ€<EFBFBD>, della legge n° 190/2012:<br/>
[<b>{{!coniugio}}</b>] 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;<br/>
[<b>{{coniugio}}</b>] di trovarsi in rapporti di coniugio, parentela o affinità entro il 2° grado con i seguenti
dipendenti dell'Ufficio del Genio Civile: {{relazioni}}
</li>
##
##lavoripubblici
<li>
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;
</li>
##
<li>
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.
</li>
</ul>
Caricamento…
Annulla
Salva