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