From 3b34db73815e117b13ca5d451e3964e99f92d312 Mon Sep 17 00:00:00 2001 From: Salvatore La Manna Date: Fri, 6 Aug 2021 10:26:46 +0200 Subject: [PATCH] Fix abort_fascicolo.jsp --- .../docroot/WEB-INF/src/service.properties | 4 ++-- .../docroot/html/fascicolofe/abort_fascicolo.jsp | 10 ++++++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/service.properties b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/service.properties index 55275b58..a86df488 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/service.properties +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/service.properties @@ -13,8 +13,8 @@ ## build.namespace=portos_bo - build.number=3147 - build.date=1627659608232 + build.number=3148 + build.date=1628236894880 build.auto.upgrade=true ## diff --git a/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/abort_fascicolo.jsp b/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/abort_fascicolo.jsp index 0001b1ca..2621df8b 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/abort_fascicolo.jsp +++ b/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/abort_fascicolo.jsp @@ -57,9 +57,15 @@
<% - Soggetto titolareDigitale = SoggettoLocalServiceUtil.getValidByIntPratica_CodiceFiscale(intPraticaId, user.getScreenName()).get(0); + String descrizione = null; + List titolari = SoggettoLocalServiceUtil.getValidByIntPratica_CodiceFiscale(intPraticaId, user.getScreenName()); + if (titolari.isEmpty()) { + descrizione = user.getFirstName() + StringPool.SPACE + user.getLastName() + StringPool.SPACE + user.getScreenName(); + } else { + descrizione = titolari.get(0).getDescrizioneCompleta(); + } %> - +