Sfoglia il codice sorgente

visualizzazione pratiche risolta

master
Mattia Gosetto 3 anni fa
parent
commit
4a1b9c6571
  1. 4
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/css/main.css
  2. 2
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/fascicolo/navigator/header.jsp
  3. 200
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/fascicolo/navigator/page_dettagli_principali.jsp
  4. 16
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/fascicolo/navigator/page_riepilogo.jsp
  5. 2
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/fascicolo/view.jsp
  6. 6
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/navigator/domanda/page_dettagli_principali.jsp
  7. 193
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/view_fascicolo_dettagli.jsp
  8. 20
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/view_fascicolo_riepilogo.jsp

4
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/css/main.css

@ -26,3 +26,7 @@
-webkit-transform: translate3d(-50%, 60%, 0);
transform: translate3d(-50%, 60%, 0);
}
.hideSection{
display:none !important;
}

2
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/fascicolo/navigator/header.jsp

@ -15,6 +15,8 @@ DettPratica dettPratica = (DettPratica) request.getAttribute("bean.dettPratica.l
IntPratica intPratica = (IntPratica) request.getAttribute("bean.intPratica");
long groupId = GroupLocalServiceUtil.getGroup(intPratica.getCompanyId(), "Portos").getGroupId();
long plidNew = PortalUtil.getPlidFromPortletId(groupId, true, PortletKeys.FASCICOLOFE);
%>
<liferay-ui:header title="<%= dettPratica.getTitle(locale) %>" localizeTitle="false" backURL="<%= backURL %>" />
<div class="container-fluid fascicolo-header">

200
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/fascicolo/navigator/page_dettagli_principali.jsp

@ -25,12 +25,19 @@ Comune comune = ComuneLocalServiceUtil.getComune(territorio.getComuneId());
Provincia provincia = ProvinciaLocalServiceUtil.fetchByC_C(territorio.getCompanyId(), territorio.getCodiceProvincia());
boolean isDisabledMap = ParamUtil.getBoolean(request, "isDisabledMap", false);
String urlIframeMappe = MappeUtil.getUrlBo(request, dettPratica, comune, true);
String hide1 = (intPratica.getTipoProcedura().equals(Constants.PROCEDURA_Q1) || intPratica.getTipoProcedura().equals(Constants.PROCEDURA_P1) ? "hideSection" : "");
String hide3 = (intPratica.getTipoProcedura().equals(Constants.PROCEDURA_Q3) || intPratica.getTipoProcedura().equals(Constants.PROCEDURA_P3) ? "hideSection" : "");
String hide8 = (intPratica.getTipoProcedura().equals(Constants.PROCEDURA_Q8) || intPratica.getTipoProcedura().equals(Constants.PROCEDURA_P8) ? "hideSection" : "");
String hide9 = (intPratica.getTipoProcedura().equals(Constants.PROCEDURA_Q9) || intPratica.getTipoProcedura().equals(Constants.PROCEDURA_P9) ? "hideSection" : "");
String hide10 = (intPratica.getTipoProcedura().equals(Constants.PROCEDURA_Q10) || intPratica.getTipoProcedura().equals(Constants.PROCEDURA_P10) ? "hideSection" : "");
%>
<c:if test="<%= Validator.isNull(dettPraticaId) %>">
<liferay-util:include page="/html/fascicolo/navigator/header.jsp" servletContext="<%= application %>"/>
</c:if>
<div class="container-fluid">
<div class="row">
<div class="row <%= hide8 %> <%= hide10 %>">
<div class="col-sm-12">
<div class="module-group">
<c:if test="<%= AzioniPraticheUtil.isAutorizzazione(intPratica.getIntPraticaId()) && TipoIntegrazioneUtil.VARIANTE.equalsIgnoreCase(dettPratica.getTipoIntegrazione()) %>">
@ -73,98 +80,99 @@ String urlIframeMappe = MappeUtil.getUrlBo(request, dettPratica, comune, true);
</div>
</div>
</c:if>
<c:if test="<%= intPratica.getTipoRichiesta() == Constants.LIEVE_ENTITA %>">
<div class="row">
<div class="col-sm-12">
<%= LanguageUtil.get(pageContext, "intervento-voce-p7") %> <span class=""><%=dettPratica.getInterventoVoceP7()%></span>
<div class="<%= hide9 %>">
<c:if test="<%= intPratica.getTipoRichiesta() == Constants.LIEVE_ENTITA %>">
<div class="row">
<div class="col-sm-12">
<%= LanguageUtil.get(pageContext, "intervento-voce-p7") %> <span class=""><%=dettPratica.getInterventoVoceP7()%></span>
</div>
</div>
</div>
</c:if>
</c:if>
<div class="row">
<div class="col-sm-12 col-md-12">
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "lavoriPubblici") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "lavori-pubblici") %>
</div>
<div class="col-sm-12 col-md-12">
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "intervFinPub") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "interv-fin-pub") %>
<br />
<%=BeanPropertiesUtil.getString(dettPratica, "intervFinPubDesc") %>
</div>
</div>
<div class="row">
<div class="col-sm-12 col-md-12">
<div class="fascicolo_header_row"></div>
</div>
</div>
<div class="row">
<div class="col-sm-12">
<strong><%= LanguageUtil.get(pageContext, "interv-no-viarch") %></strong>
</div>
</div>
<div class="row">
<div class="col-sm-12">
<strong><span class='<%=dettPratica.getIntervInAreaDiInteresse() ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "interv-in-area-di-interesse") %>
</div>
<div class="col-sm-12">
<strong><span class='<%=dettPratica.getIntervNonModificante() ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "interv-non-modificante") %>
</div>
<div class="col-sm-12">
<strong><span class='<%=dettPratica.getIntervNonAssoggettabile() ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "interv-non-assoggettabile") %>
</div>
</div>
<div class="row">
<div class="col-sm-12 col-md-12">
<div class="fascicolo_header_row"></div>
</div>
</div>
<div class="row">
<div class="col-sm-12 col-md-12">
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "normEsenteBollo") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "norm-esente-bollo") %>
</div>
<div class="col-sm-12 col-md-12">
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "normEsenteSpese") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "norm-esente-spese") %>
</div>
<c:if test='<%= !dettPratica.getEstremiPratCom().equalsIgnoreCase("") %>'>
<div class="row <%= hide1 %>">
<div class="col-sm-12 col-md-12">
<%= LanguageUtil.get(pageContext, "estremi-prat-com") %>
<%= BeanPropertiesUtil.getString(dettPratica, "estremiPratCom") %>
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "lavoriPubblici") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "lavori-pubblici") %>
</div>
<div class="col-sm-12 col-md-12">
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "intervFinPub") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "interv-fin-pub") %>
<br />
<%=BeanPropertiesUtil.getString(dettPratica, "intervFinPubDesc") %>
</div>
</c:if>
<div class="col-sm-12 col-md-12">
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "normLavoriInProprio") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "norm-lavori-in-proprio") %>
</div>
<div class="col-sm-12 col-md-12">
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "nominaImpresa") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "nomina-impresa") %>
</div>
<div class="col-sm-12 col-md-12">
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "normLavoriNoDirettore") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "norm-lavori-no-direttore") %>
<div class="row <%= hide3 %> <%= hide1 %>">
<div class="col-sm-12 col-md-12">
<div class="fascicolo_header_row"></div>
</div>
</div>
<div class="col-sm-12 col-md-12">
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "nominaDirettoreLavori") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "nomina-direttore-lavori") %>
<div class="row <%= hide3 %> <%= hide1 %>">
<div class="col-sm-12">
<strong><%= LanguageUtil.get(pageContext, "interv-no-viarch") %></strong>
</div>
</div>
<div class="col-sm-12 col-md-12">
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "noCollaudo") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "no-collaudo") %>
<div class="row <%= hide3 %> <%= hide1 %>">
<div class="col-sm-12">
<strong><span class='<%=dettPratica.getIntervInAreaDiInteresse() ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "interv-in-area-di-interesse") %>
</div>
<div class="col-sm-12">
<strong><span class='<%=dettPratica.getIntervNonModificante() ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "interv-non-modificante") %>
</div>
<div class="col-sm-12">
<strong><span class='<%=dettPratica.getIntervNonAssoggettabile() ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "interv-non-assoggettabile") %>
</div>
</div>
<div class="col-sm-12 col-md-12">
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "collaudoStatico") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "collaudo-statico") %>
<div class="row">
<div class="col-sm-12 col-md-12">
<div class="fascicolo_header_row"></div>
</div>
</div>
<div class="col-sm-12 col-md-12">
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "nominaCollaudatore") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "nomina-collaudatore") %>
<div class="row">
<div class="col-sm-12 col-md-12">
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "normEsenteBollo") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "norm-esente-bollo") %>
</div>
<div class="col-sm-12 col-md-12">
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "normEsenteSpese") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "norm-esente-spese") %>
</div>
<c:if test='<%= !dettPratica.getEstremiPratCom().equalsIgnoreCase("") %>'>
<div class="col-sm-12 col-md-12 <%= hide1 %>">
<%= LanguageUtil.get(pageContext, "estremi-prat-com") %>
<%= BeanPropertiesUtil.getString(dettPratica, "estremiPratCom") %>
</div>
</c:if>
<div class="col-sm-12 col-md-12 <%= hide1 %> <%= hide3 %>">
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "normLavoriInProprio") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "norm-lavori-in-proprio") %>
</div>
<div class="col-sm-12 col-md-12 <%= hide1 %> <%= hide3 %>">
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "nominaImpresa") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "nomina-impresa") %>
</div>
<div class="col-sm-12 col-md-12 <%= hide1 %> <%= hide3 %>">
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "normLavoriNoDirettore") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "norm-lavori-no-direttore") %>
</div>
<div class="col-sm-12 col-md-12 <%= hide1 %> <%= hide3 %>">
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "nominaDirettoreLavori") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "nomina-direttore-lavori") %>
</div>
<div class="col-sm-12 col-md-12 <%= hide1 %> <%= hide3 %>">
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "noCollaudo") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "no-collaudo") %>
</div>
<div class="col-sm-12 col-md-12 <%= hide1 %> <%= hide3 %>">
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "collaudoStatico") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "collaudo-statico") %>
</div>
<div class="col-sm-12 col-md-12 <%= hide1 %> <%= hide3 %>">
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "nominaCollaudatore") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "nomina-collaudatore") %>
</div>
</div>
</div>
</div>
@ -172,7 +180,7 @@ String urlIframeMappe = MappeUtil.getUrlBo(request, dettPratica, comune, true);
</div>
</div>
</div>
<div class="row">
<div class="row <%= hide10 %>">
<div class="col-sm-12">
<div class="module-group">
<liferay-ui:panel extended="false" defaultState="open" collapsible="false" title="fascicolo_title_descrizione" >
@ -217,7 +225,7 @@ String urlIframeMappe = MappeUtil.getUrlBo(request, dettPratica, comune, true);
<strong><%= dettPratica.getVia() %></strong>
</div>
</div>
<div class="row">
<div class="row <%= hide1 %>">
<div class="col-sm-6 col-md-3">
<%= LanguageUtil.get(pageContext, "dc-foglio") %>
</div>
@ -231,7 +239,7 @@ String urlIframeMappe = MappeUtil.getUrlBo(request, dettPratica, comune, true);
<strong><%= dettPratica.getDcAllegato() %></strong>
</div>
</div>
<div class="row">
<div class="row <%= hide1 %>">
<div class="col-sm-6 col-md-3">
<%= LanguageUtil.get(pageContext, "dc-particelle") %>
</div>
@ -252,7 +260,7 @@ String urlIframeMappe = MappeUtil.getUrlBo(request, dettPratica, comune, true);
</div>
</div>
<div class="row">
<div class="row <%= hide1 %>">
<div class="col-xs-12 cont_maps">
<% String[] geolocalization = dettPratica.getLocalizzazioneGeografica().split(Pattern.quote("|")); %>
<aui:input name="lat" label="" type="hidden"
@ -288,7 +296,7 @@ String urlIframeMappe = MappeUtil.getUrlBo(request, dettPratica, comune, true);
</div>
</div>
</c:if>
<div class="row">
<div class="row <%= hide1 %>">
<div class="col-sm-12">
<div class="module-group">
<liferay-ui:panel extended="false" defaultState="open" collapsible="false" title="dp" >
@ -306,6 +314,12 @@ String urlIframeMappe = MappeUtil.getUrlBo(request, dettPratica, comune, true);
<div class="col-sm-6 col-md-6">
<%= dettPratica.getPaesaggioLocale() %>
</div>
<div class="col-sm-6 col-md-6">
<%= LanguageUtil.get(pageContext, "vincoli") %>
</div>
<div class="col-sm-6 col-md-6">
<%= BeanPropertiesUtil.getString(dettPratica, "vincoli") %>
</div>
</div>
</div>
</liferay-ui:panel>
@ -313,7 +327,7 @@ String urlIframeMappe = MappeUtil.getUrlBo(request, dettPratica, comune, true);
</div>
</div>
<div class="row">
<div class="row <%= hide1 %> <%= hide10 %>">
<div class="col-sm-12 col-md-12">
<div class="module-group">
<liferay-ui:panel extended="false" defaultState="open" collapsible="false" title="destinazione" >
@ -343,7 +357,7 @@ String urlIframeMappe = MappeUtil.getUrlBo(request, dettPratica, comune, true);
</div>
</div>
</div>
<div class="row">
<div class="row <%= hide1 %> <%= hide10 %>" >
<div class="col-sm-12">
<div class="module-group">
<liferay-ui:panel extended="false" defaultState="open" collapsible="false" title="fascicolo_title_intervento" >
@ -365,7 +379,7 @@ String urlIframeMappe = MappeUtil.getUrlBo(request, dettPratica, comune, true);
<strong><span class='<%=dettPratica.getTcManutOrdStraord() ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%=LanguageUtil.get(pageContext, "tc-manut-ord-straord") %>
</div>
<div class="col-xs-12">
<div class="col-xs-12 <%= hide8 %> <%= hide9 %>">
<strong><span class='<%=dettPratica.getTcNoOpereEscavazione() ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%=LanguageUtil.get(pageContext, "tc-no-opere-escavazione") %>
</div>
@ -382,7 +396,7 @@ String urlIframeMappe = MappeUtil.getUrlBo(request, dettPratica, comune, true);
</div>
</div>
</div>
<div class="row">
<div class="row <%= hide1 %> <%= hide10 %>">
<div class="col-sm-12">
<div class="module-group">
<liferay-ui:panel extended="false" defaultState="open" collapsible="false" title="fascicolo_title_tipologia_costruttiva" >

16
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/fascicolo/navigator/page_riepilogo.jsp

@ -30,6 +30,14 @@ int nFineLavori = FineLavoriLocalServiceUtil.countByIntPraticaId_Completata(intP
int nCollaudo = CollaudoLocalServiceUtil.countByIntPraticaId_Completata(intPraticaId, true);
List<HistoryWorkflowAction> historyWorkflowActions = HistoryWorkflowActionLocalServiceUtil.findByIntPratica(
intPraticaId, 0);
String hide1 = (intPratica.getTipoProcedura().equals(Constants.PROCEDURA_Q1) || intPratica.getTipoProcedura().equals(Constants.PROCEDURA_P1) ? "hideSection" : "");
String hide3 = (intPratica.getTipoProcedura().equals(Constants.PROCEDURA_Q3) || intPratica.getTipoProcedura().equals(Constants.PROCEDURA_P3) ? "hideSection" : "");
String hide8 = (intPratica.getTipoProcedura().equals(Constants.PROCEDURA_Q8) || intPratica.getTipoProcedura().equals(Constants.PROCEDURA_P8) ? "hideSection" : "");
String hide9 = (intPratica.getTipoProcedura().equals(Constants.PROCEDURA_Q9) || intPratica.getTipoProcedura().equals(Constants.PROCEDURA_P9) ? "hideSection" : "");
String hide10 = (intPratica.getTipoProcedura().equals(Constants.PROCEDURA_Q10) || intPratica.getTipoProcedura().equals(Constants.PROCEDURA_P10) ? "hideSection" : "");
%>
<div class="container-fluid">
<div class="row">
@ -114,7 +122,7 @@ List<HistoryWorkflowAction> historyWorkflowActions = HistoryWorkflowActionLocalS
</div>
</div>
</div>
<div class="row">
<div class="row <%= hide10 %>">
<div class="col-sm-12 col-md-12">
<div class="module-group">
<liferay-ui:panel extended="false" defaultState="open" collapsible="false"
@ -126,7 +134,7 @@ List<HistoryWorkflowAction> historyWorkflowActions = HistoryWorkflowActionLocalS
</div>
</div>
</div>
<div class="row">
<div class="row <%= hide1 %>">
<div class="col-sm-12 col-md-12">
<div class="module-group">
<liferay-ui:panel extended="false" defaultState="open" collapsible="false" title="dp" >
@ -189,7 +197,7 @@ List<HistoryWorkflowAction> historyWorkflowActions = HistoryWorkflowActionLocalS
</div>
</div>
</div>
<div class="row">
<div class="row <%= hide1 %> <%= hide10 %>">
<div class="col-sm-12 col-md-12">
<div class="module-group">
<liferay-ui:panel extended="false" defaultState="open" collapsible="false"
@ -221,7 +229,7 @@ List<HistoryWorkflowAction> historyWorkflowActions = HistoryWorkflowActionLocalS
"fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "tc-intervento-opere-escavazione") %>
</div>
<div class="col-sm-12">
<div class="col-sm-12 <%= hide8 %> <%= hide9 %>">
<strong><span class='<%= dettPratica.getTcNoOpereEscavazione() ?
"fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "tc-no-opere-escavazione") %>

2
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/fascicolo/view.jsp

@ -96,6 +96,8 @@ String orderByType = ParamUtil.getString(request, "orderByType", "asc");
String orderByCol = ParamUtil.getString(request, "orderByCol", "nome");
String keywords = StringPool.BLANK;
%>
<liferay-ui:success key="success-sospesa" message="message-success-pratica-sospesa"/>
<liferay-ui:success key="success-ripresa" message="message-success-pratica-ripresa"/>

6
liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/navigator/domanda/page_dettagli_principali.jsp

@ -68,7 +68,7 @@ String hide10 = (intPratica.getTipoProcedura().equals(Constants.PROCEDURA_Q10) |
<div class="module-group">
<liferay-ui:panel extended="false" defaultState="open" collapsible="false" title="dett-principali">
<div class="container-fluid">
<div class="col-sm-12 col-md-12">
<div class="col-sm-12 col-md-12">
<div class="module-group group_dati_catastali <%= hide8 %> <%= hide10 %>">
<liferay-ui:panel extended="false" defaultState="open" collapsible="false"
title="Normativa">
@ -164,7 +164,7 @@ String hide10 = (intPratica.getTipoProcedura().equals(Constants.PROCEDURA_Q10) |
</div>
</div>
<div class="row row-padding-custom <%= hide3 %>">
<div class="row row-padding-custom ">
<div class="col-xs-12">
<aui:input disabled="<%=disabledInput && !enabledByIntegrazione %>"
name="nominaImpresa"
@ -368,7 +368,7 @@ function messageListener(event) {
</div>
<div class="col-xs-12 col-md-6 <%= hide1 %>">
<div class="container-fluid">
<div class="row <%= hide1 %>" style="margin-bottom:20px;">
<div class="row" style="margin-bottom:20px;">
<div class="col-xs-12">
<aui:input disabled="<%= isDisabled %>" type="text" name="estremiCatastali" id="input_estremiCatastali"
label="estremi-catastali"/>

193
liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/view_fascicolo_dettagli.jsp

@ -65,6 +65,13 @@
Provincia provincia = ProvinciaLocalServiceUtil.fetchByC_C(territorio.getCompanyId(), territorio.getCodiceProvincia());
String urlIframeMappe = MappeUtil.getUrlFe(request, dettPratica, comune, true);
String hide1 = (intPratica.getTipoProcedura().equals(Constants.PROCEDURA_Q1) || intPratica.getTipoProcedura().equals(Constants.PROCEDURA_P1) ? "hideSection" : "");
String hide3 = (intPratica.getTipoProcedura().equals(Constants.PROCEDURA_Q3) || intPratica.getTipoProcedura().equals(Constants.PROCEDURA_P3) ? "hideSection" : "");
String hide8 = (intPratica.getTipoProcedura().equals(Constants.PROCEDURA_Q8) || intPratica.getTipoProcedura().equals(Constants.PROCEDURA_P8) ? "hideSection" : "");
String hide9 = (intPratica.getTipoProcedura().equals(Constants.PROCEDURA_Q9) || intPratica.getTipoProcedura().equals(Constants.PROCEDURA_P9) ? "hideSection" : "");
String hide10 = (intPratica.getTipoProcedura().equals(Constants.PROCEDURA_Q10) || intPratica.getTipoProcedura().equals(Constants.PROCEDURA_P10) ? "hideSection" : "");
%>
<liferay-ui:error key="error-download-pdf-domanda" message="error-download-pdf-domanda" />
@ -79,7 +86,7 @@
<%-- </aui:form> --%>
<liferay-ui:panel-container extended="true" id="outerPanelContainer">
<div class="row">
<div class="row <%= hide8 %> <%= hide10 %>">
<div class="col-sm-12 col-md-12">
<div class="module-group">
<liferay-ui:panel extended="false" defaultState="open" collapsible="false" title="dett-principali" >
@ -112,97 +119,99 @@
</div>
</c:if>
<c:if test="<%= intPratica.getTipoRichiesta() == Constants.LIEVE_ENTITA %>">
<div class="row">
<div class="col-sm-12">
<%= LanguageUtil.get(pageContext, "intervento-voce-p7") %> <span class=""><%=dettPratica.getInterventoVoceP7()%></span>
<div class="<%= hide9 %>">
<c:if test="<%= intPratica.getTipoRichiesta() == Constants.LIEVE_ENTITA %>">
<div class="row">
<div class="col-sm-12">
<%= LanguageUtil.get(pageContext, "intervento-voce-p7") %> <span class=""><%=dettPratica.getInterventoVoceP7()%></span>
</div>
</div>
</div>
</c:if>
</c:if>
<div class="row">
<div class="col-sm-12 col-md-12">
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "lavoriPubblici") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "lavori-pubblici") %>
</div>
<div class="col-sm-12 col-md-12">
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "intervFinPub") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "interv-fin-pub") %>
<br />
<%=BeanPropertiesUtil.getString(dettPratica, "intervFinPubDesc") %>
</div>
</div>
<div class="row">
<div class="col-sm-12 col-md-12">
<div class="fascicolo_header_row"></div>
</div>
</div>
<div class="row">
<div class="col-sm-12">
<strong><%= LanguageUtil.get(pageContext, "interv-no-viarch") %></strong>
</div>
</div>
<div class="row">
<div class="col-sm-12">
<strong><span class='<%=dettPratica.getIntervInAreaDiInteresse() ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "interv-in-area-di-interesse") %>
</div>
<div class="col-sm-12">
<strong><span class='<%=dettPratica.getIntervNonModificante() ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "interv-non-modificante") %>
</div>
<div class="col-sm-12">
<strong><span class='<%=dettPratica.getIntervNonAssoggettabile() ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "interv-non-assoggettabile") %>
</div>
</div>
<div class="row">
<div class="col-sm-12 col-md-12">
<div class="fascicolo_header_row"></div>
</div>
</div>
<div class="row">
<div class="col-sm-12 col-md-12">
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "normEsenteBollo") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "norm-esente-bollo") %>
</div>
<div class="col-sm-12 col-md-12">
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "normEsenteSpese") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "norm-esente-spese") %>
</div>
<c:if test='<%= !dettPratica.getEstremiPratCom().equalsIgnoreCase("") %>'>
<div class="row <%= hide1 %>">
<div class="col-sm-12 col-md-12">
<%= LanguageUtil.get(pageContext, "estremi-prat-com") %>
<%= BeanPropertiesUtil.getString(dettPratica, "estremiPratCom") %>
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "lavoriPubblici") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "lavori-pubblici") %>
</div>
<div class="col-sm-12 col-md-12">
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "intervFinPub") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "interv-fin-pub") %>
<br />
<%=BeanPropertiesUtil.getString(dettPratica, "intervFinPubDesc") %>
</div>
</c:if>
<div class="col-sm-12 col-md-12">
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "normLavoriInProprio") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "norm-lavori-in-proprio") %>
</div>
<div class="col-sm-12 col-md-12">
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "nominaImpresa") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "nomina-impresa") %>
</div>
<div class="col-sm-12 col-md-12">
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "normLavoriNoDirettore") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "norm-lavori-no-direttore") %>
<div class="row <%= hide1 %> <%= hide3 %>">
<div class="col-sm-12 col-md-12">
<div class="fascicolo_header_row"></div>
</div>
</div>
<div class="col-sm-12 col-md-12">
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "nominaDirettoreLavori") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "nomina-direttore-lavori") %>
<div class="row <%= hide1 %> <%= hide3 %>">
<div class="col-sm-12">
<strong><%= LanguageUtil.get(pageContext, "interv-no-viarch") %></strong>
</div>
</div>
<div class="col-sm-12 col-md-12">
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "noCollaudo") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "no-collaudo") %>
<div class="row <%= hide3 %> <%= hide1 %>">
<div class="col-sm-12">
<strong><span class='<%=dettPratica.getIntervInAreaDiInteresse() ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "interv-in-area-di-interesse") %>
</div>
<div class="col-sm-12">
<strong><span class='<%=dettPratica.getIntervNonModificante() ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "interv-non-modificante") %>
</div>
<div class="col-sm-12">
<strong><span class='<%=dettPratica.getIntervNonAssoggettabile() ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "interv-non-assoggettabile") %>
</div>
</div>
<div class="col-sm-12 col-md-12">
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "collaudoStatico") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "collaudo-statico") %>
<div class="row <%= hide1 %>">
<div class="col-sm-12 col-md-12">
<div class="fascicolo_header_row"></div>
</div>
</div>
<div class="col-sm-12 col-md-12">
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "nominaCollaudatore") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "nomina-collaudatore") %>
<div class="row">
<div class="col-sm-12 col-md-12">
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "normEsenteBollo") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "norm-esente-bollo") %>
</div>
<div class="col-sm-12 col-md-12">
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "normEsenteSpese") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "norm-esente-spese") %>
</div>
<c:if test='<%= !dettPratica.getEstremiPratCom().equalsIgnoreCase("") %>'>
<div class="col-sm-12 col-md-12">
<%= LanguageUtil.get(pageContext, "estremi-prat-com") %>
<%= BeanPropertiesUtil.getString(dettPratica, "estremiPratCom") %>
</div>
</c:if>
<div class="col-sm-12 col-md-12 <%= hide1 %> <%= hide3 %>">
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "normLavoriInProprio") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "norm-lavori-in-proprio") %>
</div>
<div class="col-sm-12 col-md-12 <%= hide1 %> <%= hide3 %>">
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "nominaImpresa") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "nomina-impresa") %>
</div>
<div class="col-sm-12 col-md-12 <%= hide1 %> <%= hide3 %>">
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "normLavoriNoDirettore") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "norm-lavori-no-direttore") %>
</div>
<div class="col-sm-12 col-md-12 <%= hide1 %> <%= hide3 %>">
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "nominaDirettoreLavori") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "nomina-direttore-lavori") %>
</div>
<div class="col-sm-12 col-md-12 <%= hide1 %> <%= hide3 %>">
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "noCollaudo") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "no-collaudo") %>
</div>
<div class="col-sm-12 col-md-12 <%= hide1 %> <%= hide3 %>">
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "collaudoStatico") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "collaudo-statico") %>
</div>
<div class="col-sm-12 col-md-12 <%= hide1 %> <%= hide3 %>">
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "nominaCollaudatore") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "nomina-collaudatore") %>
</div>
</div>
</div>
</div>
@ -211,7 +220,7 @@
</div>
</div>
<div class="row">
<div class="row <%= hide10 %>">
<div class="col-sm-12 col-md-12">
<div class="module-group">
<liferay-ui:panel extended="false" defaultState="open" collapsible="false" title="fascicolo_title_descrizione" >
@ -269,7 +278,7 @@
<strong><%=BeanPropertiesUtil.getString(dettPratica, "via") %></strong>
</div>
</div>
<div class="row">
<div class="row <%= hide1 %>">
<div class="col-sm-6 col-md-3">
<%= LanguageUtil.get(pageContext, "dc-foglio") %>
</div>
@ -277,7 +286,7 @@
<strong><strong><%=BeanPropertiesUtil.getString(dettPratica, "dcFoglio") %></strong></strong>
</div>
</div>
<div class="row">
<div class="row <%= hide1 %>">
<div class="col-sm-6 col-md-3">
<%= LanguageUtil.get(pageContext, "dc-particelle") %>
</div>
@ -313,7 +322,7 @@
</div>
</div>
<div class="col-xs-12 col-sm-12 col-md-6 col-lg-6">
<div class="col-xs-12 col-sm-12 col-md-6 col-lg-6 <%= hide1 %>">
<div class="container-fluid">
<div class="row cont_maps">
<%
@ -359,7 +368,7 @@
</div>
</div>
<div class="row">
<div class="row <%= hide1 %>">
<div class="col-sm-12 col-md-12">
<div class="module-group">
<liferay-ui:panel extended="false" defaultState="open" collapsible="false" title="dp" >
@ -404,7 +413,7 @@
</div>
</div>
<div class="row">
<div class="row <%= hide1 %> <%= hide10 %>">
<div class="col-sm-12 col-md-12">
<div class="module-group">
<liferay-ui:panel extended="false" defaultState="open" collapsible="false" title="destinazione" >
@ -436,7 +445,7 @@
</div>
</div>
</div>
<div class="row">
<div class="row <%= hide1 %> <%= hide10 %>">
<div class="col-sm-12 col-md-12">
<div class="module-group">
<liferay-ui:panel extended="false" defaultState="open" collapsible="false" title="fascicolo_title_intervento" >
@ -458,7 +467,7 @@
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "tcManutOrdStraord") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%=LanguageUtil.get(pageContext, "tc-manut-ord-straord") %>
</div>
<div class="col-sm-12">
<div class="col-sm-12 <%= hide8 %> <%= hide9 %>">
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "tcNoOpereEscavazione") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%=LanguageUtil.get(pageContext, "tc-no-opere-escavazione") %>
</div>
@ -476,7 +485,7 @@
</div>
</div>
<div class="row">
<div class="row <%= hide1 %> <%= hide10 %>">
<div class="col-sm-12 col-md-12">
<div class="module-group">
<liferay-ui:panel extended="false" defaultState="open" collapsible="false" title="fascicolo_title_tipologia_costruttiva" >

20
liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/view_fascicolo_riepilogo.jsp

@ -63,6 +63,12 @@
int nCambioSoggetti = DettPraticaLocalServiceUtil.countCompletedByIntPraticaAndTipoPratica(intPraticaId, Arrays.asList(new String[]{TipoIntegrazioneUtil.VARIAZIONE_SOGGETTO}));
int nFineLavori = FineLavoriLocalServiceUtil.countByIntPraticaId_Completata(intPraticaId, true);
int nCollaudo = CollaudoLocalServiceUtil.countByIntPraticaId_Completata(intPraticaId, true);
String hide1 = (intPratica.getTipoProcedura().equals(Constants.PROCEDURA_Q1) || intPratica.getTipoProcedura().equals(Constants.PROCEDURA_P1) ? "hideSection" : "");
String hide3 = (intPratica.getTipoProcedura().equals(Constants.PROCEDURA_Q3) || intPratica.getTipoProcedura().equals(Constants.PROCEDURA_P3) ? "hideSection" : "");
String hide8 = (intPratica.getTipoProcedura().equals(Constants.PROCEDURA_Q8) || intPratica.getTipoProcedura().equals(Constants.PROCEDURA_P8) ? "hideSection" : "");
String hide9 = (intPratica.getTipoProcedura().equals(Constants.PROCEDURA_Q9) || intPratica.getTipoProcedura().equals(Constants.PROCEDURA_P9) ? "hideSection" : "");
String hide10 = (intPratica.getTipoProcedura().equals(Constants.PROCEDURA_Q10) || intPratica.getTipoProcedura().equals(Constants.PROCEDURA_P10) ? "hideSection" : "");
%>
<div class="container-fluid fascicolo-header">
@ -164,7 +170,7 @@
</liferay-ui:panel>
</div>
<div class="module-group">
<div class="module-group <%= hide10 %>">
<liferay-ui:panel extended="false" defaultState="open" collapsible="false" title="fascicolo_title_descrizione" >
<div class="prog-description">
<%=BeanPropertiesUtil.getString(dettPratica, "descLongIntervento") %>
@ -172,7 +178,7 @@
</liferay-ui:panel>
</div>
<div class="module-group">
<div class="module-group <%= hide1 %> <%= hide10 %>">
<liferay-ui:panel extended="false" defaultState="open" collapsible="false" title="fascicolo_title_intervento" >
<div class="container-fluid">
<div class="row">
@ -196,7 +202,7 @@
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "tcInterventoOpereEscavazione") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%=LanguageUtil.get(pageContext, "tc-intervento-opere-escavazione") %>
</div>
<div class="col-sm-12">
<div class="col-sm-12 <%= hide8 %> <%= hide9 %>">
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "tcNoOpereEscavazione") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%=LanguageUtil.get(pageContext, "tc-no-opere-escavazione") %>
</div>
@ -334,7 +340,7 @@
<div class="module-group">
<liferay-ui:panel extended="false" defaultState="open" collapsible="false" title="fascicolo_title_ubicazione" >
<div class="container-fluid">
<div class="row">
<div class="row <%= hide1 %>">
<div class="col-sm-6 col-md-6">
<%= LanguageUtil.get(pageContext, "livello-di-tutela") %>
</div>
@ -342,7 +348,7 @@
<%= BeanPropertiesUtil.getString(dettPratica, "livelloDiTutela") %>
</div>
</div>
<div class="row">
<div class="row <%= hide1 %>">
<div class="col-sm-6 col-md-6">
<%= LanguageUtil.get(pageContext, "paesaggio-locale") %>
</div>
@ -350,7 +356,7 @@
<%= BeanPropertiesUtil.getString(dettPratica, "paesaggioLocale") %>
</div>
</div>
<div class="row">
<div class="row <%= hide1 %>">
<div class="col-sm-6 col-md-6">
<%= LanguageUtil.get(pageContext, "vincoli") %>
</div>
@ -392,7 +398,7 @@
</div>
</div>
<hr>
<div class="row">
<div class="row <%= hide1 %>">
<div class="col-sm-6 col-md-3">
<%= LanguageUtil.get(pageContext, "estremi-catastali") %>
</div>

Caricamento…
Annulla
Salva