|
|
|
@ -17,6 +17,7 @@ long intPraticaId = ParamUtil.getLong(request, "intPraticaId");
|
|
|
|
|
long fineLavoriId = ParamUtil.getLong(request, "fineLavoriId"); |
|
|
|
|
IntPratica intPratica = IntPraticaLocalServiceUtil.getIntPratica(intPraticaId); |
|
|
|
|
FineLavori fineLavori = FineLavoriServiceUtil.getFineLavori(fineLavoriId); |
|
|
|
|
String testoPagamento = (String) company.getExpandoBridge().getAttribute("testo_pagamento", false); |
|
|
|
|
if (fineLavori == null) { |
|
|
|
|
fineLavori = FineLavoriServiceUtil.getLastEditable(intPraticaId); |
|
|
|
|
} |
|
|
|
@ -43,6 +44,8 @@ if (Validator.isNotNull(pagamento)) {
|
|
|
|
|
String formRicevutaPagamento = "fmRicevuta"; |
|
|
|
|
String currentCompleteUrl = PortalUtil.getCurrentCompleteURL(request); |
|
|
|
|
%> |
|
|
|
|
<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:param name="mvcPath" value="/html/fascicolofe/verify_fine-lavori.jsp"/> |
|
|
|
|
<liferay-portlet:param name="intPraticaId" value="<%= String.valueOf(intPraticaId) %>"/> |
|
|
|
@ -109,9 +112,9 @@ String currentCompleteUrl = PortalUtil.getCurrentCompleteURL(request);
|
|
|
|
|
</liferay-portlet:actionURL> |
|
|
|
|
<c:if test="<%= pagamento.getMezzo().equals( |
|
|
|
|
PagamentoConstants.MEZZO_MANUALE) %>"> |
|
|
|
|
<div class="col-xs-8 padding_15"><span> |
|
|
|
|
<%= LanguageUtil.get(pageContext, "text-pagamento-manuale-bolli") %> |
|
|
|
|
</span> |
|
|
|
|
<div class="col-xs-8 padding_15"> |
|
|
|
|
<span><%= testoPagamento %></span> |
|
|
|
|
<%-- <%= LanguageUtil.get(pageContext, "text-pagamento-manuale-bolli") %> --%> |
|
|
|
|
</div> |
|
|
|
|
<div class="col-xs-4 padding_15 total-row"> |
|
|
|
|
<aui:form name="<%= formRicevutaPagamento %>" |
|
|
|
@ -187,6 +190,7 @@ String currentCompleteUrl = PortalUtil.getCurrentCompleteURL(request);
|
|
|
|
|
<aui:validator name="acceptFiles" |
|
|
|
|
errorMessage="Errore... Formati supportati: pdf,p7m">'p7m,pdf'</aui:validator> |
|
|
|
|
</aui:input> |
|
|
|
|
<aui:input type="hidden" name="numeroHBollettino" value="<%=StringPool.QUESTION%>"/> |
|
|
|
|
</div> |
|
|
|
|
<aui:button-row> |
|
|
|
|
<aui:button type="submit" value="upload-file" /> |
|
|
|
@ -354,7 +358,7 @@ String currentCompleteUrl = PortalUtil.getCurrentCompleteURL(request);
|
|
|
|
|
<div id='<%= renderResponse.getNamespace() + "saveAndCloseDiv" %>' class="hide" > |
|
|
|
|
<% |
|
|
|
|
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> |
|
|
|
|
</div> |
|
|
|
|