Sfoglia il codice sorgente

Aggiustamenti PagoPa

feature/asseverazioni-geologo
abianchi7701 10 mesi fa
parent
commit
d353c000ab
  1. BIN
      liferay-plugins-sdk-6.2/dist/portos-audit-shared-6.2.0.1.jar
  2. BIN
      liferay-plugins-sdk-6.2/dist/portos-kaleo-shared-6.2.0.1.jar
  3. BIN
      liferay-plugins-sdk-6.2/dist/portos-mail-manager-shared-6.2.0.1.jar
  4. BIN
      liferay-plugins-sdk-6.2/dist/portos-report-shared-6.2.0.1.jar
  5. BIN
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-audit-shared.jar
  6. BIN
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-bo-portlet-service.jar
  7. BIN
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-kaleo-shared.jar
  8. BIN
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-mail-manager-shared.jar
  9. BIN
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-report-shared.jar
  10. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/content/Portal.properties
  11. 22
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/scheduler/SchedulerGeneraProtocollo.java
  12. 4
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/service.properties
  13. BIN
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/WEB-INF/lib/portos-bo-portlet-service.jar
  14. BIN
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/WEB-INF/lib/portos-mail-manager-shared.jar
  15. BIN
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/WEB-INF/lib/portos-report-shared.jar
  16. 7
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/fe/portlet/FascicoloFePortlet.java
  17. 3
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/verify_fascicolo_calcolo.jsp
  18. 12
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/verify_fine-lavori_calcolo.jsp

BIN
liferay-plugins-sdk-6.2/dist/portos-audit-shared-6.2.0.1.jar vendored

File binario non mostrato.

BIN
liferay-plugins-sdk-6.2/dist/portos-kaleo-shared-6.2.0.1.jar vendored

File binario non mostrato.

BIN
liferay-plugins-sdk-6.2/dist/portos-mail-manager-shared-6.2.0.1.jar vendored

File binario non mostrato.

BIN
liferay-plugins-sdk-6.2/dist/portos-report-shared-6.2.0.1.jar vendored

File binario non mostrato.

BIN
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-audit-shared.jar

File binario non mostrato.

BIN
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-bo-portlet-service.jar

File binario non mostrato.

BIN
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-kaleo-shared.jar

File binario non mostrato.

BIN
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-mail-manager-shared.jar

File binario non mostrato.

BIN
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-report-shared.jar

File binario non mostrato.

1
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/content/Portal.properties

@ -1131,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.

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);

4
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/service.properties

@ -13,8 +13,8 @@
## ##
build.namespace=portos_bo build.namespace=portos_bo
build.number=2970 build.number=2982
build.date=1707838344827 build.date=1708674243125
build.auto.upgrade=true build.auto.upgrade=true
## ##

BIN
liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/WEB-INF/lib/portos-bo-portlet-service.jar

File binario non mostrato.

BIN
liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/WEB-INF/lib/portos-mail-manager-shared.jar

File binario non mostrato.

BIN
liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/WEB-INF/lib/portos-report-shared.jar

File binario non mostrato.

7
liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/fe/portlet/FascicoloFePortlet.java

@ -2272,6 +2272,13 @@ public class FascicoloFePortlet extends MVCPortlet {
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); 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) {

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

12
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,9 +112,9 @@ 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-8 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-4 padding_15 total-row"> <div class="col-xs-4 padding_15 total-row">
<aui:form name="<%= formRicevutaPagamento %>" <aui:form name="<%= formRicevutaPagamento %>"
@ -187,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" />
@ -354,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>

Caricamento…
Annulla
Salva