Merge remote-tracking branch 'origin/master'

This commit is contained in:
2025-12-02 10:06:34 +01:00

View File

@@ -0,0 +1,246 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Created with Jaspersoft Studio version 6.21.3.final utlizzo versione della libreria JasperReports6.21.3-4a3078d20785ebe464f18037d738d12fc98c13cf -->
<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="RiepilogoDocumentiV" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="9fb6c5d0-e402-4904-9b87-8f8d22af6c8c">
<property name="com.jaspersoft.studio.data.defaultdataadapter" value="RossoGargano\DataAdapter.jrdax"/>
<property name="com.jaspersoft.studio.data.sql.tables" value=""/>
<style name="LetturaFacilitata">
<conditionalStyle>
<conditionExpression><![CDATA[($V{REPORT_COUNT} % 2) == 0?true:false]]></conditionExpression>
<style mode="Opaque" backcolor="#E6E6E6"/>
</conditionalStyle>
</style>
<parameter name="data_inizio" class="java.lang.String"/>
<parameter name="data_fine" class="java.lang.String"/>
<queryString>
<![CDATA[SELECT dtb_docr.cod_anag,
dtb_docr.cod_dtip,
dtb_docr.data_doc,
dtb_docr.ser_doc,
dtb_Docr.num_doc,
dtb_docr.cod_mart,
isNull( dtb_docr.descrizione_estesa,dtb_Docr.descrizione) AS descrizione,
dtb_docr.partita_mag,
dtb_docr.unt_doc,
dtb_docr.qta_doc,
gtb_anag.rag_soc
FROM dtb_docr
inner join dtb_tipi ON
dtb_docr.cod_dtip = dtb_tipi.cod_dtip
inner join gtb_anag ON
dtb_docr.cod_anag = gtb_anag.cod_anag
WHERE dtb_tipi.gestione = 'V'
AND dtb_docr.data_doc BETWEEN $P{data_inizio} AND $P{data_fine}
AND dtb_docr.cod_dtip='B5'
ORDER BY dtb_docr.cod_anag DESC,
dtb_docr.cod_dtip DESC,
dtb_docr.data_doc DESC,
dtb_docr.ser_doc DESC,
dtb_docr.num_doc DESC]]>
</queryString>
<field name="cod_anag" class="java.lang.String">
<property name="com.jaspersoft.studio.field.name" value="cod_anag"/>
<property name="com.jaspersoft.studio.field.label" value="cod_anag"/>
</field>
<field name="cod_dtip" class="java.lang.String">
<property name="com.jaspersoft.studio.field.name" value="cod_dtip"/>
<property name="com.jaspersoft.studio.field.label" value="cod_dtip"/>
</field>
<field name="data_doc" class="java.sql.Timestamp">
<property name="com.jaspersoft.studio.field.name" value="data_doc"/>
<property name="com.jaspersoft.studio.field.label" value="data_doc"/>
</field>
<field name="ser_doc" class="java.lang.String">
<property name="com.jaspersoft.studio.field.name" value="ser_doc"/>
<property name="com.jaspersoft.studio.field.label" value="ser_doc"/>
</field>
<field name="num_doc" class="java.lang.Integer">
<property name="com.jaspersoft.studio.field.name" value="num_doc"/>
<property name="com.jaspersoft.studio.field.label" value="num_doc"/>
</field>
<field name="cod_mart" class="java.lang.String">
<property name="com.jaspersoft.studio.field.name" value="cod_mart"/>
<property name="com.jaspersoft.studio.field.label" value="cod_mart"/>
</field>
<field name="descrizione" class="java.lang.String">
<property name="com.jaspersoft.studio.field.name" value="descrizione"/>
<property name="com.jaspersoft.studio.field.label" value="descrizione"/>
</field>
<field name="partita_mag" class="java.lang.String">
<property name="com.jaspersoft.studio.field.name" value="partita_mag"/>
<property name="com.jaspersoft.studio.field.label" value="partita_mag"/>
</field>
<field name="unt_doc" class="java.lang.String">
<property name="com.jaspersoft.studio.field.name" value="unt_doc"/>
<property name="com.jaspersoft.studio.field.label" value="unt_doc"/>
</field>
<field name="qta_doc" class="java.math.BigDecimal">
<property name="com.jaspersoft.studio.field.name" value="qta_doc"/>
<property name="com.jaspersoft.studio.field.label" value="qta_doc"/>
</field>
<field name="rag_soc" class="java.lang.String">
<property name="com.jaspersoft.studio.field.name" value="rag_soc"/>
<property name="com.jaspersoft.studio.field.label" value="rag_soc"/>
</field>
<group name="Gruppo1">
<groupExpression><![CDATA[$F{cod_anag} + $F{cod_dtip} + $F{data_doc} + $F{ser_doc} + $F{num_doc}]]></groupExpression>
<groupHeader>
<band height="24">
<textField>
<reportElement x="0" y="3" width="546" height="18" uuid="112dc071-a88e-4d60-82fd-1482b058ac83"/>
<textElement>
<font fontName="Tahoma" size="8" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$F{cod_anag} + " " + $F{rag_soc} + " " + $F{cod_dtip} + " DEL " + new SimpleDateFormat("dd/MM/yyyy").format($F{data_doc})+ " NR. " + $F{num_doc} ]]></textFieldExpression>
</textField>
</band>
</groupHeader>
<groupFooter>
<band/>
</groupFooter>
</group>
<background>
<band splitType="Stretch"/>
</background>
<title>
<band splitType="Stretch"/>
</title>
<pageHeader>
<band height="65" splitType="Stretch">
<textField>
<reportElement mode="Transparent" x="0" y="2" width="530" height="30" forecolor="#46A0C9" uuid="b773ecaa-7130-4a0f-8d5b-96e77adbdafe"/>
<textElement>
<font fontName="Arial Black" size="18"/>
</textElement>
<textFieldExpression><![CDATA["ELENCO DOCUMENTI DI VENDITA "]]></textFieldExpression>
</textField>
<textField>
<reportElement mode="Transparent" x="0" y="31" width="530" height="30" forecolor="#46A0C9" uuid="f702f4e5-223d-409e-a101-2489d5394dfb"/>
<textElement>
<font fontName="Arial Black" size="16"/>
</textElement>
<textFieldExpression><![CDATA["DA DATA" + new SimpleDateFormat(" dd-MM-yyyy").format(new SimpleDateFormat("yyyy-MM-dd").parse($P{data_inizio}.replace("/", "-"))) +" A DATA "+ new SimpleDateFormat(" dd-MM-yyyy").format(new SimpleDateFormat("yyyy-MM-dd").parse($P{data_fine}.replace("/", "-")))]]></textFieldExpression>
</textField>
</band>
</pageHeader>
<columnHeader>
<band height="44" splitType="Stretch">
<staticText>
<reportElement mode="Opaque" x="0" y="6" width="100" height="30" backcolor="#D1E4EF" uuid="e5919609-deaa-4a51-9f97-e90c3762e432">
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="ab8e33ba-1418-47af-8733-e1315a1bb3ae"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="Tahoma" size="10"/>
</textElement>
<text><![CDATA[Cod. Articolo]]></text>
</staticText>
<staticText>
<reportElement mode="Opaque" x="102" y="6" width="270" height="30" backcolor="#D1E4EF" uuid="b0f09352-215b-41ff-bef5-9cd8df42d6ba">
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="ab8e33ba-1418-47af-8733-e1315a1bb3ae"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="Tahoma" size="10"/>
</textElement>
<text><![CDATA[Descrizione]]></text>
</staticText>
<line>
<reportElement x="0" y="40" width="546" height="1" forecolor="#46A0C9" backcolor="#46A0C9" uuid="15d72e36-ec49-4b66-964b-ef626b071b02">
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
</line>
<staticText>
<reportElement mode="Opaque" x="374" y="6" width="86" height="30" backcolor="#D1E4EF" uuid="6fdc48e5-6283-4247-8324-bc36f1dcc58c">
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="ab8e33ba-1418-47af-8733-e1315a1bb3ae"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="Tahoma" size="10"/>
</textElement>
<text><![CDATA[Partita Mag.]]></text>
</staticText>
<staticText>
<reportElement mode="Opaque" x="462" y="6" width="41" height="30" backcolor="#D1E4EF" uuid="d2fd7d84-f51f-40e0-bd7e-f700ecd68ca7">
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="ab8e33ba-1418-47af-8733-e1315a1bb3ae"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="Tahoma" size="10"/>
</textElement>
<text><![CDATA[Unt.
Doc.]]></text>
</staticText>
<staticText>
<reportElement mode="Opaque" x="505" y="6" width="41" height="30" backcolor="#D1E4EF" uuid="5616b62c-7031-4157-82ce-3ca1c0c5c104">
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="ab8e33ba-1418-47af-8733-e1315a1bb3ae"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="Tahoma" size="10"/>
</textElement>
<text><![CDATA[Qta]]></text>
</staticText>
</band>
</columnHeader>
<detail>
<band height="17" splitType="Stretch">
<textField>
<reportElement style="LetturaFacilitata" x="0" y="0" width="100" height="15" uuid="6fdb17fd-f040-406b-888f-02b409969199">
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="1afcda37-6849-4167-84ac-c0b9347cd2f5"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="Tahoma" size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{cod_mart}==null?"":$F{cod_mart}]]></textFieldExpression>
</textField>
<textField textAdjust="ScaleFont">
<reportElement style="LetturaFacilitata" x="101" y="0" width="271" height="15" uuid="1e51052e-7874-4f05-99a9-33f36fdfabe6">
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="ea4dc4ba-baf8-4cac-acd1-894f53a1be9b"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="Tahoma" size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{descrizione}]]></textFieldExpression>
</textField>
<textField>
<reportElement style="LetturaFacilitata" x="374" y="0" width="86" height="15" uuid="ac691555-2290-47a3-b830-3861dcdc0c92">
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="a46b021c-dbcd-4dda-9d88-5a46e4238b54"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="Tahoma" size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{partita_mag}==null?"":$F{partita_mag}]]></textFieldExpression>
</textField>
<textField>
<reportElement style="LetturaFacilitata" x="462" y="0" width="41" height="15" uuid="d65645ac-878f-4119-b114-a084159ce841">
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="ee4a9970-407f-4f99-bcfa-2bf79251f448"/>
</reportElement>
<textElement>
<font fontName="Tahoma" size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{unt_doc}==null?"":$F{unt_doc}]]></textFieldExpression>
</textField>
<textField pattern="#,##0.###;#,##0.###-">
<reportElement style="LetturaFacilitata" x="505" y="0" width="41" height="15" uuid="dfa65e57-1c3c-4d65-827d-119054276e26">
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="8cf58244-fdc2-424c-9154-8101276e65af"/>
</reportElement>
<textElement textAlignment="Right">
<font fontName="Tahoma" size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{qta_doc}.compareTo(BigDecimal.ZERO)!=0?$F{qta_doc}:""]]></textFieldExpression>
</textField>
</band>
</detail>
<columnFooter>
<band splitType="Stretch"/>
</columnFooter>
<pageFooter>
<band splitType="Stretch"/>
</pageFooter>
<summary>
<band splitType="Stretch"/>
</summary>
</jasperReport>