Sfoglia il codice sorgente

fix reports

feature/pannello-pratiche
marcoalderighi 2 anni fa
parent
commit
acc304d024
  1. 90
      jasper/reports-2023/FL1_avviso_inizio_lavori.jrxml
  2. 116
      jasper/reports-2023/FL2_avviso_fine_lavori.jrxml
  3. 151
      jasper/reports-2023/FL3-4_vidimazione-attestazione.jrxml
  4. 8
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/AvvisoImpl.java
  5. 9
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/report/builder/bean/ReportAvvisoBean.java
  6. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/report/builder/builder/ReportAvvisoBeanBuilder.java
  7. 4
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/scheduler/SchedulerInvioDocumento.java
  8. 9
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/scheduler/SchedulerPratiche.java
  9. 4
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/util/ProtocollazioneUtil.java
  10. 16
      liferay-plugins-sdk-6.2/portlets/portos-report-engine-portlet/docroot/WEB-INF/src/it/tref/portos/report/engine/ReportDurataMediaIstruttorie.java
  11. 16
      liferay-plugins-sdk-6.2/portlets/portos-report-engine-portlet/docroot/WEB-INF/src/it/tref/portos/report/engine/ReportScadenzarioIstruttorie.java
  12. 2
      liferay-plugins-sdk-6.2/portlets/portos-report-engine-portlet/docroot/WEB-INF/src/it/tref/portos/report/engine/ReportTempisticheIstruttorie.java
  13. 4
      liferay-plugins-sdk-6.2/portlets/portos-report-engine-portlet/docroot/WEB-INF/src/it/tref/portos/report/engine/template/TemplatesADV.java

90
jasper/reports-2023/FL1_avviso_inizio_lavori.jrxml

@ -2,7 +2,7 @@
<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="vidimazione" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="afafe5d8-778e-4527-a33a-8c04000abd71">
<property name="ireport.zoom" value="1.9487171000000059"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="356"/>
<property name="ireport.y" value="529"/>
<property name="com.jaspersoft.studio.data.defaultdataadapter" value="One Empty Record"/>
<subDataset name="dataset1" whenResourceMissingType="Empty" uuid="c69a9629-80ab-47f7-a2f9-7db3f777d9a7">
<field name="codiceAllegato" class="java.lang.String"/>
@ -31,6 +31,10 @@
<field name="ubicazione" class="java.lang.String"/>
<field name="richiestaAttestazione" class="java.lang.Boolean"/>
<field name="dataPraticaString" class="java.lang.String"/>
<variable name="PAGE" class="java.lang.Integer" resetType="Page">
<variableExpression><![CDATA[$V{PAGE_NUMBER}]]></variableExpression>
<initialValueExpression><![CDATA[new Integer(0)]]></initialValueExpression>
</variable>
<pageHeader>
<band height="109" splitType="Stretch">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
@ -83,7 +87,7 @@
</band>
</pageHeader>
<detail>
<band height="521">
<band height="480">
<staticText>
<reportElement x="0" y="32" width="56" height="13" uuid="2bb6962b-397c-4592-ab9b-f49f30c26032"/>
<textElement>
@ -126,7 +130,7 @@
<text><![CDATA[Comune:]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="381" y="233" width="168" height="15" uuid="d880d447-9438-4750-be22-4b0b5bef3e63">
<reportElement positionType="Float" x="381" y="233" width="168" height="15" uuid="d880d447-9438-4750-be22-4b0b5bef3e63">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
@ -144,7 +148,7 @@
<text><![CDATA[Lavori di:]]></text>
</staticText>
<staticText>
<reportElement key="" x="266" y="202" width="115" height="15" uuid="4cae4c79-8532-4cbb-9d81-bde3f93c21b1">
<reportElement key="" positionType="Float" x="266" y="202" width="115" height="15" uuid="4cae4c79-8532-4cbb-9d81-bde3f93c21b1">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
@ -153,7 +157,7 @@
<text><![CDATA[Al Committente]]></text>
</staticText>
<staticText>
<reportElement x="266" y="233" width="115" height="15" uuid="9fe19eb8-bac2-4382-9120-ef8652c2617a">
<reportElement positionType="Float" x="266" y="233" width="115" height="15" uuid="9fe19eb8-bac2-4382-9120-ef8652c2617a">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
@ -171,7 +175,7 @@
<text><![CDATA[Committente:]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="91" y="161" width="458" height="15" uuid="59326b1c-3092-45ab-ba73-d188ee32f184">
<reportElement positionType="Float" x="91" y="161" width="458" height="15" uuid="59326b1c-3092-45ab-ba73-d188ee32f184">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
@ -179,7 +183,7 @@
</textElement>
<textFieldExpression><![CDATA[$F{numeroProgetto}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="91" y="131" width="458" height="15" uuid="64e8a0c4-3120-4359-9419-0c31feb752ba">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
@ -207,7 +211,7 @@
<textFieldExpression><![CDATA[$F{committente}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="9" y="161" width="82" height="15" uuid="7a2a67be-5d54-4aa9-b690-799f437cb642">
<reportElement positionType="Float" x="9" y="161" width="82" height="15" uuid="7a2a67be-5d54-4aa9-b690-799f437cb642">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
@ -216,7 +220,7 @@
<text><![CDATA[Progetto n.]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="381" y="202" width="168" height="15" uuid="f9c28d14-b419-47e8-8c47-a936d86fee32">
<reportElement positionType="Float" x="381" y="202" width="168" height="15" uuid="f9c28d14-b419-47e8-8c47-a936d86fee32">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
@ -225,7 +229,7 @@
<textFieldExpression><![CDATA[$F{committente}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="91" y="176" width="458" height="15" uuid="eebebb00-ee6a-490c-ba75-5fafadc9043d">
<reportElement positionType="Float" x="91" y="176" width="458" height="15" uuid="eebebb00-ee6a-490c-ba75-5fafadc9043d">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
@ -234,7 +238,7 @@
<textFieldExpression><![CDATA[$F{numeroProtocollo}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="9" y="176" width="82" height="15" uuid="75c195a3-8c3e-4aef-ada3-41361d35dffa">
<reportElement positionType="Float" x="9" y="176" width="82" height="15" uuid="75c195a3-8c3e-4aef-ada3-41361d35dffa">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
@ -243,7 +247,7 @@
<text><![CDATA[Protocollo n.]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="381" y="217" width="168" height="15" uuid="7c7cdd0e-ed24-4b4f-b405-32ff24b0150c">
<reportElement positionType="Float" x="381" y="217" width="168" height="15" uuid="7c7cdd0e-ed24-4b4f-b405-32ff24b0150c">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
@ -252,7 +256,7 @@
<textFieldExpression><![CDATA[$F{titolareDigitale}]]></textFieldExpression>
</textField>
<staticText>
<reportElement key="" x="266" y="217" width="115" height="15" uuid="c7bfa3ec-5129-4a9e-9be8-74c7287d34ba">
<reportElement key="" positionType="Float" x="266" y="217" width="115" height="15" uuid="c7bfa3ec-5129-4a9e-9be8-74c7287d34ba">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
@ -261,7 +265,7 @@
<text><![CDATA[c/o il suo delegato]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="381" y="248" width="168" height="15" isRemoveLineWhenBlank="true" uuid="4e4c5e60-7f2e-4459-b4cb-f7343e77dad3">
<reportElement positionType="Float" x="381" y="248" width="168" height="15" isRemoveLineWhenBlank="true" uuid="4e4c5e60-7f2e-4459-b4cb-f7343e77dad3">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[!"".equalsIgnoreCase( $F{collaudatore} ) && $F{collaudatore}!=null]]></printWhenExpression>
</reportElement>
@ -271,7 +275,7 @@
<textFieldExpression><![CDATA[$F{collaudatore}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="266" y="248" width="115" height="15" isRemoveLineWhenBlank="true" uuid="43505d3a-dbf3-4da8-8518-a8a175b6b4c6">
<reportElement positionType="Float" x="266" y="248" width="115" height="15" isRemoveLineWhenBlank="true" uuid="43505d3a-dbf3-4da8-8518-a8a175b6b4c6">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[!"".equalsIgnoreCase( $F{collaudatore} ) && $F{collaudatore}!=null]]></printWhenExpression>
</reportElement>
@ -307,18 +311,8 @@
</textElement>
<text><![CDATA[AVVISO DI INIZIO LAVORI]]></text>
</staticText>
<staticText>
<reportElement x="9" y="263" width="372" height="15" uuid="b15fa02b-5035-4b20-9e6a-e72131d79268">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[]]></printWhenExpression>
</reportElement>
<textElement textAlignment="Right">
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[e .p.c. : AI SUE/SUAP del Comune di ]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="381" y="263" width="168" height="15" isRemoveLineWhenBlank="true" uuid="8e769118-8cd7-489f-8e8d-793e1ece7135">
<reportElement positionType="Float" x="381" y="263" width="168" height="15" isRemoveLineWhenBlank="true" uuid="8e769118-8cd7-489f-8e8d-793e1ece7135">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
@ -327,39 +321,47 @@
<textFieldExpression><![CDATA[$F{comune}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="281" y="468" width="269" height="25" uuid="8822d5f2-6675-4305-b713-405fad7a2cb7">
<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="1" y="298" width="548" height="107" isRemoveLineWhenBlank="true" uuid="4bd713cd-d736-4511-96f7-60c6ac47d559"/>
<textElement textAlignment="Justified">
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[" In relazione all'istanza in oggetto, si rappresenta che i lavori strutturali di che trattasi sono stati iniziati " +
"in data " + $F{dataPraticaString} + " e che la relativa comunicazione è stata fatta " +
"attraverso il sistema informatico “Sismica” della Regione Siciliana. \n" +
" Copia della presente comunicazione sarà disponibile nella sezione “Cronologia” del " +
"portale SISMICA della Regione Siciliana. \n" +
" Il presente documento viene generato automaticamente dal sistema informatico " +
"SISMICA della Regione Siciliana."]]></textFieldExpression>
</textField>
<staticText>
<reportElement positionType="Float" x="72" y="263" width="302" height="15" uuid="18d75014-a1fb-4732-be27-6ecffbd4e749">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Right">
<font fontName="DejaVu Sans Bold" isBold="true"/>
</textElement>
<text><![CDATA[e .p.c. : AI SUE/SUAP del Comune di ]]></text>
</staticText>
<textField>
<reportElement positionType="Float" x="277" y="423" width="269" height="20" uuid="18642a9d-131c-452d-af39-2b04fe676cf6">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[$V{PAGE}.equals($V{PAGE_NUMBER}) ]]></printWhenExpression>
</reportElement>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="DejaVu Sans Bold" size="9" isBold="false" isStrikeThrough="false"/>
</textElement>
<textFieldExpression><![CDATA["Ufficio del Genio Civile"]]></textFieldExpression>
</textField>
<textField>
<reportElement x="281" y="494" width="269" height="25" uuid="ba47e88b-9538-4cb8-91b8-d5ff2178fdcf">
<reportElement positionType="Float" x="277" y="442" width="269" height="20" uuid="75e0a0cc-48e5-4df7-83f0-94be0b2cfa85">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[$V{PAGE}.equals($V{PAGE_NUMBER}) ]]></printWhenExpression>
</reportElement>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="DejaVu Sans Bold" size="9" isBold="false" isStrikeThrough="false"/>
</textElement>
<textFieldExpression><![CDATA["Il Dirigente del Servizio o suo Delegato"]]></textFieldExpression>
</textField>
<textField>
<reportElement stretchType="RelativeToTallestObject" x="1" y="298" width="548" height="100" isRemoveLineWhenBlank="true" uuid="4bd713cd-d736-4511-96f7-60c6ac47d559"/>
<textElement textAlignment="Justified">
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[" In relazione all'istanza in oggetto, si rappresenta che i lavori strutturali di che trattasi sono stati iniziati " +
"in data " + $F{dataPraticaString} + " e che la relativa comunicazione è stata fatta " +
"attraverso il sistema informatico “Sismica” della Regione Siciliana. \n" +
" Copia della presente comunicazione sarà disponibile nella sezione “Cronologia” del " +
"portale SISMICA della Regione Siciliana. \n" +
" Il presente documento viene generato automaticamente dal sistema informatico " +
"SISMICA della Regione Siciliana."]]></textFieldExpression>
</textField>
</band>
<band height="64">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</band>
</detail>
<pageFooter>

116
jasper/reports-2023/FL2_avviso_fine_lavori.jrxml

@ -2,7 +2,7 @@
<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="vidimazione" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="afafe5d8-778e-4527-a33a-8c04000abd71">
<property name="ireport.zoom" value="1.9487171000000059"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="331"/>
<property name="ireport.y" value="624"/>
<property name="com.jaspersoft.studio.data.defaultdataadapter" value="One Empty Record"/>
<subDataset name="dataset1" whenResourceMissingType="Empty" uuid="c69a9629-80ab-47f7-a2f9-7db3f777d9a7">
<field name="codiceAllegato" class="java.lang.String"/>
@ -31,6 +31,14 @@
<field name="ubicazione" class="java.lang.String"/>
<field name="richiestaAttestazione" class="java.lang.Boolean"/>
<field name="dataPraticaString" class="java.lang.String"/>
<field name="dataFineLavoriString" class="java.lang.String"/>
<variable name="PAGE" class="java.lang.Integer" resetType="Page">
<variableExpression><![CDATA[$V{PAGE_NUMBER}]]></variableExpression>
<initialValueExpression><![CDATA[new Integer(0)]]></initialValueExpression>
</variable>
<variable name="parzialeString" class="java.lang.String">
<initialValueExpression><![CDATA[$F{parziale} ? "parziale" : ""]]></initialValueExpression>
</variable>
<pageHeader>
<band height="109" splitType="Stretch">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
@ -74,16 +82,27 @@
<staticText>
<reportElement x="9" y="0" width="211" height="16" uuid="b97584e9-6fea-45c9-9d5c-f886e3a5b382">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[!$F{parziale}]]></printWhenExpression>
</reportElement>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="DejaVu Sans" size="12" isBold="false"/>
</textElement>
<text><![CDATA[AVVISO FINE LAVORI]]></text>
</staticText>
<staticText>
<reportElement x="9" y="1" width="211" height="16" uuid="69ac3b7f-16ed-4247-9cfd-8df152a08af4">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[$F{parziale}]]></printWhenExpression>
</reportElement>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="DejaVu Sans" size="12" isBold="false"/>
</textElement>
<text><![CDATA[AVVISO FINE LAVORI PARZIALE]]></text>
</staticText>
</band>
</pageHeader>
<detail>
<band height="565">
<band height="490">
<staticText>
<reportElement x="0" y="32" width="56" height="13" uuid="2bb6962b-397c-4592-ab9b-f49f30c26032"/>
<textElement>
@ -126,7 +145,7 @@
<text><![CDATA[Comune:]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="381" y="232" width="168" height="15" uuid="d880d447-9438-4750-be22-4b0b5bef3e63">
<reportElement positionType="Float" x="381" y="225" width="168" height="15" uuid="d880d447-9438-4750-be22-4b0b5bef3e63">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
@ -144,7 +163,7 @@
<text><![CDATA[Lavori di:]]></text>
</staticText>
<staticText>
<reportElement key="" x="266" y="202" width="115" height="15" uuid="4cae4c79-8532-4cbb-9d81-bde3f93c21b1">
<reportElement key="" positionType="Float" x="266" y="195" width="115" height="15" uuid="4cae4c79-8532-4cbb-9d81-bde3f93c21b1">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
@ -153,7 +172,7 @@
<text><![CDATA[Al Committente]]></text>
</staticText>
<staticText>
<reportElement x="266" y="232" width="115" height="15" uuid="9fe19eb8-bac2-4382-9120-ef8652c2617a">
<reportElement positionType="Float" x="266" y="225" width="115" height="15" uuid="9fe19eb8-bac2-4382-9120-ef8652c2617a">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
@ -171,7 +190,7 @@
<text><![CDATA[Committente:]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="91" y="161" width="458" height="15" uuid="59326b1c-3092-45ab-ba73-d188ee32f184">
<reportElement positionType="Float" x="91" y="161" width="458" height="15" uuid="59326b1c-3092-45ab-ba73-d188ee32f184">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
@ -179,7 +198,7 @@
</textElement>
<textFieldExpression><![CDATA[$F{numeroProgetto}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="91" y="131" width="458" height="15" uuid="64e8a0c4-3120-4359-9419-0c31feb752ba">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
@ -207,7 +226,7 @@
<textFieldExpression><![CDATA[$F{committente}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="9" y="161" width="82" height="15" uuid="7a2a67be-5d54-4aa9-b690-799f437cb642">
<reportElement positionType="Float" x="9" y="161" width="82" height="15" uuid="7a2a67be-5d54-4aa9-b690-799f437cb642">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
@ -216,7 +235,7 @@
<text><![CDATA[Progetto n.]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="381" y="202" width="168" height="15" uuid="f9c28d14-b419-47e8-8c47-a936d86fee32">
<reportElement positionType="Float" x="381" y="195" width="168" height="15" uuid="f9c28d14-b419-47e8-8c47-a936d86fee32">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
@ -225,7 +244,7 @@
<textFieldExpression><![CDATA[$F{committente}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="91" y="176" width="458" height="15" uuid="eebebb00-ee6a-490c-ba75-5fafadc9043d">
<reportElement positionType="Float" x="91" y="176" width="458" height="15" uuid="eebebb00-ee6a-490c-ba75-5fafadc9043d">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
@ -234,7 +253,7 @@
<textFieldExpression><![CDATA[$F{numeroProtocollo}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="9" y="176" width="82" height="15" uuid="75c195a3-8c3e-4aef-ada3-41361d35dffa">
<reportElement positionType="Float" x="9" y="176" width="82" height="15" uuid="75c195a3-8c3e-4aef-ada3-41361d35dffa">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
@ -243,7 +262,7 @@
<text><![CDATA[Protocollo n.]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="381" y="217" width="168" height="15" uuid="7c7cdd0e-ed24-4b4f-b405-32ff24b0150c">
<reportElement positionType="Float" x="381" y="210" width="168" height="15" uuid="7c7cdd0e-ed24-4b4f-b405-32ff24b0150c">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
@ -252,7 +271,7 @@
<textFieldExpression><![CDATA[$F{titolareDigitale}]]></textFieldExpression>
</textField>
<staticText>
<reportElement key="" x="266" y="217" width="115" height="15" uuid="c7bfa3ec-5129-4a9e-9be8-74c7287d34ba">
<reportElement key="" positionType="Float" x="266" y="210" width="115" height="15" uuid="c7bfa3ec-5129-4a9e-9be8-74c7287d34ba">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
@ -261,7 +280,7 @@
<text><![CDATA[c/o il suo delegato]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="381" y="247" width="168" height="15" isRemoveLineWhenBlank="true" uuid="4e4c5e60-7f2e-4459-b4cb-f7343e77dad3">
<reportElement positionType="Float" x="381" y="240" width="168" height="15" isRemoveLineWhenBlank="true" uuid="4e4c5e60-7f2e-4459-b4cb-f7343e77dad3">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[!"".equalsIgnoreCase( $F{collaudatore} ) && $F{collaudatore}!=null]]></printWhenExpression>
</reportElement>
@ -271,7 +290,7 @@
<textFieldExpression><![CDATA[$F{collaudatore}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="266" y="247" width="115" height="15" isRemoveLineWhenBlank="true" uuid="43505d3a-dbf3-4da8-8518-a8a175b6b4c6">
<reportElement positionType="Float" x="266" y="240" width="115" height="15" isRemoveLineWhenBlank="true" uuid="43505d3a-dbf3-4da8-8518-a8a175b6b4c6">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[!"".equalsIgnoreCase( $F{collaudatore} ) && $F{collaudatore}!=null]]></printWhenExpression>
</reportElement>
@ -281,7 +300,7 @@
<text><![CDATA[Al Collaudatore]]></text>
</staticText>
<staticText>
<reportElement x="9" y="146" width="82" height="15" uuid="b51c76f6-33b6-4a2b-b261-b382e5ffb7d6">
<reportElement positionType="Float" x="9" y="146" width="94" height="15" uuid="b51c76f6-33b6-4a2b-b261-b382e5ffb7d6">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
@ -290,7 +309,7 @@
<text><![CDATA[Ubicazione:]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="91" y="146" width="458" height="15" uuid="0ecba67a-e48b-4fcd-8522-feebc5761ee9">
<reportElement positionType="Float" x="91" y="146" width="458" height="15" uuid="0ecba67a-e48b-4fcd-8522-feebc5761ee9">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
@ -301,24 +320,15 @@
<staticText>
<reportElement x="170" y="73" width="211" height="16" isRemoveLineWhenBlank="true" uuid="e33ff8f9-7c08-417f-8a0b-f07f7fab27d7">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[!$F{parziale}]]></printWhenExpression>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="DejaVu Sans Bold" size="9" isBold="true"/>
</textElement>
<text><![CDATA[AVVISO DI FINE LAVORI]]></text>
</staticText>
<staticText>
<reportElement x="22" y="262" width="359" height="15" uuid="b15fa02b-5035-4b20-9e6a-e72131d79268">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[]]></printWhenExpression>
</reportElement>
<textElement textAlignment="Right">
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[e .p.c. : AI SUE/SUAP del Comune di ]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="381" y="262" width="168" height="15" isRemoveLineWhenBlank="true" uuid="8e769118-8cd7-489f-8e8d-793e1ece7135">
<reportElement positionType="Float" x="381" y="255" width="168" height="15" isRemoveLineWhenBlank="true" uuid="8e769118-8cd7-489f-8e8d-793e1ece7135">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
@ -326,8 +336,30 @@
</textElement>
<textFieldExpression><![CDATA[$F{comune}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true">
<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="1" y="293" width="548" height="91" isRemoveLineWhenBlank="true" uuid="4bd713cd-d736-4511-96f7-60c6ac47d559"/>
<textElement textAlignment="Justified">
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[" In relazione all'istanza in oggetto, si rappresenta che i lavori strutturali di che trattasi sono stati ultimati " +
"in data " + $F{dataFineLavoriString} + " e che la relativa comunicazione è stata fatta " +
"attraverso il sistema informatico “Sismica” della Regione Siciliana. \n" +
" Copia della presente comunicazione sarà disponibile nella sezione “Cronologia” del " +
"portale SISMICA della Regione Siciliana. \n" +
" Il presente documento viene generato automaticamente dal sistema informatico " +
"SISMICA della Regione Siciliana."]]></textFieldExpression>
</textField>
<staticText>
<reportElement positionType="Float" x="33" y="255" width="340" height="15" uuid="87592c9b-64b6-4ba9-a12c-27e3c23c40d7">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Right">
<font fontName="DejaVu Sans Bold" isBold="true"/>
</textElement>
<text><![CDATA[e .p.c. : AI SUE/SUAP del Comune di ]]></text>
</staticText>
<textField>
<reportElement x="281" y="472" width="269" height="25" uuid="8822d5f2-6675-4305-b713-405fad7a2cb7">
<reportElement positionType="Float" x="125" y="419" width="425" height="20" uuid="8822d5f2-6675-4305-b713-405fad7a2cb7">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Right" verticalAlignment="Middle">
@ -336,7 +368,7 @@
<textFieldExpression><![CDATA["Ufficio del Genio Civile"]]></textFieldExpression>
</textField>
<textField>
<reportElement x="281" y="498" width="269" height="25" uuid="ba47e88b-9538-4cb8-91b8-d5ff2178fdcf">
<reportElement positionType="Float" x="125" y="439" width="425" height="20" uuid="ba47e88b-9538-4cb8-91b8-d5ff2178fdcf">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Right" verticalAlignment="Middle">
@ -344,22 +376,16 @@
</textElement>
<textFieldExpression><![CDATA["Il Dirigente del Servizio o suo Delegato"]]></textFieldExpression>
</textField>
<textField>
<reportElement stretchType="RelativeToTallestObject" x="1" y="293" width="548" height="118" isRemoveLineWhenBlank="true" uuid="4bd713cd-d736-4511-96f7-60c6ac47d559"/>
<textElement textAlignment="Justified">
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[" In relazione all'istanza in oggetto, si rappresenta che i lavori strutturali di che trattasi sono stati ultimati " +
"in data " + $F{dataPraticaString} + " e che la relativa comunicazione è stata fatta " +
"attraverso il sistema informatico “Sismica” della Regione Siciliana. \n" +
" Copia della presente comunicazione sarà disponibile nella sezione “Cronologia” del " +
"portale SISMICA della Regione Siciliana. \n" +
" Il presente documento viene generato automaticamente dal sistema informatico " +
"SISMICA della Regione Siciliana."]]></textFieldExpression>
</textField>
</band>
<band height="64">
<staticText>
<reportElement x="170" y="73" width="211" height="16" isRemoveLineWhenBlank="true" uuid="72f529fe-3e79-41f5-b030-d088bb3a37f2">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[$F{parziale}]]></printWhenExpression>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="DejaVu Sans Bold" size="9" isBold="true"/>
</textElement>
<text><![CDATA[AVVISO DI FINE LAVORI PARZIALE]]></text>
</staticText>
</band>
</detail>
<pageFooter>

151
jasper/reports-2023/FL3-4_vidimazione-attestazione.jrxml

@ -2,7 +2,7 @@
<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="vidimazione" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="afafe5d8-778e-4527-a33a-8c04000abd71">
<property name="ireport.zoom" value="1.9487171000000059"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="720"/>
<property name="ireport.y" value="624"/>
<property name="com.jaspersoft.studio.data.defaultdataadapter" value="One Empty Record"/>
<subDataset name="dataset1" whenResourceMissingType="Empty" uuid="c69a9629-80ab-47f7-a2f9-7db3f777d9a7">
<field name="codiceAllegato" class="java.lang.String"/>
@ -31,6 +31,15 @@
<field name="ubicazione" class="java.lang.String"/>
<field name="richiestaAttestazione" class="java.lang.Boolean"/>
<field name="dataPraticaString" class="java.lang.String"/>
<field name="dataFineLavoriString" class="java.lang.String"/>
<variable name="PAGE" class="java.lang.Integer" resetType="Page" incrementType="Page">
<variableExpression><![CDATA[$V{PAGE_NUMBER}]]></variableExpression>
<initialValueExpression><![CDATA[new Integer(0)]]></initialValueExpression>
</variable>
<variable name="CURPAGE" class="java.lang.Integer" resetType="Page" incrementType="Page">
<variableExpression><![CDATA[$V{CURPAGE}+1]]></variableExpression>
<initialValueExpression><![CDATA[new Integer(0)]]></initialValueExpression>
</variable>
<pageHeader>
<band height="109" splitType="Stretch">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
@ -69,7 +78,7 @@
<reportElement x="0" y="-75" width="555" height="1" uuid="4134836a-6121-4e04-94f5-b4df956806e0"/>
</line>
<rectangle>
<reportElement mode="Transparent" x="0" y="16" width="554" height="93" uuid="43161f21-9f25-415d-a5eb-44f0d8acf9aa"/>
<reportElement mode="Transparent" x="1" y="16" width="554" height="93" uuid="43161f21-9f25-415d-a5eb-44f0d8acf9aa"/>
</rectangle>
<staticText>
<reportElement x="9" y="0" width="211" height="16" uuid="b97584e9-6fea-45c9-9d5c-f886e3a5b382">
@ -80,26 +89,44 @@
</textElement>
<text><![CDATA[AVVISO VIDIMAZIONE FINE LAVORI]]></text>
</staticText>
<staticText>
<reportElement x="18" y="93" width="48" height="10" uuid="9c02b9ef-d63d-4ff8-91c7-847ce4dc3089">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans" size="8" isBold="false" isItalic="false"/>
</textElement>
<text><![CDATA[Data Avviso]]></text>
</staticText>
<textField>
<reportElement x="71" y="93" width="100" height="10" uuid="b00132cd-3cbc-444d-859f-f3593f5c3dcb">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans" size="8"/>
</textElement>
<textFieldExpression><![CDATA[new SimpleDateFormat("dd/MM/yyyy").format($F{dataAvviso})]]></textFieldExpression>
</textField>
</band>
</pageHeader>
<detail>
<band height="563">
<band height="533">
<staticText>
<reportElement x="0" y="32" width="56" height="13" uuid="2bb6962b-397c-4592-ab9b-f49f30c26032"/>
<reportElement x="0" y="9" width="56" height="13" uuid="2bb6962b-397c-4592-ab9b-f49f30c26032"/>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Oggetto:]]></text>
</staticText>
<staticText>
<reportElement x="56" y="32" width="492" height="26" uuid="78d30ce8-19a2-45c0-a5ef-0b2b99805f29"/>
<reportElement x="56" y="9" width="492" height="26" uuid="78d30ce8-19a2-45c0-a5ef-0b2b99805f29"/>
<textElement>
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<text><![CDATA[Zone Sismiche - D.P.R. n. 380/2001 e ss. mm. ii.]]></text>
</staticText>
<staticText>
<reportElement x="56" y="45" width="272" height="14" isRemoveLineWhenBlank="true" uuid="a906354d-7715-4d0e-9986-435b43df854f">
<reportElement x="56" y="22" width="272" height="14" isRemoveLineWhenBlank="true" uuid="a906354d-7715-4d0e-9986-435b43df854f">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[! $F{richiestaAttestazione}]]></printWhenExpression>
</reportElement>
@ -109,25 +136,7 @@
<text><![CDATA[- Relazione fine lavori strutturali]]></text>
</staticText>
<staticText>
<reportElement x="8" y="-15" width="48" height="10" uuid="cf3a9429-2047-45c9-980a-7ac93d430de0">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans" size="8" isBold="false" isItalic="false"/>
</textElement>
<text><![CDATA[Data Avviso]]></text>
</staticText>
<textField>
<reportElement x="61" y="-15" width="100" height="10" uuid="e8e8a449-23ae-48da-aa8d-84423c088646">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans" size="8"/>
</textElement>
<textFieldExpression><![CDATA[new SimpleDateFormat("dd/MM/yyyy").format($F{dataAvviso})]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="9" y="119" width="82" height="15" uuid="db348311-9894-42af-ae4e-727d96f8aa08">
<reportElement x="9" y="96" width="82" height="15" uuid="db348311-9894-42af-ae4e-727d96f8aa08">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
@ -136,7 +145,7 @@
<text><![CDATA[Comune:]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="381" y="250" width="168" height="15" uuid="d880d447-9438-4750-be22-4b0b5bef3e63">
<reportElement positionType="Float" x="381" y="220" width="168" height="15" uuid="d880d447-9438-4750-be22-4b0b5bef3e63">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
@ -145,7 +154,7 @@
<textFieldExpression><![CDATA[$F{direttoreLavori}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="9" y="150" width="82" height="15" uuid="1937bfdd-32f4-4b4b-9e53-a1fb3d923925">
<reportElement x="9" y="127" width="82" height="15" uuid="1937bfdd-32f4-4b4b-9e53-a1fb3d923925">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
@ -154,7 +163,7 @@
<text><![CDATA[Lavori di:]]></text>
</staticText>
<staticText>
<reportElement key="" x="266" y="220" width="115" height="15" uuid="4cae4c79-8532-4cbb-9d81-bde3f93c21b1">
<reportElement key="" positionType="Float" x="266" y="190" width="115" height="15" uuid="4cae4c79-8532-4cbb-9d81-bde3f93c21b1">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
@ -163,7 +172,7 @@
<text><![CDATA[Al Committente]]></text>
</staticText>
<staticText>
<reportElement x="266" y="250" width="115" height="15" uuid="9fe19eb8-bac2-4382-9120-ef8652c2617a">
<reportElement positionType="Float" x="266" y="220" width="115" height="15" uuid="9fe19eb8-bac2-4382-9120-ef8652c2617a">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
@ -172,7 +181,7 @@
<text><![CDATA[Al D.LL.]]></text>
</staticText>
<staticText>
<reportElement x="9" y="135" width="82" height="15" uuid="cd8b9b56-a673-4708-9b8e-a6ae50dfbccd">
<reportElement x="9" y="112" width="82" height="15" uuid="cd8b9b56-a673-4708-9b8e-a6ae50dfbccd">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
@ -181,7 +190,7 @@
<text><![CDATA[Committente:]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="91" y="180" width="458" height="15" uuid="59326b1c-3092-45ab-ba73-d188ee32f184">
<reportElement positionType="Float" x="91" y="157" width="458" height="15" uuid="59326b1c-3092-45ab-ba73-d188ee32f184">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
@ -189,8 +198,8 @@
</textElement>
<textFieldExpression><![CDATA[$F{numeroProgetto}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="91" y="150" width="458" height="15" uuid="64e8a0c4-3120-4359-9419-0c31feb752ba">
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="91" y="127" width="458" height="15" uuid="64e8a0c4-3120-4359-9419-0c31feb752ba">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
@ -199,7 +208,7 @@
<textFieldExpression><![CDATA[$F{lavoriDi}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="91" y="119" width="458" height="15" uuid="6f2cb684-6534-4cc9-acd4-9c5fd6a677b1">
<reportElement x="91" y="96" width="458" height="15" uuid="6f2cb684-6534-4cc9-acd4-9c5fd6a677b1">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
@ -208,7 +217,7 @@
<textFieldExpression><![CDATA[$F{comune}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="91" y="135" width="458" height="15" uuid="5ec2ddc5-2a0b-4440-afb4-bef9e6102856">
<reportElement x="91" y="112" width="458" height="15" uuid="5ec2ddc5-2a0b-4440-afb4-bef9e6102856">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
@ -217,7 +226,7 @@
<textFieldExpression><![CDATA[$F{committente}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="9" y="180" width="82" height="15" uuid="7a2a67be-5d54-4aa9-b690-799f437cb642">
<reportElement positionType="Float" x="9" y="157" width="82" height="15" uuid="7a2a67be-5d54-4aa9-b690-799f437cb642">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
@ -226,7 +235,7 @@
<text><![CDATA[Progetto n.]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="381" y="220" width="168" height="15" uuid="f9c28d14-b419-47e8-8c47-a936d86fee32">
<reportElement positionType="Float" x="381" y="190" width="168" height="15" uuid="f9c28d14-b419-47e8-8c47-a936d86fee32">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
@ -235,7 +244,7 @@
<textFieldExpression><![CDATA[$F{committente}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="91" y="195" width="458" height="15" uuid="eebebb00-ee6a-490c-ba75-5fafadc9043d">
<reportElement positionType="Float" x="91" y="172" width="458" height="15" uuid="eebebb00-ee6a-490c-ba75-5fafadc9043d">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
@ -244,7 +253,7 @@
<textFieldExpression><![CDATA[$F{numeroProtocollo}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="9" y="195" width="82" height="15" uuid="75c195a3-8c3e-4aef-ada3-41361d35dffa">
<reportElement positionType="Float" x="9" y="172" width="82" height="15" uuid="75c195a3-8c3e-4aef-ada3-41361d35dffa">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
@ -253,7 +262,7 @@
<text><![CDATA[Protocollo n.]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="381" y="235" width="168" height="15" uuid="7c7cdd0e-ed24-4b4f-b405-32ff24b0150c">
<reportElement positionType="Float" x="381" y="205" width="168" height="15" uuid="7c7cdd0e-ed24-4b4f-b405-32ff24b0150c">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
@ -262,7 +271,7 @@
<textFieldExpression><![CDATA[$F{titolareDigitale}]]></textFieldExpression>
</textField>
<staticText>
<reportElement key="" x="266" y="235" width="115" height="15" uuid="c7bfa3ec-5129-4a9e-9be8-74c7287d34ba">
<reportElement key="" positionType="Float" x="266" y="205" width="115" height="15" uuid="c7bfa3ec-5129-4a9e-9be8-74c7287d34ba">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
@ -271,7 +280,7 @@
<text><![CDATA[c/o il suo delegato]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="381" y="265" width="168" height="15" isRemoveLineWhenBlank="true" uuid="4e4c5e60-7f2e-4459-b4cb-f7343e77dad3">
<reportElement positionType="Float" x="381" y="235" width="168" height="15" isRemoveLineWhenBlank="true" uuid="4e4c5e60-7f2e-4459-b4cb-f7343e77dad3">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[!"".equalsIgnoreCase( $F{collaudatore} ) && $F{collaudatore}!=null]]></printWhenExpression>
</reportElement>
@ -281,7 +290,7 @@
<textFieldExpression><![CDATA[$F{collaudatore}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="266" y="265" width="115" height="15" isRemoveLineWhenBlank="true" uuid="43505d3a-dbf3-4da8-8518-a8a175b6b4c6">
<reportElement positionType="Float" x="266" y="235" width="115" height="15" isRemoveLineWhenBlank="true" uuid="43505d3a-dbf3-4da8-8518-a8a175b6b4c6">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[!"".equalsIgnoreCase( $F{collaudatore} ) && $F{collaudatore}!=null]]></printWhenExpression>
</reportElement>
@ -291,7 +300,7 @@
<text><![CDATA[Al Collaudatore]]></text>
</staticText>
<staticText>
<reportElement x="9" y="165" width="82" height="15" uuid="b51c76f6-33b6-4a2b-b261-b382e5ffb7d6">
<reportElement positionType="Float" x="9" y="142" width="82" height="15" uuid="b51c76f6-33b6-4a2b-b261-b382e5ffb7d6">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
@ -300,7 +309,7 @@
<text><![CDATA[Ubicazione:]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="91" y="165" width="458" height="15" uuid="0ecba67a-e48b-4fcd-8522-feebc5761ee9">
<reportElement positionType="Float" x="91" y="142" width="458" height="15" uuid="0ecba67a-e48b-4fcd-8522-feebc5761ee9">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
@ -308,8 +317,8 @@
</textElement>
<textFieldExpression><![CDATA[$F{ubicazione} != null ? $F{ubicazione} : ""]]></textFieldExpression>
</textField>
<textField>
<reportElement stretchType="RelativeToTallestObject" x="0" y="303" width="554" height="122" isRemoveLineWhenBlank="true" uuid="122c39b6-f0c9-45b0-816c-4fdde45c8623">
<textField isStretchWithOverflow="true">
<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="0" y="280" width="554" height="148" isRemoveLineWhenBlank="true" uuid="122c39b6-f0c9-45b0-816c-4fdde45c8623">
<printWhenExpression><![CDATA[! $F{richiestaAttestazione}]]></printWhenExpression>
</reportElement>
<textElement textAlignment="Justified">
@ -320,7 +329,7 @@
" Il presente documento viene generato automaticamente dal sistema informatico SISMICA della Regione Siciliana."]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="170" y="88" width="211" height="16" isRemoveLineWhenBlank="true" uuid="e33ff8f9-7c08-417f-8a0b-f07f7fab27d7">
<reportElement x="170" y="65" width="211" height="16" isRemoveLineWhenBlank="true" uuid="e33ff8f9-7c08-417f-8a0b-f07f7fab27d7">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[! $F{richiestaAttestazione}]]></printWhenExpression>
</reportElement>
@ -330,7 +339,7 @@
<text><![CDATA[AVVISO DI VIDIMAZIONE]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="381" y="280" width="168" height="15" isRemoveLineWhenBlank="true" uuid="8e769118-8cd7-489f-8e8d-793e1ece7135">
<reportElement positionType="Float" x="381" y="250" width="168" height="15" isRemoveLineWhenBlank="true" uuid="8e769118-8cd7-489f-8e8d-793e1ece7135">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
@ -339,7 +348,7 @@
<textFieldExpression><![CDATA[$F{comune}]]></textFieldExpression>
</textField>
<staticText>
<reportElement stretchType="RelativeToTallestObject" x="56" y="45" width="483" height="14" isRemoveLineWhenBlank="true" uuid="b1c49ef5-3654-4353-9e9d-082658d95da4">
<reportElement stretchType="RelativeToTallestObject" x="56" y="22" width="483" height="14" isRemoveLineWhenBlank="true" uuid="b1c49ef5-3654-4353-9e9d-082658d95da4">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[$F{richiestaAttestazione}]]></printWhenExpression>
</reportElement>
@ -349,7 +358,7 @@
<text><![CDATA[- Relazione a strutture ultimate, art. 65 D.P.R. n. 380/2001]]></text>
</staticText>
<staticText>
<reportElement stretchType="RelativeToTallestObject" x="56" y="59" width="483" height="16" isRemoveLineWhenBlank="true" uuid="c7e2eb73-9e47-44b2-aa3a-92f1fa99acb7">
<reportElement stretchType="RelativeToTallestObject" x="56" y="36" width="483" height="16" isRemoveLineWhenBlank="true" uuid="c7e2eb73-9e47-44b2-aa3a-92f1fa99acb7">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[$F{richiestaAttestazione}]]></printWhenExpression>
</reportElement>
@ -359,7 +368,7 @@
<text><![CDATA[- Dichiarazione di regolare esecuzione, art. 67, commi 8-bis e 8-ter]]></text>
</staticText>
<staticText>
<reportElement x="150" y="88" width="287" height="16" isRemoveLineWhenBlank="true" uuid="e07da770-e27a-4d5e-a3be-e8631aaea1c2">
<reportElement x="150" y="65" width="287" height="16" isRemoveLineWhenBlank="true" uuid="e07da770-e27a-4d5e-a3be-e8631aaea1c2">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[$F{richiestaAttestazione}]]></printWhenExpression>
</reportElement>
@ -369,7 +378,7 @@
<text><![CDATA[ATTESTAZIONE DI DEPOSITO FINE LAVORI]]></text>
</staticText>
<componentElement>
<reportElement stretchType="RelativeToTallestObject" x="0" y="466" width="539" height="30" isRemoveLineWhenBlank="true" uuid="1433a1bd-a6fa-450e-9f93-c9eac4a9abb0">
<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="0" y="451" width="539" height="30" isRemoveLineWhenBlank="true" uuid="1433a1bd-a6fa-450e-9f93-c9eac4a9abb0">
<property name="com.jaspersoft.studio.unit.CONTENTS.height" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[$F{richiestaAttestazione}]]></printWhenExpression>
@ -380,7 +389,7 @@
</datasetRun>
<jr:listContents height="30" width="539">
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="20" y="3" width="519" height="14" uuid="37ebe140-796a-4b56-8891-c0bfbe124731">
<reportElement x="20" y="2" width="519" height="14" uuid="37ebe140-796a-4b56-8891-c0bfbe124731">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Left" verticalAlignment="Middle">
@ -396,7 +405,7 @@
</reportElement>
</ellipse>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="20" y="14" width="519" height="14" uuid="7fef2560-fa53-4b28-8150-81256faa1884">
<reportElement x="20" y="10" width="519" height="14" uuid="7fef2560-fa53-4b28-8150-81256faa1884">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Left" verticalAlignment="Middle">
@ -408,12 +417,12 @@
</jr:listContents>
</jr:list>
</componentElement>
<textField>
<reportElement stretchType="RelativeToTallestObject" x="0" y="303" width="548" height="122" isRemoveLineWhenBlank="true" uuid="4bd713cd-d736-4511-96f7-60c6ac47d559">
<textField isStretchWithOverflow="true">
<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="0" y="280" width="548" height="148" isRemoveLineWhenBlank="true" uuid="4bd713cd-d736-4511-96f7-60c6ac47d559">
<printWhenExpression><![CDATA[$F{richiestaAttestazione}]]></printWhenExpression>
</reportElement>
<textElement textAlignment="Justified">
<font fontName="DejaVu Sans" isItalic="true"/>
<font fontName="DejaVu Sans" isItalic="false"/>
</textElement>
<textFieldExpression><![CDATA[" Vista la richiesta di deposito, trasmessa in data " + $F{dataPraticaString} + ", relativa al progetto di che " +
"trattasi, si comunica che la relazione a strutture ultimate/dichiarazione di regolare esecuzione è " +
@ -428,17 +437,18 @@
"SISMICA della Regione Siciliana. "]]></textFieldExpression>
</textField>
<staticText>
<reportElement stretchType="RelativeToTallestObject" x="1" y="450" width="548" height="16" isRemoveLineWhenBlank="true" uuid="4f7d7917-70d6-434c-a6a8-7df9277a6d19">
<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="1" y="428" width="548" height="23" isRemoveLineWhenBlank="true" uuid="4f7d7917-70d6-434c-a6a8-7df9277a6d19">
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<printWhenExpression><![CDATA[$F{richiestaAttestazione}]]></printWhenExpression>
</reportElement>
<textElement textAlignment="Justified">
<font fontName="DejaVu Sans"/>
<paragraph spacingBefore="10"/>
</textElement>
<text><![CDATA[Viene di seguito riportato l’elenco dei documenti allegati all'istanza:]]></text>
</staticText>
<staticText>
<reportElement key="" x="109" y="280" width="272" height="15" uuid="2b364a08-ef1e-44b2-8250-713b1c22f9c3">
<reportElement key="" positionType="Float" x="51" y="250" width="325" height="15" uuid="2b364a08-ef1e-44b2-8250-713b1c22f9c3">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Right">
@ -446,8 +456,8 @@
</textElement>
<text><![CDATA[e .p.c. : AI SUE/SUAP del Comune di ]]></text>
</staticText>
<textField>
<reportElement x="285" y="496" width="269" height="25" uuid="0c3cb209-1b7e-4f81-b047-b0aeb47b7f47">
<textField evaluationTime="Auto">
<reportElement positionType="Float" x="20" y="486" width="519" height="20" isRemoveLineWhenBlank="true" uuid="379bb94e-138a-4bb7-b5ec-d92f554cfc6c">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Right" verticalAlignment="Middle">
@ -455,8 +465,8 @@
</textElement>
<textFieldExpression><![CDATA["Ufficio del Genio Civile"]]></textFieldExpression>
</textField>
<textField>
<reportElement x="284" y="522" width="269" height="25" uuid="1e4609f0-26bb-42ca-8edf-38df96b812c3">
<textField evaluationTime="Auto">
<reportElement positionType="Float" x="20" y="506" width="519" height="20" isRemoveLineWhenBlank="true" uuid="ff20aaeb-9dbf-4e7c-b7a9-6052c15f462e">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Right" verticalAlignment="Middle">
@ -465,14 +475,11 @@
<textFieldExpression><![CDATA["Il Dirigente del Servizio o suo Delegato"]]></textFieldExpression>
</textField>
</band>
<band height="64">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</band>
</detail>
<pageFooter>
<band height="125" splitType="Stretch">
<band height="100" splitType="Stretch">
<staticText>
<reportElement x="4" y="102" width="377" height="23" uuid="89e43c7c-c4e3-456f-8eba-d21332502699"/>
<reportElement x="4" y="76" width="377" height="23" uuid="89e43c7c-c4e3-456f-8eba-d21332502699"/>
<textElement>
<font fontName="DejaVu Sans Bold" size="8" isBold="false"/>
</textElement>
@ -480,16 +487,16 @@
https://sismica.lavoripubblici.it]]></text>
</staticText>
<line>
<reportElement x="0" y="99" width="555" height="1" uuid="f2f3ee86-58db-4a77-937b-428b7f419b7b"/>
<reportElement x="0" y="74" width="555" height="1" uuid="f2f3ee86-58db-4a77-937b-428b7f419b7b"/>
</line>
<componentElement>
<reportElement x="183" y="26" width="188" height="50" uuid="4f9aca65-1cf3-4aae-bc48-c9a0517bf888"/>
<reportElement x="188" y="3" width="188" height="50" uuid="4f9aca65-1cf3-4aae-bc48-c9a0517bf888"/>
<jr:PDF417 xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd" moduleWidth="50.0" textPosition="bottom">
<jr:codeExpression><![CDATA[$F{codiceUnivoco}]]></jr:codeExpression>
</jr:PDF417>
</componentElement>
<textField isBlankWhenNull="true">
<reportElement x="8" y="76" width="538" height="20" uuid="17c484f8-1f60-4ac6-bf04-4b1ef031793a"/>
<reportElement x="8" y="54" width="538" height="20" uuid="17c484f8-1f60-4ac6-bf04-4b1ef031793a"/>
<textElement textAlignment="Center">
<font fontName="DejaVu Sans"/>
</textElement>

8
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/AvvisoImpl.java

@ -67,15 +67,15 @@ public class AvvisoImpl extends AvvisoBaseImpl {
} else if (TipoIntegrazioneUtil.RICHIESTA_INTEGRAZIONE.equalsIgnoreCase(dettPratica
.getTipoIntegrazione())) {
fullDescription += " di <strong>" + LanguageUtil.get(LocaleUtil.ITALIAN, "label-integrazione-05")
+ " n° " + dettPratica.getIntegrazione() + "</strong>";
+ " n° " + dettPratica.getIntegrazione() + "</strong>";
} else if (TipoIntegrazioneUtil.VARIANTE.equalsIgnoreCase(dettPratica.getTipoIntegrazione())) {
fullDescription += " di <strong>" + LanguageUtil.get(LocaleUtil.ITALIAN, "label-integrazione-13")
+ " n° " + dettPratica.getVarianteNumero() + "</strong>";
+ " n° " + dettPratica.getVarianteNumero() + "</strong>";
}
} else if (this.getClassName().equals(FineLavori.class.getName())) {
FineLavori fineLavori = FineLavoriLocalServiceUtil.fetchFineLavori(this.getClassPk());
boolean parziale = Validator.isNull(fineLavori) ? false : fineLavori.getParziale();
String numero = Validator.isNull(fineLavori) ? StringPool.BLANK : " n° " + fineLavori.getNumero();
String numero = Validator.isNull(fineLavori) ? StringPool.BLANK : " n° " + fineLavori.getNumero();
fullDescription += " di <strong>"
+ LanguageUtil.get(LocaleUtil.ITALIAN, "label-integrazione-"
+ (parziale ? TipoIntegrazioneUtil.FINE_LAVORI_PARZIALE
@ -83,7 +83,7 @@ public class AvvisoImpl extends AvvisoBaseImpl {
} else if (this.getClassName().equals(Collaudo.class.getName())) {
Collaudo collaudo = CollaudoLocalServiceUtil.fetchCollaudo(this.getClassPk());
boolean parziale = Validator.isNull(collaudo) ? false : collaudo.getParziale();
String numero = Validator.isNull(collaudo) ? StringPool.BLANK : " n° " + collaudo.getNumero();
String numero = Validator.isNull(collaudo) ? StringPool.BLANK : " n° " + collaudo.getNumero();
fullDescription += " di <strong>"
+ LanguageUtil.get(LocaleUtil.ITALIAN, "label-integrazione-"
+ (parziale ? TipoIntegrazioneUtil.COLLAUDO_PARZIALE : TipoIntegrazioneUtil.COLLAUDO))

9
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/report/builder/bean/ReportAvvisoBean.java

@ -50,6 +50,15 @@ public class ReportAvvisoBean implements Serializable {
private String parzialeNumero;
private boolean richiestaAttestazione;
private String dataPraticaString;
private String dataFineLavoriString;
public String getDataFineLavoriString() {
return dataFineLavoriString;
}
public void setDataFineLavoriString(String dataFineLavoriString) {
this.dataFineLavoriString = dataFineLavoriString;
}
public String getDataPraticaString() {
return dataPraticaString;

1
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/report/builder/builder/ReportAvvisoBeanBuilder.java

@ -179,6 +179,7 @@ public class ReportAvvisoBeanBuilder {
if (FineLavori.class.getName().equalsIgnoreCase(avviso.getClassName())) {
FineLavori fineLavori = FineLavoriLocalServiceUtil.getFineLavori(avviso.getClassPk());
bean.setDataPratica(fineLavori.getDtProtocollo());
bean.setDataFineLavoriString(new SimpleDateFormat("dd/MM/yyy").format(fineLavori.getDataFineLavori()));
if(Validator.isNotNull(fineLavori.getDtProtocollo())){
bean.setDataPraticaString(new SimpleDateFormat("dd/MM/yyy").format(fineLavori.getDtProtocollo()));
}

4
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/scheduler/SchedulerInvioDocumento.java

@ -287,12 +287,12 @@ public class SchedulerInvioDocumento implements MessageListener {
FineLavori fineLavori = FineLavoriLocalServiceUtil.getFineLavori(avviso.getClassPk());
tipoAllegato += LanguageUtil.get(LocaleUtil.ITALIAN,
"label-integrazione-" + (fineLavori.getParziale() ? "09" : "07"))
+ " n° " + fineLavori.getNumero();
+ " n° " + fineLavori.getNumero();
} else if (avviso.getClassName().equals(Collaudo.class.getName())) {
Collaudo collaudo = CollaudoLocalServiceUtil.getCollaudo(avviso.getClassPk());
tipoAllegato += LanguageUtil.get(LocaleUtil.ITALIAN,
"label-integrazione-" + (collaudo.getParziale() ? "10" : "08"))
+ " n° " + collaudo.getNumero();
+ " n° " + collaudo.getNumero();
}
}
} else {

9
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/scheduler/SchedulerPratiche.java

@ -133,12 +133,15 @@ public class SchedulerPratiche implements MessageListener {
PrincipalThreadLocal.setName(user.getUserId());
PermissionChecker permissionChecker = PermissionCheckerFactoryUtil.create(user);
PermissionThreadLocal.setPermissionChecker(permissionChecker);
// EVOLUTIVE 2023
// COMMENTATO L'IF PER POTER CREARE AVVISO IN OGNI CASO.
// VALUTARE SE NECESSARIO DIFFERENZIARE GLI AVVISI VIDIMAZIONE/ATTESTAZIONE
// if (!fineLavori.isParziale() && fineLavori.isRichiestaAttestazione()) {
if (fineLavori.isRichiestaAttestazione()) {
// if (fineLavori.isRichiestaAttestazione()) {
creaAvvisoVidimazione(fineLavori.getCompanyId(), fineLavori.getGroupId(),
fineLavori.getUserId(), fineLavori.getIntPraticaId(),
fineLavori.getFineLavoriId(), FineLavori.class.getName());
}
// }
fineLavori.setGestita(true);
FineLavoriLocalServiceUtil.updateFineLavori(fineLavori);
} catch (Exception e) {
@ -274,7 +277,7 @@ public class SchedulerPratiche implements MessageListener {
IntPratica intPratica = IntPraticaLocalServiceUtil.getIntPratica(dettPratica.getIntPraticaId());
intPratica = assegnaNumeroProgetto(intPratica);
String tipoIntegrazione = dettPratica.getTipoIntegrazione();
// 1º Avviso di ricezione corretta o in errore della pratica
// 1° Avviso di ricezione corretta o in errore della pratica
int count = AvvisoLocalServiceUtil.countAvvisoByClassPk_ClassName(dettPratica.getDettPraticaId(),
DettPratica.class.getName());
// in caso di errore non genere un nuovo avviso

4
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/util/ProtocollazioneUtil.java

@ -80,8 +80,8 @@ public class ProtocollazioneUtil {
allegato.setFileId("0");
allegato.setFileSha256(sha256);
}
// utilizzato anche come discriminate tra la 1ª e la 2ª chiamata 1ª recupero numero protocollo -> 1 allegato
// finto 2ª aggiorno dati del documento prodotto -> 2 allegati, il 1º giusto e il 2º per recupero num
// utilizzato anche come discriminate tra la 1à e la 2à chiamata 1° recupero numero protocollo -> 1 allegato
// finto 2° aggiorno dati del documento prodotto -> 2 allegati, il 1° giusto e il 2° per recupero num
// protocollo
Protocollo protocolloBean = new Protocollo();
protocolloBean.setOggetto(generaOggettoProtocollo(avviso.getClassName(), avviso.getAvvisoId()));

16
liferay-plugins-sdk-6.2/portlets/portos-report-engine-portlet/docroot/WEB-INF/src/it/tref/portos/report/engine/ReportDurataMediaIstruttorie.java

@ -74,33 +74,33 @@ public class ReportDurataMediaIstruttorie implements PortosReportInterface {
TextColumnBuilder<String> presidioColumn = DynamicReports.col.column("Presidio", "presidioColumn", DynamicReports.type.stringType());
TextColumnBuilder<Integer> numeroPraticheTotaliColumn = DynamicReports.col.column("N° Pratiche Totali Concluse", "numeroPraticheTotaliColumn", DynamicReports.type.integerType());
TextColumnBuilder<Integer> numeroPraticheTotaliColumn = DynamicReports.col.column("N° Pratiche Totali Concluse", "numeroPraticheTotaliColumn", DynamicReports.type.integerType());
// unica istruttoria
TextColumnBuilder<Integer> numeroTotalePraticheUnicaIstruttoriaColumn = DynamicReports.col.column("N°", "numeroTotalePraticheUnicaIstruttoriaColumn", DynamicReports.type.integerType());
TextColumnBuilder<Integer> numeroTotalePraticheUnicaIstruttoriaColumn = DynamicReports.col.column("N°", "numeroTotalePraticheUnicaIstruttoriaColumn", DynamicReports.type.integerType());
TextColumnBuilder<Double> percentualePraticheUnicaIstruttoriaColumn = DynamicReports.col.column("%", "percentualePraticheUnicaIstruttoriaColumn", DynamicReports.type.percentageType());
TextColumnBuilder<Float> durataMediaPraticheUnicaIstruttoriaColumn = DynamicReports.col.column("Durata Media", "durataMediaPraticheUnicaIstruttoriaColumn", DynamicReports.type.floatType());
// 2 istruttorie
TextColumnBuilder<Integer> numeroTotalePraticheDueIstruttorieColumn = DynamicReports.col.column("N°", "numeroTotalePraticheDueIstruttorieColumn", DynamicReports.type.integerType());
TextColumnBuilder<Integer> numeroTotalePraticheDueIstruttorieColumn = DynamicReports.col.column("N°", "numeroTotalePraticheDueIstruttorieColumn", DynamicReports.type.integerType());
TextColumnBuilder<Double> percentualePraticheDueIstruttorieColumn = DynamicReports.col.column("%", "percentualePraticheDueIstruttorieColumn", DynamicReports.type.percentageType());
TextColumnBuilder<Float> durataMediaPrimaIstruttoriaColumn = DynamicReports.col.column("Durata Media 1° Istruttoria", "durataMediaPrimaIstruttoriaColumn", DynamicReports.type.floatType());
TextColumnBuilder<Float> durataMediaPrimaIstruttoriaColumn = DynamicReports.col.column("Durata Media 1à Istruttoria", "durataMediaPrimaIstruttoriaColumn", DynamicReports.type.floatType());
TextColumnBuilder<Float> durataMediaTrasmissioneIntegrazioniDueIstruttorieColumn = DynamicReports.col.column("Tempo medio trasmissione Integrazioni", "durataMediaTrasmissioneIntegrazioniDueIstruttorieColumn", DynamicReports.type.floatType());
TextColumnBuilder<Float> durataMediaSecondaIstruttoriaColumn = DynamicReports.col.column("Durata Media 2° Istruttoria", "durataMediaSecondaIstruttoriaColumn", DynamicReports.type.floatType());
TextColumnBuilder<Float> durataMediaSecondaIstruttoriaColumn = DynamicReports.col.column("Durata Media 2à Istruttoria", "durataMediaSecondaIstruttoriaColumn", DynamicReports.type.floatType());
// piu di 2 istruttorie
TextColumnBuilder<Integer> numeroTotalePraticheIstruttorieMultipleColumn = DynamicReports.col.column("N°", "numeroTotalePraticheIstruttorieMultipleColumn", DynamicReports.type.integerType());
TextColumnBuilder<Integer> numeroTotalePraticheIstruttorieMultipleColumn = DynamicReports.col.column("N°", "numeroTotalePraticheIstruttorieMultipleColumn", DynamicReports.type.integerType());
TextColumnBuilder<Double> percentualePraticheIstruttorieMultipleColumn = DynamicReports.col.column("%", "percentualePraticheIstruttorieMultipleColumn", DynamicReports.type.percentageType());
TextColumnBuilder<Float> durataMediaComplessivaIstruttorieMultipleColumn = DynamicReports.col.column("Durata media complessiva istruttorie", "durataMediaComplessivaIstruttorieMultipleColumn", DynamicReports.type.floatType());
TextColumnBuilder<Float> durataMediaTrasmissioneIntegrazioniIstruttorieMultipleColumn = DynamicReports.col.column("Durata media trasmissione Integrazioni", "durataMediaTrasmissioneIntegrazioniIstruttorieMultipleColumn",
DynamicReports.type.floatType());
ColumnTitleGroupBuilder titleGroupUnicaIstruttoria = DynamicReports.grid.titleGroup(tipoPraticaSelected + " 1° Istruttoria", numeroTotalePraticheUnicaIstruttoriaColumn, percentualePraticheUnicaIstruttoriaColumn,
ColumnTitleGroupBuilder titleGroupUnicaIstruttoria = DynamicReports.grid.titleGroup(tipoPraticaSelected + " 1à Istruttoria", numeroTotalePraticheUnicaIstruttoriaColumn, percentualePraticheUnicaIstruttoriaColumn,
durataMediaPraticheUnicaIstruttoriaColumn);
ColumnTitleGroupBuilder titleGroupDueIstruttorie = DynamicReports.grid.titleGroup(tipoPraticaSelected + " 2° Istruttoria", numeroTotalePraticheDueIstruttorieColumn, percentualePraticheDueIstruttorieColumn, durataMediaPrimaIstruttoriaColumn,
ColumnTitleGroupBuilder titleGroupDueIstruttorie = DynamicReports.grid.titleGroup(tipoPraticaSelected + " 2à Istruttoria", numeroTotalePraticheDueIstruttorieColumn, percentualePraticheDueIstruttorieColumn, durataMediaPrimaIstruttoriaColumn,
durataMediaTrasmissioneIntegrazioniDueIstruttorieColumn, durataMediaSecondaIstruttoriaColumn);
ColumnTitleGroupBuilder titleGroupIstruttorieMulitple = DynamicReports.grid.titleGroup(tipoPraticaSelected + " con piu' di 2 Istruttorie", numeroTotalePraticheIstruttorieMultipleColumn, percentualePraticheIstruttorieMultipleColumn,

16
liferay-plugins-sdk-6.2/portlets/portos-report-engine-portlet/docroot/WEB-INF/src/it/tref/portos/report/engine/ReportScadenzarioIstruttorie.java

@ -68,22 +68,22 @@ public class ReportScadenzarioIstruttorie implements PortosReportInterface {
String tipoPraticaSelected = ParamUtil.getString(request, "tipologiaPratica", null);
TextColumnBuilder<String> presidioColumn = DynamicReports.col.column("Ufficio", "presidioColumn", DynamicReports.type.stringType());
TextColumnBuilder<Integer> numeroPraticheDaAssegnareColumn = DynamicReports.col.column("N°pratiche da assegnare da parte delle PO", "numeroPraticheDaAssegnareColumn", DynamicReports.type.integerType());
TextColumnBuilder<Integer> numeroPraticheDaAssegnareColumn = DynamicReports.col.column("N°pratiche da assegnare da parte delle PO", "numeroPraticheDaAssegnareColumn", DynamicReports.type.integerType());
TextColumnBuilder<Integer> numeroPraticheDaApprovareColumn = DynamicReports.col.column("N° pratiche da approvare da parte delle PO", "numeroPraticheDaApprovareColumn", DynamicReports.type.integerType());
TextColumnBuilder<Integer> numeroPraticheDaApprovareColumn = DynamicReports.col.column("N° pratiche da approvare da parte delle PO", "numeroPraticheDaApprovareColumn", DynamicReports.type.integerType());
//
TextColumnBuilder<Integer> numeroPraticheInIstruttoriaOrdinarieColumn = DynamicReports.col.column("N°pratiche In Istruttoria", "numeroPraticheInIstruttoriaOrdinarieColumn", DynamicReports.type.integerType());
TextColumnBuilder<Integer> numeroPraticheInIstruttoriaOrdinarieColumn = DynamicReports.col.column("N°pratiche In Istruttoria", "numeroPraticheInIstruttoriaOrdinarieColumn", DynamicReports.type.integerType());
TextColumnBuilder<Integer> numeroPraticheConIntegrazOrdinarieColumn = DynamicReports.col.column("N° pratiche con Int.Richieste", "numeroPraticheConIntegrazOrdinarieColumn", DynamicReports.type.integerType());
TextColumnBuilder<Integer> numeroPraticheConIntegrazOrdinarieColumn = DynamicReports.col.column("N° pratiche con Int.Richieste", "numeroPraticheConIntegrazOrdinarieColumn", DynamicReports.type.integerType());
//
TextColumnBuilder<Integer> numeroPraticheInIstruttoriaInScadenzaColumn = DynamicReports.col.column("N° pratiche In Istruttoria", "numeroPraticheInIstruttoriaInScadenzaColumn", DynamicReports.type.integerType());
TextColumnBuilder<Integer> numeroPraticheInIstruttoriaInScadenzaColumn = DynamicReports.col.column("N° pratiche In Istruttoria", "numeroPraticheInIstruttoriaInScadenzaColumn", DynamicReports.type.integerType());
TextColumnBuilder<Integer> numeroPraticheConIntegrazInScadenzaColumn = DynamicReports.col.column("N° pratiche con Int.Richieste", "numeroPraticheConIntegrazInScadenzaColumn", DynamicReports.type.integerType());
TextColumnBuilder<Integer> numeroPraticheConIntegrazInScadenzaColumn = DynamicReports.col.column("N° pratiche con Int.Richieste", "numeroPraticheConIntegrazInScadenzaColumn", DynamicReports.type.integerType());
//
TextColumnBuilder<Integer> numeroPraticheInIstruttoriaScaduteColumn = DynamicReports.col.column("N° pratiche In Istruttoria", "numeroPraticheInIstruttoriaScaduteColumn", DynamicReports.type.integerType());
TextColumnBuilder<Integer> numeroPraticheConIntegrazScaduteColumn = DynamicReports.col.column("N° pratiche con Int.Richieste", "numeroPraticheConIntegrazScaduteColumn", DynamicReports.type.integerType());
TextColumnBuilder<Integer> numeroPraticheInIstruttoriaScaduteColumn = DynamicReports.col.column("N° pratiche In Istruttoria", "numeroPraticheInIstruttoriaScaduteColumn", DynamicReports.type.integerType());
TextColumnBuilder<Integer> numeroPraticheConIntegrazScaduteColumn = DynamicReports.col.column("N° pratiche con Int.Richieste", "numeroPraticheConIntegrazScaduteColumn", DynamicReports.type.integerType());
ColumnTitleGroupBuilder titleGroupOrdinarie = DynamicReports.grid.titleGroup(tipoPraticaSelected + " Ordinarie ( 0-39gg) ", numeroPraticheInIstruttoriaOrdinarieColumn, numeroPraticheConIntegrazOrdinarieColumn);

2
liferay-plugins-sdk-6.2/portlets/portos-report-engine-portlet/docroot/WEB-INF/src/it/tref/portos/report/engine/ReportTempisticheIstruttorie.java

@ -80,7 +80,7 @@ public class ReportTempisticheIstruttorie implements PortosReportInterface {
TextColumnBuilder<String> presidioColumn =
DynamicReports.col.column("Presidio", "presidio", DynamicReports.type.stringType());
TextColumnBuilder<Integer> numeroPraticheTotaliColumn =
DynamicReports.col.column("N° Pratiche Totali", "numeroPraticheTotaliColumn", DynamicReports.type.integerType());
DynamicReports.col.column("N° Pratiche Totali", "numeroPraticheTotaliColumn", DynamicReports.type.integerType());
TextColumnBuilder<Integer> numeroTotaleAutorizzateInScadenzaColumn =
DynamicReports.col.column("Numero Totale", "numeroTotaleAutorizzateInScadenzaColumn", DynamicReports.type.integerType());

4
liferay-plugins-sdk-6.2/portlets/portos-report-engine-portlet/docroot/WEB-INF/src/it/tref/portos/report/engine/template/TemplatesADV.java

@ -120,7 +120,7 @@ public class TemplatesADV {
/**
* ADT: BUG BO ID=34 REPORT PRATICHE VIDIMATE
* ADT: BUG BO ID=34 <EFBFBD> REPORT PRATICHE VIDIMATE
*
* @param label
* @param className
@ -172,7 +172,7 @@ public class TemplatesADV {
@Override
public String getPattern() {
return "€ #.###,00";
return "€ #.###,00";
}
}

Caricamento…
Annulla
Salva