fixes bug#24776

dev: Gleison
qua: 

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@113695 d1611594-4594-4d17-8e1d-87c2c4800839
master
celio 2022-08-04 13:58:22 +00:00
parent cb9ae111e6
commit dc22f887ef
2 changed files with 33 additions and 20 deletions

View File

@ -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="RelatorioAproveitamentoFinanceiro" pageWidth="873" pageHeight="842" whenNoDataType="NoDataSection" columnWidth="833" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="b92fb063-a827-4619-8a69-5c78e3afbb8c">
<property name="ireport.zoom" value="1.771561000000002"/>
<property name="net.sf.jasperreports.export.xls.exclude.origin.band.1" value="pageHeader"/>
<property name="ireport.x" value="546"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="0"/>
<style name="textStyle" isDefault="true" fontSize="6" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false"/>
<style name="table">
@ -35,6 +35,7 @@
<parameter name="EMPRESA" class="java.lang.String"/>
<parameter name="ASSENTOS" class="java.math.BigDecimal"/>
<field name="LINHA" class="java.lang.String"/>
<field name="NUMLINHA" class="java.lang.String"/>
<field name="SENTIDO" class="java.lang.String"/>
<field name="ASSENTOS" class="java.math.BigDecimal"/>
<field name="TARIFA" class="java.math.BigDecimal"/>
@ -454,7 +455,7 @@
<groupHeader>
<band height="14">
<textField pattern="" isBlankWhenNull="false">
<reportElement uuid="33c14184-bbd0-43f2-b947-94ff99d863b3" mode="Transparent" x="0" y="0" width="45" height="14" forecolor="#000000" backcolor="#FFFFFF"/>
<reportElement uuid="33c14184-bbd0-43f2-b947-94ff99d863b3" mode="Transparent" x="4" y="0" width="55" height="14" forecolor="#000000" backcolor="#FFFFFF"/>
<box>
<topPen lineWidth="1.25"/>
<bottomPen lineWidth="0.0"/>
@ -466,7 +467,7 @@
<textFieldExpression><![CDATA["Linha: "]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="d580e38b-3f3c-429e-b5e6-dc756021eb40" x="45" y="0" width="440" height="14"/>
<reportElement uuid="d580e38b-3f3c-429e-b5e6-dc756021eb40" x="59" y="0" width="426" height="14"/>
<box>
<topPen lineWidth="1.25"/>
<bottomPen lineWidth="0.0"/>
@ -879,25 +880,25 @@
<columnHeader>
<band height="28" splitType="Stretch">
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="dddf51af-453b-4840-b6cf-7c9a612e9d1f" stretchType="RelativeToTallestObject" x="97" y="14" width="38" height="14" isPrintWhenDetailOverflows="true"/>
<reportElement uuid="dddf51af-453b-4840-b6cf-7c9a612e9d1f" stretchType="RelativeToTallestObject" x="129" y="14" width="29" height="14" isPrintWhenDetailOverflows="true"/>
<box>
<topPen lineWidth="0.0"/>
<bottomPen lineWidth="0.0"/>
</box>
<textElement textAlignment="Left" verticalAlignment="Top" markup="none">
<textElement textAlignment="Center" verticalAlignment="Middle" markup="none">
<font size="7" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA["Sentido"]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="8886dc03-69cd-4fc5-94b5-b8ff18d4a0c0" stretchType="RelativeToTallestObject" x="4" y="14" width="56" height="14" isPrintWhenDetailOverflows="true"/>
<textElement textAlignment="Left" verticalAlignment="Top" markup="none">
<reportElement uuid="8886dc03-69cd-4fc5-94b5-b8ff18d4a0c0" stretchType="RelativeToTallestObject" x="59" y="14" width="45" height="14" isPrintWhenDetailOverflows="true"/>
<textElement textAlignment="Center" verticalAlignment="Middle" markup="none">
<font size="7" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA["Serv."]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="55197ae8-5dab-4548-a3b8-3adfb5beb93a" stretchType="RelativeToTallestObject" x="175" y="0" width="49" height="28" isPrintWhenDetailOverflows="true"/>
<reportElement uuid="55197ae8-5dab-4548-a3b8-3adfb5beb93a" stretchType="RelativeToTallestObject" x="198" y="0" width="41" height="28" isPrintWhenDetailOverflows="true"/>
<box>
<topPen lineWidth="0.0"/>
<bottomPen lineWidth="0.0"/>
@ -908,7 +909,7 @@
<textFieldExpression><![CDATA["Total Arrec."]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="84e3c491-4384-43d5-9a2c-3ec0e65ecda5" stretchType="RelativeToTallestObject" mode="Transparent" x="224" y="0" width="38" height="28" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF"/>
<reportElement uuid="84e3c491-4384-43d5-9a2c-3ec0e65ecda5" stretchType="RelativeToTallestObject" mode="Transparent" x="239" y="0" width="34" height="28" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF"/>
<box>
<topPen lineWidth="0.0"/>
<bottomPen lineWidth="0.0"/>
@ -920,12 +921,12 @@
<textFieldExpression><![CDATA["Total Passag."]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="bdb8c19b-67d9-4175-9d87-62d468c535b8" stretchType="RelativeToTallestObject" x="60" y="14" width="37" height="14" isPrintWhenDetailOverflows="true"/>
<reportElement uuid="bdb8c19b-67d9-4175-9d87-62d468c535b8" stretchType="RelativeToTallestObject" x="104" y="14" width="25" height="14" isPrintWhenDetailOverflows="true"/>
<box>
<topPen lineWidth="0.0"/>
<bottomPen lineWidth="0.0"/>
</box>
<textElement textAlignment="Left" verticalAlignment="Top" markup="none">
<textElement textAlignment="Center" verticalAlignment="Middle" markup="none">
<font size="7" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA["Hora "]]></textFieldExpression>
@ -944,7 +945,7 @@
<textFieldExpression><![CDATA["Qte"]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="53544418-723e-4443-941d-c9be7bd13270" stretchType="RelativeToTallestObject" x="135" y="0" width="40" height="28" isPrintWhenDetailOverflows="true"/>
<reportElement uuid="53544418-723e-4443-941d-c9be7bd13270" stretchType="RelativeToTallestObject" x="158" y="0" width="40" height="28" isPrintWhenDetailOverflows="true"/>
<box>
<topPen lineWidth="0.0"/>
<bottomPen lineWidth="0.0"/>
@ -1223,7 +1224,7 @@
<textFieldExpression><![CDATA["%Fin Média"]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="903c0f44-d95a-4d87-8c1a-3940ddcf412c" stretchType="RelativeToTallestObject" mode="Transparent" x="262" y="0" width="42" height="28" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF"/>
<reportElement uuid="903c0f44-d95a-4d87-8c1a-3940ddcf412c" stretchType="RelativeToTallestObject" mode="Transparent" x="273" y="0" width="31" height="28" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF"/>
<box>
<topPen lineWidth="0.0"/>
<bottomPen lineWidth="0.0"/>
@ -1234,22 +1235,29 @@
</textElement>
<textFieldExpression><![CDATA["Lugares p/ Viagem"]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="b6183ad1-9de9-4d19-8af9-10cbc5b1e216" stretchType="RelativeToTallestObject" x="4" y="14" width="55" height="14" isPrintWhenDetailOverflows="true"/>
<textElement textAlignment="Center" verticalAlignment="Middle" markup="none">
<font size="7" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA["Num da Linha."]]></textFieldExpression>
</textField>
</band>
</columnHeader>
<detail>
<band height="14" splitType="Stretch">
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="01ee8c0d-6a68-45ea-a4e1-165a48cc89d4" stretchType="RelativeToTallestObject" x="97" y="0" width="38" height="14"/>
<reportElement uuid="01ee8c0d-6a68-45ea-a4e1-165a48cc89d4" stretchType="RelativeToTallestObject" x="130" y="0" width="28" height="14"/>
<textElement textAlignment="Left"/>
<textFieldExpression><![CDATA[$F{SENTIDO}.equals( "1" )? "IDA":"VOLTA"]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="bd0e80c0-a92f-42d5-9682-a732566ee26c" stretchType="RelativeToTallestObject" x="60" y="0" width="37" height="14"/>
<reportElement uuid="bd0e80c0-a92f-42d5-9682-a732566ee26c" stretchType="RelativeToTallestObject" x="104" y="0" width="25" height="14"/>
<textElement textAlignment="Left"/>
<textFieldExpression><![CDATA[$F{HORARIO}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="f009ec87-788c-430d-a831-37640fc96d03" stretchType="RelativeToTallestObject" x="4" y="0" width="56" height="14"/>
<reportElement uuid="f009ec87-788c-430d-a831-37640fc96d03" stretchType="RelativeToTallestObject" x="59" y="0" width="45" height="14"/>
<textElement textAlignment="Left"/>
<textFieldExpression><![CDATA[$F{SERVICO}]]></textFieldExpression>
</textField>
@ -1443,7 +1451,7 @@
<textFieldExpression><![CDATA[$V{finMediaServico}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
<reportElement uuid="4ce49b04-f991-47b3-b080-50818e8756c7" stretchType="RelativeToBandHeight" mode="Transparent" x="224" y="0" width="38" height="14" forecolor="#000000" backcolor="#FFFFFF"/>
<reportElement uuid="4ce49b04-f991-47b3-b080-50818e8756c7" stretchType="RelativeToBandHeight" mode="Transparent" x="239" y="0" width="34" height="14" forecolor="#000000" backcolor="#FFFFFF"/>
<box>
<topPen lineWidth="0.0"/>
<rightPen lineWidth="0.0"/>
@ -1455,7 +1463,7 @@
<textFieldExpression><![CDATA[$F{TOT_PASSAGEIROS}.intValue()]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="###0.00" isBlankWhenNull="true">
<reportElement uuid="3b9ef014-3d80-4e38-ae1a-c51625a554ae" stretchType="RelativeToBandHeight" mode="Transparent" x="175" y="0" width="49" height="14" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF"/>
<reportElement uuid="3b9ef014-3d80-4e38-ae1a-c51625a554ae" stretchType="RelativeToBandHeight" mode="Transparent" x="198" y="0" width="41" height="14" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF"/>
<box>
<topPen lineWidth="0.0"/>
<rightPen lineWidth="0.0"/>
@ -1467,7 +1475,7 @@
<textFieldExpression><![CDATA[$F{TOT_RECEITA}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
<reportElement uuid="fc4ab10d-3ae6-4a00-8f25-fed5593487a5" stretchType="RelativeToBandHeight" mode="Transparent" x="135" y="0" width="40" height="14" forecolor="#000000" backcolor="#FFFFFF"/>
<reportElement uuid="fc4ab10d-3ae6-4a00-8f25-fed5593487a5" stretchType="RelativeToBandHeight" mode="Transparent" x="158" y="0" width="40" height="14" forecolor="#000000" backcolor="#FFFFFF"/>
<box>
<topPen lineWidth="0.0"/>
<rightPen lineWidth="0.0"/>
@ -1479,12 +1487,17 @@
<textFieldExpression><![CDATA[$F{VIAGENS}.intValue()]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="3a8636e6-e4ff-4bb8-9982-8da74473c105" stretchType="RelativeToBandHeight" x="262" y="0" width="38" height="14"/>
<reportElement uuid="3a8636e6-e4ff-4bb8-9982-8da74473c105" stretchType="RelativeToBandHeight" x="273" y="0" width="31" height="14"/>
<textElement textAlignment="Center">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{ASSENTOS}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="b3929648-c897-42d5-a04a-556359f845e3" stretchType="RelativeToTallestObject" x="4" y="0" width="55" height="14"/>
<textElement textAlignment="Left"/>
<textFieldExpression><![CDATA[$F{NUMLINHA}]]></textFieldExpression>
</textField>
</band>
</detail>
<lastPageFooter>