Sfoglia il codice sorgente

Pareri endoprocedimentali in attesa in "Le mie attività"

master
Salvatore La Manna 3 anni fa
parent
commit
c212ec3c41
  1. 26
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/gestioneattivita/view_columns.jspf

26
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/gestioneattivita/view_columns.jspf

@ -1,3 +1,5 @@
<%@page import="it.tref.liferay.portos.bo.service.ParereGeologoLocalServiceUtil"%>
<%@page import="it.tref.liferay.portos.bo.model.ParereGeologo"%>
<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@page import="com.liferay.portal.kernel.dao.orm.QueryUtil"%>
<%@page import="com.liferay.portal.kernel.language.LanguageUtil"%>
@ -182,6 +184,30 @@ DettPratica lastDettPratica = DettPraticaLocalServiceUtil.getLastCompletedByIntP
<liferay-ui:search-container-column-text name="provincia" >
<%= provincia.getProvincia() %> - <%= comune.getDenominazione() %>
</liferay-ui:search-container-column-text>
<c:if test='<%= "Tab_MieiTask".equals(currentTab) %>'>
<liferay-ui:search-container-column-text name="pareri-endoprocedimentali">
<%
if (ParereGeologoLocalServiceUtil.countByIntPraticaId(intPratica.getIntPraticaId()) > 0) {
List<ParereGeologo> inCorso = ParereGeologoLocalServiceUtil.findByIntPraticaIdInCorso(
intPratica.getIntPraticaId(), QueryUtil.ALL_POS, QueryUtil.ALL_POS);
if (inCorso.size() > 0) {
out.print("In attesa di:<ul style=\"list-style:disc inside\">");
for (ParereGeologo parere : inCorso) {
%>
<li>
<%= dateFormatDate.format(parere.getCreateDate()) %>:
<%= UserLocalServiceUtil.fetchUser(parere.getGeologoUserId()).getFullName() %>
</li>
<%
}
out.print("</ul>");
} else {
out.print("<i class=\"fa icon-ok text-success\"></i> Pareri già espressi");
}
}
%>
</liferay-ui:search-container-column-text>
</c:if>
<liferay-ui:search-container-column-text name="GG*" cssClass="text-center">
<%= ControlloPraticaLocalServiceUtil.calculateDateAvvioProcedimento(controlloPratica
.getControlloPraticaId()) %>

Caricamento…
Annulla
Salva