@ -1,54 +1,25 @@
<%@page import="it.mwg.sismica.bo.shared.util.Generics"%>
<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@page import="com.liferay.portal.kernel.bean.BeanPropertiesUtil"%>
<%@page import="com.liferay.portal.kernel.servlet.ServletContextPool"%>
<%@page import="it.tref.liferay.portos.bo.model.DettPratica"%>
<%@page import="it.tref.liferay.portos.bo.model.DocPratica"%>
<%@page import="it.tref.liferay.portos.bo.service.DocPraticaLocalServiceUtil"%>
<%@page import="it.tref.liferay.portos.bo.service.DettPraticaLocalServiceUtil"%>
<%@page import="it.tref.liferay.portos.bo.service.DocPraticaLocalServiceUtil"%>
<%@page import="it.tref.liferay.portos.bo.service.IntPraticaLocalServiceUtil"%>
<%@page import="it.tref.liferay.portos.bo.service.SoggettoLocalServiceUtil"%>
<%@page import="it.tref.liferay.portos.bo.util.AzioniPraticheUtil"%>
<%@page import="com.liferay.portal.kernel.servlet.ServletContextPool"%>
<%@page import="it.tref.liferay.portos.bo.shared.util.PagamentoConstants"%>
<%@page import="it.tref.liferay.portos.bo.util.PagamentiCommonUtil"%>
<%@page import="java.text.NumberFormat"%>
<%@page import="java.math.BigDecimal"%>
<%@page import="it.tref.liferay.portos.bo.shared.util.PortletKeys"%>
<%@page import="java.util.Date"%>
<%@page import="it.tref.liferay.portos.bo.service.IntPraticaLocalServiceUtil"%>
<%@page import="it.tref.liferay.portos.bo.service.DettPraticaServiceUtil"%>
<%@page import="com.liferay.portal.kernel.util.KeyValuePair"%>
<%@page import="it.tref.liferay.portos.bo.service.ProvinciaLocalServiceUtil"%>
<%@page import="it.tref.liferay.portos.bo.service.ComuneLocalServiceUtil"%>
<%@page import="it.tref.liferay.portos.bo.service.TerritorioLocalServiceUtil"%>
<%@page import="it.tref.liferay.portos.bo.model.Provincia"%>
<%@page import="it.tref.liferay.portos.bo.model.Comune"%>
<%@page import="it.tref.liferay.portos.bo.model.Territorio"%>
<%@page import="it.tref.liferay.portos.bo.model.IntPratica"%>
<%@page import="it.tref.liferay.portos.bo.model.DettPratica"%>
<%@page import="java.util.ArrayList"%>
<%@page import="java.util.regex.Pattern"%>
<%@page import="com.liferay.portal.kernel.bean.BeanPropertiesUtil"%>
<%@page import="it.tref.liferay.portos.bo.shared.util.PortletKeys"%>
<%@ include file="/html/fascicolofe/init.jsp" %>
<%@page import="it.tref.liferay.portos.bo.util.ValidazionePraticaUtil"%>
<%@page import="com.liferay.portal.service.UserLocalServiceUtil"%>
<%@page import="it.tref.liferay.portos.bo.service.SoggettoLocalServiceUtil"%>
<%@page import="it.tref.liferay.portos.bo.model.Soggetto"%>
<%@page import="it.tref.liferay.portos.bo.service.IntPraticaLocalServiceUtil"%>
<%@page import="it.tref.liferay.portos.bo.model.IntPratica"%>
<%@page import="it.tref.liferay.portos.bo.service.DelegaServiceUtil"%>
<%@page import="java.util.ArrayList"%>
<%@page import="com.liferay.portal.kernel.util.KeyValuePair"%>
<%@page import="com.liferay.portal.kernel.portlet.LiferayWindowState"%>
<%
long intPraticaId = ParamUtil.getLong(request, "intPraticaId", 0l);
long dettPraticaId = ParamUtil.getLong(request, "dettPraticaId", 0l);
long intPraticaId = ParamUtil.getLong(request, "intPraticaId", 0);
long dettPraticaId = ParamUtil.getLong(request, "dettPraticaId", 0);
DettPratica dettPratica = null;
IntPratica intPratica = null;
if(intPraticaId !=0l ){
if (intPraticaId != 0) {
intPratica = IntPraticaLocalServiceUtil.getIntPratica(intPraticaId);
if(dettPraticaId != 0l ){
if (dettPraticaId != 0) {
dettPratica = DettPraticaLocalServiceUtil.getDettPratica(dettPraticaId);
} else {
dettPratica = DettPraticaLocalServiceUtil.getLastEditableByIntPratica(intPraticaId);
@ -58,28 +29,22 @@
dettPraticaId = dettPratica.getDettPraticaId();
}
}
Territorio territorio = TerritorioLocalServiceUtil.getTerritorio(intPratica.getTerritorioId());
Comune comune = ComuneLocalServiceUtil.getComune(territorio.getComuneId());
Provincia provincia = ProvinciaLocalServiceUtil.fetchByC_C(territorio.getCompanyId(), territorio.getCodiceProvincia());
String urlIframeMappe = dettPratica.getUrlMappeBo(request, comune, true);
%>
<liferay-ui:error key="error-download-pdf-domanda" message="error-download-pdf-domanda" />
<liferay-portlet:actionURL name="salvaStampaPratica" var="salvaStampaPraticaURL">
<liferay-portlet:param name="intPraticaId" value="<%=String.valueOf(intPraticaId) %>" />
<liferay-portlet:param name="mvcPath" value="/html/fascicolofe/view_fascicolo_dettagli.jsp" />
</liferay-portlet:actionURL>
<%-- <aui:form name="fm_salvaStampa" action="<%=salvaStampaPraticaURL %>" method="post"> --%>
<%-- <aui:button cssClass="pull-right" type="submit" value="Stampa" icon="icon-print" iconAlign="left"/> --%>
<%-- </aui:form> --%>
<liferay-ui:panel-container extended="true" id="outerPanelContainer">
<div class="row">
<div class="col-sm-12 col-md-12 ">
<div class="col-sm-12">
<div class="module-group">
<liferay-ui:panel extended="false" defaultState="open" collapsible="false" title="fascicolo_title_decreto_min" >
<liferay-ui:panel extended="false" defaultState="open" collapsible="false"
title="fascicolo_title_decreto_min" >
<div class="container-fluid">
<div class="row">
<div class="col-sm-6 col-md-3">
@ -100,7 +65,9 @@
<%= LanguageUtil.get(pageContext, "dp-range-ag") %>
</div>
<div class="col-sm-6 col-md-3">
<%= BeanPropertiesUtil.getString(territorio, "agMin") %> - <%= BeanPropertiesUtil.getString(territorio, "agMax") %>
<%= BeanPropertiesUtil.getString(territorio, "agMin") %>
-
<%= BeanPropertiesUtil.getString(territorio, "agMax") %>
</div>
<div class="col-sm-6 col-md-3">
<%= LanguageUtil.get(pageContext, "ag") %>
@ -110,103 +77,129 @@
</div>
</div>
<div class="row">
<div class="col-sm-12 col-md-12">
<div class="fascicolo_header_row"><%= LanguageUtil.get(pageContext, "dp-sensi") %></div>
<div class="col-sm-12">
<div class="fascicolo_header_row">
<%= LanguageUtil.get(pageContext, "dp-sensi") %>
</div>
</div>
</div>
<div class="row">
<c:if test="<%= AzioniPraticheUtil.isDeposito(intPratica.getIntPraticaId()) %>">
<div class="col-sm-6 col-md-6">
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "normDpr01Dep") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<div class="col-sm-6">
<strong><span class='<%= BeanPropertiesUtil.getBoolean(dettPratica, "normDpr01Dep")
? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "norm-dpr01-dep") %>
</div>
<div class="col-sm-6 col-md-6">
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "normDpr02Dep") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<div class="col-sm-6">
<strong><span class='<%= BeanPropertiesUtil.getBoolean(dettPratica, "normDpr02Dep")
? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "norm-dpr02-dep") %>
</div>
</c:if>
<c:if test="<%= AzioniPraticheUtil.isAutorizzazione(intPratica.getIntPraticaId()) %>">
<div class="col-sm-6 col-md-6">
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "normDpr01Aut") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<div class="col-sm-6">
<strong><span class='<%= BeanPropertiesUtil.getBoolean(dettPratica, "normDpr01Aut")
? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "norm-dpr01-aut") %>
</div>
<div class="col-sm-6 col-md-6">
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "normDpr02Aut") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<div class="col-sm-6">
<strong><span class='<%= BeanPropertiesUtil.getBoolean(dettPratica, "normDpr02Aut")
? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "norm-dpr02-aut") %>
</div>
</c:if>
</div>
<div class="row">
<div class="col-sm-12 col-md-12">
<div class="fascicolo_header_row"><%= LanguageUtil.get(pageContext, "dp-rispetto") %></div>
<div class="col-sm-12">
<div class="fascicolo_header_row">
<%= LanguageUtil.get(pageContext, "dp-rispetto") %>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-6 col-md-6">
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "normDm2018") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<div class="col-sm-6">
<strong><span class='<%= BeanPropertiesUtil.getBoolean(dettPratica, "normDm2018")
? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "norm-dm2018") %>
</div>
<div class="col-sm-6 col-md-6">
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "normDm01") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<div class="col-sm-6">
<strong><span class='<%= BeanPropertiesUtil.getBoolean(dettPratica, "normDm01")
? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "norm-dm01") %>
</div>
<div class="col-sm-6 col-md-6">
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "normDm02") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<div class="col-sm-6">
<strong><span class='<%= BeanPropertiesUtil.getBoolean(dettPratica, "normDm02")
? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "norm-dm02") %>
</div>
</div>
<div class="row">
<div class="col-sm-12 col-md-12">
<div class="fascicolo_header_row"><%= LanguageUtil.get(pageContext, "dp-normativa") %>:</div>
<div class="col-sm-12">
<div class="fascicolo_header_row">
<%= LanguageUtil.get(pageContext, "dp-normativa") %>:
</div>
</div>
</div>
<div class="row">
<div class="col-sm-6 col-md-6">
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "normDm03") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<div class="col-sm-6">
<strong><span class='<%= BeanPropertiesUtil.getBoolean(dettPratica, "normDm03")
? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "norm-dm03") %>
</div>
<div class="col-sm-6 col-md-6">
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "normDprg01") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<div class="col-sm-6">
<strong><span class='<%= BeanPropertiesUtil.getBoolean(dettPratica, "normDprg01")
? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "norm-dprg01") %>
</div>
<div class="col-sm-6 col-md-6">
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "normDprg02") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<div class="col-sm-6">
<strong><span class='<%= BeanPropertiesUtil.getBoolean(dettPratica, "normDprg02")
? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "norm-dprg02") %>
</div>
<div class="col-sm-6 col-md-6">
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "normAnr") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<div class="col-sm-6">
<strong><span class='<%= BeanPropertiesUtil.getBoolean(dettPratica, "normAnr")
? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "norm-anr") %>
</div>
</div>
<div class="row">
<div class="col-sm-12 col-md-12 ">
<div class="col-sm-12">
<div class="fascicolo_header_row"></div>
</div>
</div>
<div class="row">
<div class="col-sm-6 col-md-6">
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "normLavoriInProprio") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<div class="col-sm-6">
<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-6 col-md-6">
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "lavoriPubblici") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<div class="col-sm-6">
<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-6 col-md-6">
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "normEsenteBollo") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<div class="col-sm-6">
<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-6 col-md-6">
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "normEsenteSpese") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<div class="col-sm-6">
<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>
<div class="col-sm-6 col-md-6">
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "collaudoStatico") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<div class="col-sm-6">
<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 ">
<div class="col-sm-12">
<div class="container-regolamento">
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "normArt3com3") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>' style="margin-right: 10px;"></span></strong>
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "normArt3com3")
? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'
style="margin-right: 10px;"></span></strong>
<p style="display: inline;"><%= LanguageUtil.get(pageContext, "norm-art3com3") %>:</p>
<ul style="padding-left:20px; list-style: initial;">
<li><%= LanguageUtil.get(pageContext, "norm-art3com3_1") %>;</li>
@ -216,7 +209,7 @@
</ul>
</div>
</div>
<div class="col-sm-12 col-md-12 ">
<div class="col-sm-12">
<div class="container-regolamento" style="display: inline-block;vertical-align: top;">
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "normArt3com4") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>' style="margin-right: 10px;"></span></strong>
<p style="display: inline;"><%= LanguageUtil.get(pageContext, "norm-art3com4") %></p>
@ -224,24 +217,24 @@
</div>
</div>
<div class="row">
<div class="col-sm-12 col-md-12 ">
<div class="col-sm-12">
<div class="fascicolo_header_row"></div>
</div>
</div>
<div class="row">
<div class="col-sm-12 col-md-12 ">
<div class="col-sm-12">
<div class="" style="display: inline-block;vertical-align: top;">
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "suap") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>' style="margin-right: 10px;"></span></strong>
<%= LanguageUtil.get(pageContext, "suap") %>
</div>
</div>
<div class="col-sm-12 col-md-12 ">
<div class="col-sm-12">
<div class="" style="display: inline-block;vertical-align: top;">
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "normSismaBonus") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>' style="margin-right: 10px;"></span></strong>
<%= LanguageUtil.get(pageContext, "norm-sisma-bonus") %>
</div>
</div>
<div class="col-sm-12 col-md-12 ">
<div class="col-sm-12">
<div class="row">
<div class="col-sm-6 col-md-4">
<%=LanguageUtil.get(pageContext, "cl-rischio-pre-int") %>:
@ -258,7 +251,7 @@
</div>
</div>
</div>
<div class="col-sm-12 col-md-12 ">
<div class="col-sm-12">
<div class="row">
<div class="col-sm-6 col-md-4">
<%=LanguageUtil.get(pageContext, "cl-rischio-post-int") %>:
@ -275,18 +268,19 @@
</div>
</div>
</div>
<div class="col-sm-12 col-md-12 ">
<div class="col-sm-12">
<div class="" style="display: inline-block;vertical-align: top;">
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "intervFinPub") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>' style="margin-right: 10px;"></span></strong>
<strong><span class='<%= BeanPropertiesUtil.getBoolean(dettPratica, "intervFinPub")
? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>' style="margin-right: 10px;"></span></strong>
<%= LanguageUtil.get(pageContext, "interv-fin-pub") %>
</div>
</div>
<div class="col-sm-12 col-md-12 ">
<div class="col-sm-12">
<div class="row">
<div class="col-sm-12 col-md-12 ">
<div class="col-sm-12">
<%=LanguageUtil.get(pageContext, "interv-fin-pub-desc") %>:
</div>
<div class="col-sm-12 col-md-12 ">
<div class="col-sm-12">
<%= BeanPropertiesUtil.getString(dettPratica, "intervFinPubDesc") %>
</div>
</div>
@ -297,9 +291,8 @@
</div>
</div>
</div>
<div class="row">
<div class="col-sm-12 col-md-12 ">
<div class="col-sm-12">
<div class="module-group">
<liferay-ui:panel extended="false" defaultState="open" collapsible="false" title="fascicolo_title_descrizione" >
<div class="prog-description">
@ -309,20 +302,18 @@
</div>
</div>
</div>
<div class="row">
<div class="col-sm-12 col-md-12 ">
<div class="col-sm-12">
<div class="module-group">
<liferay-ui:panel extended="false" defaultState="open" collapsible="false" title="fascicolo_title_dettagli" >
<div class="container-fluid">
<div class="row">
<div class="col-sm-12 col-md-12 ">
<div class="col-sm-12">
<div class="fascicolo_header_row">Ubicazione</div>
</div>
</div>
<div class="row">
<div class="col-xs-12 col-sm-12 col-md-6 col-lg-6 ">
<div class="col-xs-12 col-md-4 ">
<div class="container-fluid">
<div class="row">
<div class="col-sm-6 col-md-3">
@ -373,16 +364,16 @@
%>
<div class="col-sm-6 col-md-3">
<div class="row">
<div class="col-md-3 col- sm-3 col-xs-6 no-padding-left">
<div class="col-sm-3 col-xs-6 no-padding-left">
<span><strong><%=particelle.length>0?particelle[0]:StringPool.BLANK %></strong></span>
</div>
<div class="col-md-3 col- sm-3 col-xs-6">
<div class="col-sm-3 col-xs-6">
<span><strong><%=particelle.length>1?particelle[1]:StringPool.BLANK %></strong></span>
</div>
<div class="col-md-3 col- sm-3 col-xs-6">
<div class="col-sm-3 col-xs-6">
<span><strong><%=particelle.length>2?particelle[2]:StringPool.BLANK %></strong></span>
</div>
<div class="col-md-3 col- sm-3 col-xs-6 no-padding-right">
<div class="col-sm-3 col-xs-6 no-padding-right">
<span><strong><%=particelle.length>3?particelle[3]:StringPool.BLANK %></strong></span>
</div>
</div>
@ -414,56 +405,42 @@
</div>
</div>
</c:if>
<div class="row">
<div class="col-sm-6 col-md-3">
<%= LanguageUtil.get(pageContext, "contesto-paesaggistico") %>
</div>
<div class="col-sm-6 col-md-9">
<strong><%= BeanPropertiesUtil.getString(dettPratica, "contestoPaesaggistico") %></strong>
<strong><%= Generics.nl2br( BeanPropertiesUtil.getString(dettPratica, "contestoPaesaggistico") ) %></strong>
</div>
</div>
<div class="row">
<div class="col-sm-6 col-md-3">
<%= LanguageUtil.get(pageContext, "livello-di-tutela") %>
</div>
<div class="col-sm-6 col-md-9">
<strong><%= BeanPropertiesUtil.getString(dettPratica, "livelloDiTutela") %></strong>
<strong><%= Generics.nl2br( BeanPropertiesUtil.getString(dettPratica, "livelloDiTutela") ) %></strong>
</div>
</div>
<div class="row">
<div class="col-sm-6 col-md-3">
<%= LanguageUtil.get(pageContext, "vincoli") %>
</div>
<div class="col-sm-6 col-md-9">
<strong><%= BeanPropertiesUtil.getString(dettPratica, "vincoli") %></strong>
<strong><%= Generics.nl2br( BeanPropertiesUtil.getString(dettPratica, "vincoli") ) %></strong>
</div>
</div>
</div>
</div>
<div class="col-xs-12 col-sm-12 col-md-6 col-lg-6">
<div class="col-xs-12 col-md-8">
<%-- Integrazione geoportal --%>
<div class="container-fluid">
<div class="row">
<%
String[] geolocalization = BeanPropertiesUtil.getString(dettPratica, "localizzazioneGeografica","").split(Pattern.quote("|"));
%>
<div class="col-xs-12 col-sm-12 col-md-6 col-lg-6">
<aui:input name="lat" label="" type="hidden"
value='<%=geolocalization.length>0?geolocalization[0]:StringPool.BLANK %>' />
</div>
<div class="col-xs-12 col-sm-12 col-md-6 col-lg-6">
<aui:input name="long" label="" type="hidden"
value='<%=geolocalization.length>1?geolocalization[1]:StringPool.BLANK %>'/>
<div class="col-xs-12">
<iframe src="<%= urlIframeMappe %>" style="border:none;width:100%;height:700px"></iframe>
</div>
<aui:input type="hidden" name="geoIsEditable" value='<%= false %>' label=""/>
<liferay-portlet:runtime portletName="5_WAR_trefmapitmapportlet" />
</div>
</div>
<%-- /Integrazione geoportal --%>
</div>
</div>
</div>
@ -472,15 +449,14 @@
</div>
</div>
<div class="row">
<div class="col-sm-12 col-md-12 ">
<div class="col-sm-12">
<div class="module-group">
<liferay-ui:panel extended="false" defaultState="open" collapsible="false" title="destinazione" >
<div class="container-fluid">
<div class="row">
<div class="col-sm-12 col-md-12 ">
<div class="col-sm-12">
<%
String label = BeanPropertiesUtil.getString(dettPratica, "destinazione");
String uso = "";
String title = "";
if(label.length() > 1){
@ -501,12 +477,12 @@
</div>
</div>
<div class="row">
<div class="col-sm-12 col-md-12 ">
<div class="col-sm-12">
<div class="module-group">
<liferay-ui:panel extended="false" defaultState="open" collapsible="false" title="fascicolo_title_intervento" >
<div class="container-fluid">
<div class="row">
<div class="col-sm-6 col-md-6 ">
<div class="col-sm-6">
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "tcNuovaCostruzione") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%=LanguageUtil.get(pageContext, "tc-nuova-costruzione") %>
</div>
@ -516,14 +492,13 @@
BeanPropertiesUtil.getBoolean(dettPratica, "tcMiglioramentoSismico") ||
BeanPropertiesUtil.getBoolean(dettPratica, "tcRiparazioneInterventoLocale");
%>
<div class="col-sm-6 col-md-6 ">
<div class="col-sm-6">
<strong><span class='<%=checked ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%=LanguageUtil.get(pageContext, "tc-interventi-esistenti") %>
<ul style="padding-left: 15px;">
<li>
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "tcAdeguamentoSismico") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%=LanguageUtil.get(pageContext, "tc-adeguamento-sismico") %>
</li>
<li>
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "tcMiglioramentoSismico") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
@ -541,9 +516,8 @@
</div>
</div>
</div>
<div class="row">
<div class="col-sm-12 col-md-12 ">
<div class="col-sm-12">
<div class="module-group">
<liferay-ui:panel extended="false" defaultState="open" collapsible="false" title="fascicolo_title_tipologia_costruttiva" >
<div class="container-fluid">
@ -596,14 +570,14 @@
</div>
</div>
<div class="row">
<div class="col-sm-12 col-md-12 ">
<div class="col-sm-12">
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "tcAltro") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%=LanguageUtil.get(pageContext, "tc-altro") %></br>
<span style="margin-left:20px"><strong><%=BeanPropertiesUtil.getString(dettPratica, "tcAltroDescrizione") %></strong></span>
</div>
</div>
<div class="row">
<div class="col-sm-6 col-md-6 ">
<div class="col-sm-6">
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "tcConDispositivi") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%=LanguageUtil.get(pageContext, "tc-con-dispositivi") %>
</div>
@ -615,7 +589,7 @@
</div>
<div class="row">
<div class="col-sm-12 col-md-12 anagrafica-soggetti">
<div class="col-sm-12 anagrafica-soggetti">
<div class="module-group">
<liferay-ui:panel extended="false" defaultState="open" collapsible="false" title="fascicolo_title_soggetti" >
<% boolean inBO = true; %>
@ -629,7 +603,7 @@
</div>
<div class="row">
<div class="col-sm-12 col-md-12 ">
<div class="col-sm-12">
<div class="module-group">
<liferay-ui:panel extended="false" defaultState="open" collapsible="false" title="Dati Metrici Descrittivi" >
<div class="container-fluid">
@ -665,7 +639,6 @@
<strong><%=LanguageUtil.get(pageContext,
"de-interrati-"+deInterrati)%></strong>
</c:if>
</div>
<div class="col-sm-6 col-md-4">
<%= LanguageUtil.get(pageContext, "de-superficie") %>:
@ -759,7 +732,7 @@
</div>
</div>
<div class="row">
<div class="col-sm-12 col-md-12 ">
<div class="col-sm-12">
<div class="module-group">
<liferay-ui:panel extended="false" defaultState="open" collapsible="false" title='<%= LanguageUtil.get(pageContext, "dcc")%>' >
<div class="container-fluid">
@ -769,7 +742,7 @@
%>
<c:if test="<%= Validator.isNotNull(fondazioni) %>">
<div class="row">
<div class="col-sm-12 col-md-12 ">
<div class="col-sm-12">
<div class="fascicolo_header_row"><%= LanguageUtil.get(pageContext, "dcc-fondazioni") %></div>
</div>
</div>
@ -784,31 +757,31 @@
</div>
</c:if>
<div class="row">
<div class="col-sm-12 col-md-12 ">
<div class="col-sm-12">
<div class="fascicolo_header_row"><%= LanguageUtil.get(pageContext, "dcc-strutture-ele") %></div>
</div>
</div>
<div class="row">
<div class="col-sm-12 col-md-12 " >
<div class="col-sm-12" >
<%= LanguageUtil.get(pageContext, "dcc-strutture-ele-murature") %>:
</div>
</div>
<div class="row">
<div class="col-sm-6 col-md-6 " >
<div class="col-sm-6" >
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "dccStruttureEleMuraturePietrame") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "dcc-strutture-ele-murature-pietrame") %>
</div>
<div class="col-sm-6 col-md-6 " >
<div class="col-sm-6" >
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "dccStruttureEleMuratureLaterizio") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "dcc-strutture-ele-murature-laterizio") %>
</div>
</div>
<div class="row">
<div class="col-sm-6 col-md-6 " >
<div class="col-sm-6" >
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "dccStruttureEleMuratureMisto") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "dcc-strutture-ele-murature-misto") %>
</div>
<div class="col-sm-6 col-md-6 " >
<div class="col-sm-6" >
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "dccStruttureEleMuratureStoriche") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "dcc-strutture-ele-murature-storiche") %>
</div>
@ -847,73 +820,71 @@
</div>
<div class="separator"></div>
<div class="row">
<div class="col-sm-12 col-md-12 ">
<div class="col-sm-12">
<%= LanguageUtil.get(pageContext, "dcc-strutture-ele-misto") %>:
</div>
</div>
<div class="row">
<div class="col-sm-6 col-md-6 " >
<div class="col-sm-6" >
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "dccStruttureEleMistoCA") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "dcc-strutture-ele-misto-c-a") %>
</div>
<div class="col-sm-6 col-md-6 " >
<div class="col-sm-6" >
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "dccStruttureEleMistoAcciaio") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "dcc-strutture-ele-misto-acciaio") %>
</div>
<div class="col-sm-6 col-md-6 " >
<div class="col-sm-6" >
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "dccStruttureEleMistoMuratura") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "dcc-strutture-ele-misto-muratura") %>
</div>
<div class="col-sm-6 col-md-6 " >
<div class="col-sm-6" >
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "dccStruttureEleMistoLegno") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "dcc-strutture-ele-misto-legno") %>
</div>
<div class="col-sm-6 col-md-6 " >
<div class="col-sm-6" >
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "dccStruttureEleMistoLegno") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "dcc-strutture-ele-misto-prefabbricato") %>
</div>
<div class="col-sm-6 col-md-6 " >
<div class="col-sm-6" >
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "dccStruttureEleAltro") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "dcc-strutture-ele-misto-altro") %>
<span style="margin-left:20px"><strong><%=BeanPropertiesUtil.getString(dettPratica, "dccStruttureEleAltroDescrizione") %></strong></span>
</div>
</div>
<div class="row">
<div class="col-sm-12 col-md-12 ">
<div class="col-sm-12">
<div class="fascicolo_header_row"><%= LanguageUtil.get(pageContext, "dcc-orizzontamenti") %></div>
</div>
</div>
<div class="row">
<div class="col-sm-6 col-md-6 " >
<div class="col-sm-6" >
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "dccOrizzontamentiCAAcciaio") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "dcc-orizzontamenti-c-a-acciaio") %>
</div>
<div class="col-sm-6 col-md-6 " >
<div class="col-sm-6" >
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "dccOrizzontamentiLegno") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "dcc-orizzontamenti-legno") %>
</div>
<div class="col-sm-6 col-md-6 " >
<div class="col-sm-6" >
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "dccOrizzontamentiLegnoCA") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "dcc-orizzontamenti-legno-c-a") %>
</div>
<div class="col-sm-6 col-md-6 " >
<div class="col-sm-6" >
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "dccOrizzontamentiLamieraGrecata") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "dcc-orizzontamenti-lamiera-grecata") %>
</div>
<div class="col-sm-6 col-md-6 " >
<div class="col-sm-6" >
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "dccOrizzontamentiVolte") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "dcc-orizzontamenti-volte") %>
</div>
<div class="col-sm-6 col-md-6 " >
<div class="col-sm-6" >
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "dccOrizzontamentiAltro") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "dcc-orizzontamenti-altro") %>
<span style="margin-left:20px"><strong><%=BeanPropertiesUtil.getString(dettPratica, "dccOrizzontamentiAltroDescrizione") %></strong></span>
</div>
</div>
<div class="row">
<div class="col-sm-12 col-md-12 ">
<div class="col-sm-12">
<div class="fascicolo_header_row"><%= LanguageUtil.get(pageContext, "dcc-copertura") %></div>
</div>
</div>
@ -922,114 +893,112 @@
String copertura = BeanPropertiesUtil.getString(dettPratica, "dccCopertura");
%>
<c:if test="<%= Validator.isNotNull(copertura) %>">
<div class="col-sm-12 col-md-12 " >
<div class="col-sm-12" >
<strong><%=LanguageUtil.get(pageContext,
"dcc-copertura-"+BeanPropertiesUtil.getString(dettPratica, "dccCopertura"))%></strong>
</div>
</c:if>
<div class="col-sm-6 col-md-6 " >
<div class="col-sm-6" >
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "dccCoperturaCAAcciaio") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "dcc-copertura-c-a-acciaio") %>
</div>
<div class="col-sm-6 col-md-6 " >
<div class="col-sm-6" >
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "dccCoperturaLegno") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "dcc-copertura-legno") %>
</div>
<div class="col-sm-6 col-md-6 " >
<div class="col-sm-6" >
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "dccCoperturaLegnoCA") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "dcc-copertura-legno-c-a") %>
</div>
<div class="col-sm-6 col-md-6 " >
<div class="col-sm-6" >
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "dccCoperturaLamieraGrecata") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "dcc-copertura-lamiera-grecata") %>
</div>
<div class="col-sm-6 col-md-6 " >
<div class="col-sm-6" >
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "dccCoperturaPannelli") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "dcc-copertura-pannelli") %>
</div>
<div class="col-sm-6 col-md-6 " >
<div class="col-sm-6" >
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "dccCoperturaPVCTelonati") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "dcc-copertura-p-v-c-telonati") %>
</div>
<div class="col-sm-6 col-md-6 " >
<div class="col-sm-6" >
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "dccCoperturaLeggere") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "dcc-copertura-leggere") %>
</div>
<div class="col-sm-6 col-md-6 " >
<div class="col-sm-6" >
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "dccCoperturaAltro") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "dcc-copertura-altro") %>
<span style="margin-left:20px"><strong><%=BeanPropertiesUtil.getString(dettPratica, "dccCoperturaAltroDesrizione") %></strong></span>
</div>
</div>
<div class="row">
<div class="col-sm-12 col-md-12 ">
<div class="col-sm-12">
<div class="fascicolo_header_row"><%= LanguageUtil.get(pageContext, "dcc-elem-non-strut") %></div>
</div>
</div>
<div class="row">
<div class="col-sm-6 col-md-6 " >
<div class="col-sm-6" >
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "dccElemNonStrutLaterizio") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "dcc-elem-non-strut-laterizio") %>
</div>
<div class="col-sm-6 col-md-6 " >
<div class="col-sm-6" >
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "dccElemNonStrutCartongesso") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "dcc-elem-non-strut-cartongesso") %>
</div>
<div class="col-sm-6 col-md-6 " >
<div class="col-sm-6" >
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "dccElemNonStrutCalcestruzzo") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "dcc-elem-non-strut-calcestruzzo") %>
</div>
<div class="col-sm-6 col-md-6 " >
<div class="col-sm-6" >
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "dccElemNonStrutLegno") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "dcc-elem-non-strut-legno") %>
</div>
<div class="col-sm-12 col-md-12 " >
<div class="col-sm-12" >
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "dccElemNonStrutAltro") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "dcc-elem-non-strut-altro") %>
<span style="margin-left:20px"><strong><%=BeanPropertiesUtil.getString(dettPratica, "dccElemNonStrutAltroDescrizione") %></strong></span>
</div>
</div>
<div class="row">
<div class="col-sm-12 col-md-12 ">
<div class="col-sm-12">
<div class="fascicolo_header_row"><%= LanguageUtil.get(pageContext, "dcc-opere-di-rinforzo") %></div>
</div>
</div>
<div class="row">
<div class="col-sm-6 col-md-6 " >
<div class="col-sm-6" >
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "dccOpereDiRinforzoInsCatene") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "dcc-opere-di-rinforzo-ins-catene") %>
</div>
<div class="col-sm-6 col-md-6 " >
<div class="col-sm-6" >
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "dccOpereDiRinforzoInsCordoli") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "dcc-opere-di-rinforzo-ins-cordoli") %>
</div>
<div class="col-sm-6 col-md-6 " >
<div class="col-sm-6" >
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "dccOpereDiRinforzoIniArmate") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "dcc-opere-di-rinforzo-ini-armate") %>
</div>
<div class="col-sm-6 col-md-6 " >
<div class="col-sm-6" >
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "dccOpereDiRinforzoPlaccaggi") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "dcc-opere-di-rinforzo-placcaggi") %>
</div>
<div class="col-sm-6 col-md-6 " >
<div class="col-sm-6" >
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "dccOpereDiRinforzoIrrSolai") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "dcc-opere-di-rinforzo-irr-solai") %>
</div>
<div class="col-sm-6 col-md-6 " >
<div class="col-sm-6" >
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "dccOpereDiRinforzoRinforziFRP") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "dcc-opere-di-rinforzo-rinforzi-f-r-p") %>
</div>
<div class="col-sm-6 col-md-6 " >
<div class="col-sm-6" >
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "dccOpereDiRinforzoTelaiECerchiature") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "dcc-opere-di-rinforzo-telai-e-cerchiature") %>
</div>
<div class="col-sm-6 col-md-6 " >
<div class="col-sm-6" >
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "dccOpereDiRinforzoInsRompitratta") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "dcc-opere-di-rinforzo-ins-rompitratta") %>
</div>
<div class="col-sm-12 col-md-12 " >
<div class="col-sm-12" >
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "dccOpereDiRinforzoAltro") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "dcc-opere-di-rinforzo-altro") %>
<span style="margin-left:20px"><strong><%=BeanPropertiesUtil.getString(dettPratica, "dccOpereDiRinforzoAltroDescrizione") %></strong></span>
@ -1041,12 +1010,12 @@
</div>
</div>
<div class="row">
<div class="col-sm-12 col-md-12 ">
<div class="col-sm-12">
<div class="module-group">
<liferay-ui:panel extended="false" defaultState="open" collapsible="false" title='<%= LanguageUtil.get(pageContext, "di") %>' >
<div class="container-fluid">
<div class="row">
<div class="col-sm-12 col-md-12 ">
<div class="col-sm-12">
<div class="fascicolo_header_row"><%= LanguageUtil.get(pageContext, "de-inf") %></div>
</div>
</div>
@ -1129,12 +1098,10 @@
</div>
</div>
<div class="row">
<div class="col-sm-12 col-md-12 ">
<div class="col-sm-12">
<div class="module-group">
<liferay-ui:panel extended="false" defaultState="open" collapsible="false" title='<%= LanguageUtil.get(pageContext, "geo") %>' >
<!-- ******************************************************************************
<!-- ADT : bug fe id 14 : visualizzazione deleghe eseguite -->
<%-- ADT : bug fe id 14 : visualizzazione deleghe eseguite --%>
<c:if test='<%=DelegaLocalServiceUtil.countByDettPratica_Tipologia_InEsito(dettPraticaId,new String[]{DelegheUtil.TIPO_GEOLOGO},new String[]{DelegheUtil.STATO_ESEGUITA})>0 %>' >
<div class="container-fluid clearfix">
<h4 class="title-fascicolo pull-left">Gestione Deleghe</h4>
@ -1145,12 +1112,8 @@
OrderByComparator orderByComparator = OrderByComparatorFactoryUtil.create("portos_bo_Delega", orderByCol, "asc".equals(orderByType));
DisplayTerms displayTerms = new DisplayTerms(renderRequest);
%>
<div class="gestione-deleghe" id="<portlet:namespace />gestione-deleghe">
<liferay-ui:search-container displayTerms="<%=displayTerms %>" emptyResultsMessage="no-entries-were-found" orderByCol="<%=orderByCol %>" orderByType="<%=orderByType %>">
<liferay-ui:search-container-results>
<%
results = DelegaLocalServiceUtil.findByDettPratica_Tipologia_InEsito(dettPraticaId, new String[] { DelegheUtil.TIPO_GEOLOGO }, new String[] { DelegheUtil.STATO_ESEGUITA }, QueryUtil.ALL_POS, QueryUtil.ALL_POS, orderByComparator);
@ -1159,34 +1122,33 @@
pageContext.setAttribute("total", total);
%>
</liferay-ui:search-container-results>
<liferay-ui:search-container-row className="it.tref.liferay.portos.bo.model.Delega" keyProperty="delegaId" modelVar="delega">
<liferay-ui:search-container-column-text name="Soggetto" orderable="true" >
<%
if (SoggettoLocalServiceUtil.countValidByIntPratica_CodiceFiscale(intPraticaId, delega.getCodiceFiscale()) > 0) {
List<Soggetto> soggetti = SoggettoLocalServiceUtil.findByIntPratica_CodiceFiscale(intPraticaId, delega.getCodiceFiscale());
for (Soggetto soggetto : soggetti) {
out.print("<div>"+soggetto.getDescrizioneCompleta()+" "+LanguageUtil.get(pageContext, "gc-soggetto-"+soggetto.getTipologiaSoggetto())+"</div>");
out.print("<div>");
out.print(soggetto.getDescrizioneCompleta());
out.print(" ");
out.print(LanguageUtil.get(pageContext, "gc-soggetto-" + soggetto.getTipologiaSoggetto()));
out.print("</div>");
}
}
%>
</liferay-ui:search-container-column-text>
<liferay-ui:search-container-column-text name="tipologia" orderable="true" >
<liferay-ui:message key='<%="label-deleghe-tipologia-"+delega.getTipologia() %>'></liferay-ui:message >
<liferay-ui:message key='<%= "label-deleghe-tipologia-" + delega.getTipologia() %>' / >
</liferay-ui:search-container-column-text>
<liferay-ui:search-container-column-date name="attiva-dal" property="createDate" orderable="true" />
<liferay-ui:search-container-column-date name="chiusa-il" property="dtEsito" orderable="true" />
<liferay-ui:search-container-column-text name="status" orderable="true" >
<liferay-ui:message key='<%="label-deleghe-status-"+delega.getEsito() %>'></liferay-ui:message >
<liferay-ui:message key='<%= "label-deleghe-status-" + delega.getEsito() %>' / >
</liferay-ui:search-container-column-text>
<liferay-ui:search-container-column-text name="File" cssClass="text-center">
<%
String downloadUrl = null;
long docPraticaId =0l ;
long docPraticaId = 0;
List<DocPratica> docPraticas =DocPraticaLocalServiceUtil.findByIntPratica_ClassPk_TipologiaNew(delega.getIntPraticaId(), delega.getDelegaId(), "D_GEO_", QueryUtil.ALL_POS, QueryUtil.ALL_POS);
for (DocPratica docPratica : docPraticas) {
docPraticaId = docPratica.getDocPraticaId();
@ -1196,23 +1158,12 @@
<c:if test="<%= Validator.isNotNull(downloadUrl) %>">
<liferay-ui:icon linkCssClass="btn btn-action" iconCssClass="fa fa-download" message="Download" url="<%= downloadUrl %>" />
</c:if>
</liferay-ui:search-container-column-text>
</liferay-ui:search-container-row>
<liferay-ui:search-iterator paginate="false" />
</liferay-ui:search-container>
</div>
</c:if>
<!-- ************************************************************************************************************* -->
<!-- ************************************************************************************************************* -->
<div class="container-fluid">
<div class="row">
<div class="col-sm-6 col-md-4">
@ -1225,11 +1176,10 @@
<c:if test="<%=Validator.isNotNull(geoDate) %>">
<strong><%= dateFormatDate.format(geoDate) %></strong>
</c:if>
</div>
</div>
<div class="row">
<div class="col-sm-12 col-md-12 ">
<div class="col-sm-12">
<div class="fascicolo_header_row"><%= LanguageUtil.get(pageContext, "geo-scheda-title") %></div>
</div>
</div>
@ -1434,7 +1384,7 @@
</div>
</div>
<div class="row">
<div class="col-sm-12 col-md-12 ">
<div class="col-sm-12">
<div class="module-group allegati-dettagli">
<liferay-ui:panel extended="false" defaultState="open" collapsible="false" title="Allegati Geologici" >
<div class="row" id="<portlet:namespace/>allegati-geologica-table">
@ -1453,7 +1403,7 @@
</div>
</div>
<div class="row">
<div class="col-sm-12 col-md-12 ">
<div class="col-sm-12">
<div class="module-group allegati-dettagli">
<liferay-ui:panel extended="false" defaultState="open" collapsible="false" title="Allegati Domanda" >
<div class="row" id="<portlet:namespace/>allegati-table">
@ -1471,7 +1421,7 @@
</div>
</div>
<div class="row">
<div class="col-sm-12 col-md-12 ">
<div class="col-sm-12">
<div class="module-group sezione-pagamenti">
<liferay-ui:panel extended="false" defaultState="open" collapsible="false" title="fascicolo_title_pagamenti" >
<liferay-util:include page="/html/pagamenti/view_panel_pagamenti.jsp" servletContext='<%= ServletContextPool.get("portos-bo-portlet") %>'>