Skip to content

Commit

Permalink
Versione 2.3.0
Browse files Browse the repository at this point in the history
- Finestre con bordo ombreggiato
- Fogli di stile AssoSoftware e PA aggiornati
- Corretto Layout per mancanza codice articolo
- Aggiunta gestione pulsanti arrotondati
- Aggiunte Dialog moderne con animazioni
- Compilato con Delphi 12.1
  • Loading branch information
carloBarazzetta committed May 29, 2024
1 parent 9ceae45 commit 43535db
Show file tree
Hide file tree
Showing 248 changed files with 59,818 additions and 7,798 deletions.
139 changes: 58 additions & 81 deletions Docs/Templates/FoglioStileAssoSoftware.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -111,40 +111,57 @@

</xsl:template>

<!--DatiOrdineAcquisto Vs.Ord. XXXXXX del 26/09/2018 CUP:YYYYYY CIG:ZZZZZZZ-->
<!--DatiContratto Contratto XXXXXX del 26/09/2018 CUP:YYYYYY CIG:ZZZZZZZ -->
<!--DatiConvenzione Convenzione XXXXXX del 26/09/2018 CUP:YYYYYY CIG:ZZZZZZZ -->
<!--DatiRicezione Ricezione XXXXXX del 26/09/2018 CUP:YYYYYY CIG:ZZZZZZZ -->
<!--Fatture collegate Fatt.coll. XXXXXX del 26/09/2018 CUP:YYYYYY CIG:ZZZZZZZ -->
<!--DatiOrdineAcquisto Rif.Ord. XXXXXX del 26/09/2018 CUP:YYYYYY CIG:ZZZZZZZ Codice commessa/convenzione:#cod-vvv#-->
<!--DatiContratto Contratto XXXXXX del 26/09/2018 CUP:YYYYYY CIG:ZZZZZZZ Codice commessa/convenzione:#cod-vvv#-->
<!--DatiConvenzione Convenzione XXXXXX del 26/09/2018 CUP:YYYYYY CIG:ZZZZZZZ Codice commessa/convenzione:#cod-vvv#-->
<!--DatiRicezione Ricezione XXXXXX del 26/09/2018 CUP:YYYYYY CIG:ZZZZZZZ Codice commessa/convenzione:#cod-vvv#-->
<!--Fatture collegate Fatt.coll. XXXXXX del 26/09/2018 CUP:YYYYYY CIG:ZZZZZZZ Codice commessa/convenzione:#cod-vvv#-->
<xsl:template name="DatiCorrelati">
<xsl:param name="Prefix" />
<xsl:param name="IdDocumento" />
<xsl:param name="Data" />
<xsl:param name="CodiceCUP" />
<xsl:param name="CodiceCIG" />
<xsl:param name="Prefix" />
<xsl:variable name="descrizione" >
<xsl:value-of select="$Prefix" />
<xsl:value-of select="$IdDocumento" />
<xsl:if test="$Data">
<xsl:text> del </xsl:text>
<xsl:call-template name="FormatDateIta">
<xsl:with-param name="DateTime" select="$Data" />
</xsl:call-template>
</xsl:if>
<xsl:if test="$CodiceCUP">
<xsl:text> CUP: </xsl:text>
<xsl:value-of select="$CodiceCUP" />
</xsl:if>
<xsl:if test="$CodiceCIG">
<xsl:text> CIG: </xsl:text>
<xsl:value-of select="$CodiceCIG" />
</xsl:if>
<xsl:value-of select="$Prefix" />
<xsl:value-of select="IdDocumento" />
<xsl:if test="Data">
<xsl:text> del </xsl:text>
<xsl:call-template name="FormatDateIta">
<xsl:with-param name="DateTime" select="Data" />
</xsl:call-template>
</xsl:if>
<xsl:if test="CodiceCUP">
<xsl:text> CUP: </xsl:text>
<xsl:value-of select="CodiceCUP" />
</xsl:if>
<xsl:if test="CodiceCIG">
<xsl:text> CIG: </xsl:text>
<xsl:value-of select="CodiceCIG" />
</xsl:if>

</xsl:variable>

<xsl:variable name="descrizioneCC">
<xsl:if test="CodiceCommessaConvenzione">
<xsl:text>Commessa/convenzione: </xsl:text>
<xsl:value-of select="CodiceCommessaConvenzione" />
</xsl:if>
</xsl:variable>

<xsl:if test="$descrizione">
<xsl:call-template name="AltraDescrizioneLinea">
<xsl:with-param name="textDescrizione" select = "$descrizione" />
</xsl:call-template>
</xsl:if>

<xsl:if test="$descrizioneCC">
<xsl:call-template name="AltraDescrizioneLinea">
<xsl:with-param name="textDescrizione" select = "$descrizioneCC" />
</xsl:call-template>
</xsl:if>






</xsl:template>

<xsl:template match="DatiDDT">
Expand Down Expand Up @@ -216,16 +233,10 @@
<xsl:otherwise>

<xsl:for-each select="$TipoFattura/FatturaElettronicaBody[$IndiceBody]/DatiGenerali/DatiOrdineAcquisto[ number(./RiferimentoNumeroLinea) = $valNumeroLinea] ">
<xsl:call-template name="DatiCorrelati" >
<xsl:with-param name="Prefix" select='"Vs.Ord. "'/>
<xsl:with-param name="IdDocumento" select="IdDocumento"/>
<xsl:with-param name="Data" select="Data"/>
<xsl:with-param name="CodiceCUP" select="CodiceCUP"/>
<xsl:with-param name="CodiceCIG" select="CodiceCIG"/>
<xsl:call-template name="DatiCorrelati" select="." >
<xsl:with-param name="Prefix" select='"Vs.Ord. "'/>
</xsl:call-template >
</xsl:for-each>


</xsl:for-each>
</xsl:otherwise>
</xsl:choose>

Expand All @@ -242,12 +253,9 @@

<xsl:otherwise>
<xsl:for-each select="$TipoFattura/FatturaElettronicaBody[$IndiceBody]/DatiGenerali/DatiContratto[ number(./RiferimentoNumeroLinea) = $valNumeroLinea] ">
<xsl:call-template name="DatiCorrelati" >
<xsl:call-template name="DatiCorrelati" select=".">
<xsl:with-param name="Prefix" select='"Contratto "'/>
<xsl:with-param name="IdDocumento" select="IdDocumento"/>
<xsl:with-param name="Data" select="Data"/>
<xsl:with-param name="CodiceCUP" select="CodiceCUP"/>
<xsl:with-param name="CodiceCIG" select="CodiceCIG"/>

</xsl:call-template >
</xsl:for-each>

Expand All @@ -268,12 +276,8 @@
<xsl:otherwise>

<xsl:for-each select="$TipoFattura/FatturaElettronicaBody[$IndiceBody]/DatiGenerali/DatiConvenzione[ number(./RiferimentoNumeroLinea) = $valNumeroLinea] ">
<xsl:call-template name="DatiCorrelati" >
<xsl:call-template name="DatiCorrelati" select=".">
<xsl:with-param name="Prefix" select='"Convenzione "'/>
<xsl:with-param name="IdDocumento" select="IdDocumento"/>
<xsl:with-param name="Data" select="Data"/>
<xsl:with-param name="CodiceCUP" select="CodiceCUP"/>
<xsl:with-param name="CodiceCIG" select="CodiceCIG"/>
</xsl:call-template >
</xsl:for-each>

Expand All @@ -294,12 +298,8 @@
<xsl:otherwise>

<xsl:for-each select="$TipoFattura/FatturaElettronicaBody[$IndiceBody]/DatiGenerali/DatiRicezione[ number(./RiferimentoNumeroLinea) = $valNumeroLinea] ">
<xsl:call-template name="DatiCorrelati" >
<xsl:call-template name="DatiCorrelati" select=".">
<xsl:with-param name="Prefix" select='"Ricezione "'/>
<xsl:with-param name="IdDocumento" select="IdDocumento"/>
<xsl:with-param name="Data" select="Data"/>
<xsl:with-param name="CodiceCUP" select="CodiceCUP"/>
<xsl:with-param name="CodiceCIG" select="CodiceCIG"/>
</xsl:call-template >
</xsl:for-each>

Expand All @@ -319,12 +319,8 @@
<xsl:otherwise>

<xsl:for-each select="$TipoFattura/FatturaElettronicaBody[$IndiceBody]/DatiGenerali/DatiFattureCollegate[ number(./RiferimentoNumeroLinea) = $valNumeroLinea] ">
<xsl:call-template name="DatiCorrelati" >
<xsl:with-param name="Prefix" select='"Fatt.coll. "'/>
<xsl:with-param name="IdDocumento" select="IdDocumento"/>
<xsl:with-param name="Data" select="Data"/>
<xsl:with-param name="CodiceCUP" select="CodiceCUP"/>
<xsl:with-param name="CodiceCIG" select="CodiceCIG"/>
<xsl:call-template name="DatiCorrelati" select=".">
<xsl:with-param name="Prefix" select='"Fatt.coll. "'/>
</xsl:call-template >
</xsl:for-each>

Expand Down Expand Up @@ -2068,49 +2064,34 @@
<!-- Verifica che DatiOrdineAcquisto non siano senza riferimento numero linea in questo modo bisogna creare la linea di info -->
<xsl:for-each select="DatiGenerali/DatiOrdineAcquisto[not(./RiferimentoNumeroLinea) or normalize-space(./RiferimentoNumeroLinea)=''] " >

<xsl:call-template name="DatiCorrelati" >
<xsl:call-template name="DatiCorrelati" select=".">
<xsl:with-param name="Prefix" select='"Vs.Ord. "'/>
<xsl:with-param name="IdDocumento" select="IdDocumento"/>
<xsl:with-param name="Data" select="Data"/>
<xsl:with-param name="CodiceCUP" select="CodiceCUP"/>
<xsl:with-param name="CodiceCIG" select="CodiceCIG"/>
</xsl:call-template >
</xsl:for-each>

<!-- Verifica che DatiContratto non siano senza riferimento numero linea in questo modo bisogna creare la linea di info -->

<xsl:for-each select="DatiGenerali/DatiContratto[not(./RiferimentoNumeroLinea) or normalize-space(./RiferimentoNumeroLinea)=''] " >
<xsl:call-template name="DatiCorrelati" >
<xsl:call-template name="DatiCorrelati" select=".">
<xsl:with-param name="Prefix" select='"Contratto "'/>
<xsl:with-param name="IdDocumento" select="IdDocumento"/>
<xsl:with-param name="Data" select="Data"/>
<xsl:with-param name="CodiceCUP" select="CodiceCUP"/>
<xsl:with-param name="CodiceCIG" select="CodiceCIG"/>
</xsl:call-template >

</xsl:for-each>

<!-- Verifica che DatiConvenzione non siano senza riferimento numero linea in questo modo bisogna creare la linea di info -->

<xsl:for-each select="DatiGenerali/DatiConvenzione[not(./RiferimentoNumeroLinea) or normalize-space(./RiferimentoNumeroLinea)=''] " >
<xsl:call-template name="DatiCorrelati" >
<xsl:call-template name="DatiCorrelati" select="." >
<xsl:with-param name="Prefix" select='"Convenzione "'/>
<xsl:with-param name="IdDocumento" select="IdDocumento"/>
<xsl:with-param name="Data" select="Data"/>
<xsl:with-param name="CodiceCUP" select="CodiceCUP"/>
<xsl:with-param name="CodiceCIG" select="CodiceCIG"/>

</xsl:call-template >

</xsl:for-each>

<!-- Verifica che DatiRicezione non siano senza riferimento numero linea in questo modo bisogna creare la linea di info -->
<xsl:for-each select="DatiGenerali/DatiRicezione[not(./RiferimentoNumeroLinea) or normalize-space(./RiferimentoNumeroLinea)=''] " >
<xsl:call-template name="DatiCorrelati" >
<xsl:call-template name="DatiCorrelati" select=".">
<xsl:with-param name="Prefix" select='"Ricezione "'/>
<xsl:with-param name="IdDocumento" select="IdDocumento"/>
<xsl:with-param name="Data" select="Data"/>
<xsl:with-param name="CodiceCUP" select="CodiceCUP"/>
<xsl:with-param name="CodiceCIG" select="CodiceCIG"/>
</xsl:call-template >

</xsl:for-each>
Expand All @@ -2119,12 +2100,8 @@

<xsl:for-each select="DatiGenerali/DatiFattureCollegate[not(./RiferimentoNumeroLinea) or normalize-space(./RiferimentoNumeroLinea)=''] " >

<xsl:call-template name="DatiCorrelati" >
<xsl:call-template name="DatiCorrelati" select=".">
<xsl:with-param name="Prefix" select='"Fatt.Coll. "'/>
<xsl:with-param name="IdDocumento" select="IdDocumento"/>
<xsl:with-param name="Data" select="Data"/>
<xsl:with-param name="CodiceCUP" select="CodiceCUP"/>
<xsl:with-param name="CodiceCIG" select="CodiceCIG"/>
</xsl:call-template >

</xsl:for-each>
Expand Down
Loading

0 comments on commit 43535db

Please sign in to comment.