diff --git a/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioDescontos.jasper b/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioDescontos.jasper index 51869c6da..497c6ceb5 100644 Binary files a/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioDescontos.jasper and b/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioDescontos.jasper differ diff --git a/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioDescontos.jrxml b/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioDescontos.jrxml index b79413dde..e61d25af6 100644 --- a/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioDescontos.jrxml +++ b/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioDescontos.jrxml @@ -1,7 +1,7 @@ - - - + + + @@ -52,8 +52,8 @@ - - + + @@ -64,8 +64,8 @@ - - + + @@ -83,8 +83,8 @@ - - + + @@ -95,8 +95,8 @@ - - + + @@ -107,8 +107,8 @@ - - + + @@ -119,8 +119,8 @@ - - + + @@ -129,8 +129,8 @@ - - + + @@ -139,8 +139,8 @@ - - + + @@ -149,8 +149,8 @@ - - + + @@ -159,8 +159,8 @@ - - + + @@ -169,8 +169,8 @@ - - + + @@ -179,8 +179,8 @@ - - + + @@ -189,8 +189,8 @@ - - + + @@ -201,8 +201,8 @@ - - + + @@ -213,8 +213,8 @@ - - + + @@ -223,8 +223,8 @@ - - + + @@ -233,8 +233,8 @@ - - + + @@ -247,44 +247,44 @@ - - + + - + - + - + - + - + - + - + - - + + - + @@ -295,24 +295,24 @@ - <band height="82" splitType="Stretch"> - <textField pattern="dd/MM/yyyy HH:mm" isBlankWhenNull="false"> - <reportElement uuid="b8a08223-0a24-43a7-8ebe-17a3db2d83fe" mode="Transparent" x="482" y="29" width="73" height="24" forecolor="#000000" backcolor="#FFFFFF"/> + <band height="106" splitType="Stretch"> + <textField isStretchWithOverflow="true" pattern="dd/MM/yyyy HH:mm" isBlankWhenNull="false"> + <reportElement mode="Transparent" x="1124" y="59" width="73" height="24" forecolor="#000000" backcolor="#FFFFFF" uuid="b8a08223-0a24-43a7-8ebe-17a3db2d83fe"/> <textElement textAlignment="Right" verticalAlignment="Middle" rotation="None" markup="none"> <font fontName="SansSerif" size="8" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/> <paragraph lineSpacing="Single"/> </textElement> <textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression> </textField> - <textField> - <reportElement uuid="d095c344-00e0-4532-8035-8b93ef192a56" x="382" y="29" width="100" height="24"/> + <textField isStretchWithOverflow="true"> + <reportElement x="1024" y="59" width="100" height="24" uuid="d095c344-00e0-4532-8035-8b93ef192a56"/> <textElement textAlignment="Right" verticalAlignment="Middle"> <font size="8" isBold="true"/> </textElement> <textFieldExpression><![CDATA[$R{cabecalho.dataHora}]]></textFieldExpression> </textField> <textField pattern="" isBlankWhenNull="false"> - <reportElement uuid="eceda28e-b177-4d40-a99f-bce905486f71" mode="Transparent" x="0" y="0" width="555" height="25" forecolor="#000000" backcolor="#FFFFFF"/> + <reportElement mode="Transparent" x="0" y="0" width="1200" height="25" forecolor="#000000" backcolor="#FFFFFF" uuid="eceda28e-b177-4d40-a99f-bce905486f71"/> <box> <pen lineWidth="0.5"/> <topPen lineWidth="0.5"/> @@ -321,65 +321,66 @@ <rightPen lineWidth="0.5"/> </box> <textElement textAlignment="Center" verticalAlignment="Middle" rotation="None" markup="none"> - <font fontName="SansSerif" size="12" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfFontName="Helvetica-Bold" pdfEncoding="Cp1252" isPdfEmbedded="false"/> + <font fontName="SansSerif" size="18" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfFontName="Helvetica-Bold" pdfEncoding="Cp1252" isPdfEmbedded="false"/> <paragraph lineSpacing="Single"/> </textElement> <textFieldExpression><![CDATA[$P{nomeRelatorio}]]></textFieldExpression> </textField> - <textField evaluationTime="Report" pattern="" isBlankWhenNull="false"> - <reportElement uuid="17bc8d21-5221-4757-ade1-9b3d1b4c10ce" mode="Transparent" x="536" y="53" width="19" height="12" forecolor="#000000" backcolor="#FFFFFF"/> + <textField isStretchWithOverflow="true" evaluationTime="Report" pattern="" isBlankWhenNull="false"> + <reportElement mode="Transparent" x="1178" y="46" width="19" height="12" forecolor="#000000" backcolor="#FFFFFF" uuid="17bc8d21-5221-4757-ade1-9b3d1b4c10ce"/> <textElement textAlignment="Center" verticalAlignment="Top" rotation="None" markup="none"> <font fontName="SansSerif" size="8" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/> <paragraph lineSpacing="Single"/> </textElement> <textFieldExpression><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression> </textField> - <textField pattern="" isBlankWhenNull="false"> - <reportElement uuid="8857ff4c-243b-4073-9466-98722a23eccf" mode="Transparent" x="382" y="13" width="154" height="12" forecolor="#000000" backcolor="#FFFFFF"/> + <textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="false"> + <reportElement mode="Transparent" x="1024" y="32" width="173" height="12" forecolor="#000000" backcolor="#FFFFFF" uuid="8857ff4c-243b-4073-9466-98722a23eccf"/> <textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none"> <font fontName="SansSerif" size="8" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/> <paragraph lineSpacing="Single"/> </textElement> - <textFieldExpression><![CDATA[$R{cabecalho.pagina} + " " + $V{PAGE_NUMBER} + " " + $R{cabecalho.de}]]></textFieldExpression> + <textFieldExpression><![CDATA[$R{cabecalho.pagina} + " " + $V{PAGE_NUMBER} + " " + $R{cabecalho.de} ]]></textFieldExpression> </textField> - <textField pattern="" isBlankWhenNull="true"> - <reportElement uuid="65e099b5-ddc7-4f45-a453-38ab8cc4cb7c" mode="Transparent" x="382" y="65" width="173" height="12" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF"/> + <textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true"> + <reportElement mode="Transparent" x="1024" y="84" width="173" height="12" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF" uuid="65e099b5-ddc7-4f45-a453-38ab8cc4cb7c"/> <textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none"> <font fontName="SansSerif" size="8" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/> <paragraph lineSpacing="Single"/> </textElement> <textFieldExpression><![CDATA[$R{cabecalho.impressorPor} + " " + $P{usuario}]]></textFieldExpression> </textField> - <textField pattern="dd/MM/yyyy"> - <reportElement uuid="145289a7-0f0a-4aa0-aab7-2bad8b44292e" x="103" y="41" width="100" height="12" isPrintWhenDetailOverflows="true"/> + <textField isStretchWithOverflow="true" pattern="dd/MM/yyyy"> + <reportElement x="113" y="49" width="100" height="12" isPrintWhenDetailOverflows="true" uuid="145289a7-0f0a-4aa0-aab7-2bad8b44292e"/> <textElement> <font size="8"/> </textElement> <textFieldExpression><![CDATA[$P{fecVentaInicial}]]></textFieldExpression> </textField> - <textField pattern="dd/MM/yyyy"> - <reportElement uuid="74a3108b-f2bf-4a05-8a0e-ef3bc6e23e78" x="103" y="53" width="100" height="12" isPrintWhenDetailOverflows="true"/> + <textField isStretchWithOverflow="true" pattern="dd/MM/yyyy"> + <reportElement x="113" y="61" width="100" height="12" isPrintWhenDetailOverflows="true" uuid="74a3108b-f2bf-4a05-8a0e-ef3bc6e23e78"/> <textElement> <font size="8"/> </textElement> <textFieldExpression><![CDATA[$P{fecVentaFinal}]]></textFieldExpression> </textField> - <textField isBlankWhenNull="true"> - <reportElement uuid="4ea6cfd8-2183-4d3a-b7fc-51ece4715dd9" x="103" y="29" width="100" height="12" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true"/> + <textField isStretchWithOverflow="true" isBlankWhenNull="true"> + <reportElement x="113" y="37" width="100" height="12" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" uuid="4ea6cfd8-2183-4d3a-b7fc-51ece4715dd9"/> <textElement> <font size="8"/> + <paragraph lineSpacing="Single"/> </textElement> <textFieldExpression><![CDATA[$P{codconvenio}]]></textFieldExpression> </textField> - <textField isBlankWhenNull="true"> - <reportElement uuid="c95a7200-7032-4a56-abca-615be605f781" x="103" y="65" width="100" height="12" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true"/> + <textField isStretchWithOverflow="true" isBlankWhenNull="true"> + <reportElement x="113" y="73" width="100" height="12" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" uuid="c95a7200-7032-4a56-abca-615be605f781"/> <textElement> <font size="8"/> </textElement> <textFieldExpression><![CDATA[$P{puntoVenta}]]></textFieldExpression> </textField> - <textField> - <reportElement uuid="0fb0788e-1dae-4756-8d2d-076ed62e733c" x="3" y="29" width="100" height="12"> + <textField isStretchWithOverflow="true"> + <reportElement x="3" y="37" width="110" height="12" uuid="0fb0788e-1dae-4756-8d2d-076ed62e733c"> <printWhenExpression><![CDATA[new Boolean($P{codconvenio} != null && !$P{codconvenio}.isEmpty())]]></printWhenExpression> </reportElement> <textElement> @@ -387,22 +388,22 @@ </textElement> <textFieldExpression><![CDATA[$R{label.codConvenio}]]></textFieldExpression> </textField> - <textField> - <reportElement uuid="1ffb28ce-353b-45c6-95a3-ba5c40faa4b5" x="3" y="41" width="100" height="12"/> + <textField isStretchWithOverflow="true"> + <reportElement x="3" y="49" width="110" height="12" uuid="1ffb28ce-353b-45c6-95a3-ba5c40faa4b5"/> <textElement> <font size="8" isBold="true" pdfFontName="Helvetica-Bold"/> </textElement> <textFieldExpression><![CDATA[$R{label.fecVentaInicial}]]></textFieldExpression> </textField> - <textField> - <reportElement uuid="c52ee81b-b6a0-44cd-b0e0-c61177419f22" x="3" y="53" width="100" height="12"/> + <textField isStretchWithOverflow="true"> + <reportElement x="3" y="61" width="110" height="12" uuid="c52ee81b-b6a0-44cd-b0e0-c61177419f22"/> <textElement> <font size="8" isBold="true" pdfFontName="Helvetica-Bold"/> </textElement> <textFieldExpression><![CDATA[$R{label.fecVentaFinal}]]></textFieldExpression> </textField> - <textField> - <reportElement uuid="2c80eede-1c35-4bec-8c97-3ea0ea54ed16" x="3" y="65" width="100" height="12"> + <textField isStretchWithOverflow="true"> + <reportElement x="3" y="73" width="110" height="12" uuid="2c80eede-1c35-4bec-8c97-3ea0ea54ed16"> <printWhenExpression><![CDATA[new Boolean($P{puntoVenta} != null)]]></printWhenExpression> </reportElement> <textElement> @@ -411,7 +412,7 @@ <textFieldExpression><![CDATA[$R{label.puntoVenta}]]></textFieldExpression> </textField> <line> - <reportElement uuid="d6ec8319-dcf8-42f7-bb0f-64235db1f2da" x="0" y="81" width="555" height="1"/> + <reportElement x="40" y="97" width="1157" height="1" uuid="d6ec8319-dcf8-42f7-bb0f-64235db1f2da"/> <graphicElement> <pen lineWidth="0.5"/> </graphicElement> @@ -419,95 +420,95 @@ </band> - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -521,44 +522,44 @@ - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + @@ -566,8 +567,8 @@ - - + +