Fixes Bug #10597 - Code review feito com o Valdevir
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@79140 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
2721ef981c
commit
ae83540bf9
|
@ -98,6 +98,8 @@ public class RelatorioGratuidade extends Relatorio {
|
|||
|
||||
lsDadosRelatorio = new ArrayList<RelatorioGratuidadeBean>();
|
||||
|
||||
SimpleDateFormat hora = new SimpleDateFormat("HH:mm");
|
||||
|
||||
while (rset.next()) {
|
||||
RelatorioGratuidadeBean gratuidadeBean = new RelatorioGratuidadeBean();
|
||||
|
||||
|
@ -109,7 +111,7 @@ public class RelatorioGratuidade extends Relatorio {
|
|||
gratuidadeBean.setDesctipoventa(rset.getString("desctipoventa"));
|
||||
gratuidadeBean.setDestino(rset.getString("destino"));
|
||||
gratuidadeBean.setFeccreacion(rset.getDate("feccreacion"));
|
||||
gratuidadeBean.setFechorviaje(rset.getDate("fechorviaje"));
|
||||
gratuidadeBean.setFechorviaje(hora.format(rset.getTimestamp("fechorviaje")));
|
||||
gratuidadeBean.setKm(rset.getInt("numkmviaje"));
|
||||
gratuidadeBean.setLinha(rset.getString("descruta"));
|
||||
gratuidadeBean.setNombpasajero(rset.getString("nombpasajero"));
|
||||
|
|
Binary file not shown.
|
@ -68,267 +68,276 @@
|
|||
<title>
|
||||
<band height="144">
|
||||
<textField>
|
||||
<reportElement x="0" y="0" width="314" height="37" uuid="652312bd-292a-424d-a234-5f157e3699c6"/>
|
||||
<reportElement uuid="652312bd-292a-424d-a234-5f157e3699c6" x="0" y="0" width="314" height="37"/>
|
||||
<textElement/>
|
||||
<textFieldExpression><![CDATA[$P{TITULO}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="0" y="37" width="109" height="23" uuid="e5d4714c-07cc-42ff-a7a8-76d6f6d3e716"/>
|
||||
<reportElement uuid="e5d4714c-07cc-42ff-a7a8-76d6f6d3e716" x="0" y="37" width="109" height="23"/>
|
||||
<textElement/>
|
||||
<textFieldExpression><![CDATA[$R{header.periodo.viagem}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="633" y="37" width="106" height="23" uuid="66b2d0f6-2bf1-4bc7-9ec0-a34444e04d60"/>
|
||||
<reportElement uuid="66b2d0f6-2bf1-4bc7-9ec0-a34444e04d60" x="633" y="37" width="106" height="23"/>
|
||||
<textElement/>
|
||||
<textFieldExpression><![CDATA[$R{header.data.hora}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField evaluationTime="Report">
|
||||
<reportElement x="811" y="37" width="30" height="23" uuid="8ca68351-fc00-4f19-b94f-f2fd1f41964f"/>
|
||||
<reportElement uuid="8ca68351-fc00-4f19-b94f-f2fd1f41964f" x="811" y="37" width="30" height="23"/>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[" " + $V{PAGE_NUMBER}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="739" y="37" width="39" height="23" uuid="be1692e9-f130-4d08-9173-6ca3e4699030"/>
|
||||
<reportElement uuid="be1692e9-f130-4d08-9173-6ca3e4699030" x="739" y="37" width="39" height="23"/>
|
||||
<textElement/>
|
||||
<textFieldExpression><![CDATA[$R{header.pagina}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="109" y="37" width="205" height="23" uuid="4914d9e7-6ce8-4512-b1f8-13f3b572ac50"/>
|
||||
<reportElement uuid="4914d9e7-6ce8-4512-b1f8-13f3b572ac50" x="109" y="37" width="205" height="23"/>
|
||||
<textElement/>
|
||||
<textFieldExpression><![CDATA[( $P{fecInicioViagem} != null ? ($P{fecInicioViagem} + " à " + $P{fecFinalViagem}) : "" )]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="dd/MM/yyyy HH:mm">
|
||||
<reportElement x="739" y="0" width="102" height="37" uuid="6f671365-868e-41a6-81ee-a308d1d91e1d"/>
|
||||
<reportElement uuid="6f671365-868e-41a6-81ee-a308d1d91e1d" x="739" y="0" width="102" height="37"/>
|
||||
<textElement textAlignment="Left"/>
|
||||
<textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="778" y="37" width="33" height="23" uuid="7548d623-fb6c-48d4-b8b7-504f5437a79a"/>
|
||||
<reportElement uuid="7548d623-fb6c-48d4-b8b7-504f5437a79a" x="778" y="37" width="33" height="23"/>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$V{PAGE_NUMBER}+" de"]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="0" y="60" width="109" height="21" uuid="a79c03e0-bbe4-4b1c-8297-533a0d137b27"/>
|
||||
<reportElement uuid="a79c03e0-bbe4-4b1c-8297-533a0d137b27" x="0" y="60" width="109" height="21"/>
|
||||
<textElement/>
|
||||
<textFieldExpression><![CDATA[$R{header.periodo.venda}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="109" y="60" width="205" height="21" uuid="b31b00a3-1ced-4f9c-acb7-470646f7b335"/>
|
||||
<reportElement uuid="b31b00a3-1ced-4f9c-acb7-470646f7b335" x="109" y="60" width="205" height="21"/>
|
||||
<textElement/>
|
||||
<textFieldExpression><![CDATA[( $P{fecInicioVenda} != null ? ($P{fecInicioVenda} + " à " + $P{fecFinalVenda}) : "" )]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="0" y="81" width="109" height="20" uuid="8fb67bb3-6ff2-40d1-b338-714f199ea7f0"/>
|
||||
<reportElement uuid="8fb67bb3-6ff2-40d1-b338-714f199ea7f0" x="0" y="81" width="109" height="20"/>
|
||||
<textElement/>
|
||||
<textFieldExpression><![CDATA[$R{header.empresa}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="368" y="114" width="73" height="26" uuid="2c09f3ff-c554-4ce2-886e-eaab93fa15eb"/>
|
||||
<reportElement uuid="2c09f3ff-c554-4ce2-886e-eaab93fa15eb" x="368" y="114" width="73" height="26"/>
|
||||
<textElement>
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{detail.origen}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="474" y="114" width="68" height="26" uuid="e18edb89-17f4-417e-8041-664f11245cbd"/>
|
||||
<reportElement uuid="e18edb89-17f4-417e-8041-664f11245cbd" x="474" y="114" width="68" height="26"/>
|
||||
<textElement>
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{detail.destino}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="257" y="114" width="57" height="26" uuid="67851ba5-cc9c-4f37-8857-9e3c5be9b362"/>
|
||||
<reportElement uuid="67851ba5-cc9c-4f37-8857-9e3c5be9b362" x="257" y="114" width="57" height="26"/>
|
||||
<textElement textAlignment="Center">
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{detail.linha}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="224" y="114" width="33" height="26" uuid="93fedb4f-18e2-4d95-82e8-2108d3eb135c"/>
|
||||
<reportElement uuid="93fedb4f-18e2-4d95-82e8-2108d3eb135c" x="224" y="114" width="33" height="26"/>
|
||||
<textElement>
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{detail.servicio}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="314" y="114" width="28" height="26" uuid="3de0b54a-0b10-4556-9b0a-ba8f19989716"/>
|
||||
<reportElement uuid="3de0b54a-0b10-4556-9b0a-ba8f19989716" x="314" y="114" width="28" height="26"/>
|
||||
<textElement>
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{detail.hora}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="739" y="114" width="39" height="26" uuid="cc834009-ae90-46d4-8bbb-37578b69f621"/>
|
||||
<reportElement uuid="cc834009-ae90-46d4-8bbb-37578b69f621" x="739" y="114" width="39" height="26"/>
|
||||
<textElement>
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{detail.tipobilhete}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="633" y="114" width="44" height="26" uuid="842c2e2b-0a9e-4a28-9010-9b0c814c5bcb"/>
|
||||
<reportElement uuid="842c2e2b-0a9e-4a28-9010-9b0c814c5bcb" x="633" y="114" width="44" height="26"/>
|
||||
<textElement>
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{detail.pasajero}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="707" y="114" width="32" height="26" uuid="94fe9e9b-e231-43b8-aeb8-7bc3eb2d61af"/>
|
||||
<reportElement uuid="94fe9e9b-e231-43b8-aeb8-7bc3eb2d61af" x="707" y="114" width="32" height="26"/>
|
||||
<textElement textAlignment="Center">
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{detail.documento}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="841" y="114" width="28" height="26" uuid="952c3d60-ade1-4f57-8801-3ef6bc7f2333"/>
|
||||
<reportElement uuid="952c3d60-ade1-4f57-8801-3ef6bc7f2333" x="841" y="114" width="28" height="26"/>
|
||||
<textElement>
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{detail.precio}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="869" y="114" width="40" height="26" uuid="e14732be-42a0-4f54-9eb2-52f10ece154b"/>
|
||||
<reportElement uuid="e14732be-42a0-4f54-9eb2-52f10ece154b" x="869" y="114" width="40" height="26"/>
|
||||
<textElement>
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{detail.desconto}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="909" y="114" width="41" height="26" uuid="b34ce751-6969-47b0-aeb7-fff00a5de1e3"/>
|
||||
<reportElement uuid="b34ce751-6969-47b0-aeb7-fff00a5de1e3" x="909" y="114" width="41" height="26"/>
|
||||
<textElement>
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{detail.valorCobrado}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="109" y="114" width="30" height="26" uuid="bb3d2388-6bda-4727-ba30-0a5f4612f1a8"/>
|
||||
<reportElement uuid="bb3d2388-6bda-4727-ba30-0a5f4612f1a8" x="109" y="114" width="30" height="26"/>
|
||||
<textElement>
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{detail.bilheteiro}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="778" y="114" width="33" height="26" uuid="6b1fac8d-c098-4893-b1dd-7b64573f0173"/>
|
||||
<reportElement uuid="6b1fac8d-c098-4893-b1dd-7b64573f0173" x="778" y="114" width="33" height="26"/>
|
||||
<textElement>
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{detail.tipopassagem}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="542" y="114" width="34" height="26" uuid="0948a2fc-fc39-4f2d-ab06-d7c97a66df39"/>
|
||||
<reportElement uuid="0948a2fc-fc39-4f2d-ab06-d7c97a66df39" x="542" y="114" width="34" height="26"/>
|
||||
<textElement>
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{detail.numasiento}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="576" y="114" width="36" height="26" uuid="c4b5d11d-79a1-4850-8294-8ccaa0898bca"/>
|
||||
<reportElement uuid="c4b5d11d-79a1-4850-8294-8ccaa0898bca" x="576" y="114" width="36" height="26"/>
|
||||
<textElement>
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{detail.numfoliosistema}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="139" y="114" width="43" height="26" uuid="2af7bea7-e8bf-424a-9813-c9d2be7c0459"/>
|
||||
<reportElement uuid="2af7bea7-e8bf-424a-9813-c9d2be7c0459" x="139" y="114" width="43" height="26"/>
|
||||
<textElement textAlignment="Center">
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{detail.dataMD}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="811" y="114" width="30" height="26" uuid="7b62e459-04bc-4227-be76-24bf5938d552"/>
|
||||
<reportElement uuid="7b62e459-04bc-4227-be76-24bf5938d552" x="811" y="114" width="30" height="26"/>
|
||||
<textElement>
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{detail.tipo}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="677" y="114" width="30" height="26" uuid="069eab80-7d6d-4dae-a598-c5014deb81f4"/>
|
||||
<reportElement uuid="069eab80-7d6d-4dae-a598-c5014deb81f4" x="677" y="114" width="30" height="26"/>
|
||||
<textElement>
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{detail.tipoDoc}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="1062" y="114" width="20" height="26" uuid="5105aee2-c3ec-4571-a14c-06b69218decc"/>
|
||||
<reportElement uuid="5105aee2-c3ec-4571-a14c-06b69218decc" x="1062" y="114" width="20" height="26"/>
|
||||
<textElement>
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{detail.tpp}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="1082" y="114" width="50" height="26" uuid="1fe1fad6-d193-4dc1-9696-5614ff9a10d0"/>
|
||||
<reportElement uuid="1fe1fad6-d193-4dc1-9696-5614ff9a10d0" x="1082" y="114" width="50" height="26"/>
|
||||
<textElement>
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{detail.status}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="983" y="114" width="27" height="26" uuid="f3655778-94dd-4fb6-8c84-cf32416201e0"/>
|
||||
<reportElement uuid="f3655778-94dd-4fb6-8c84-cf32416201e0" x="983" y="114" width="27" height="26"/>
|
||||
<textElement>
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{detail.seguro}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="1043" y="114" width="19" height="26" uuid="b68a4e34-b6e9-4006-8373-707c4e37eb31"/>
|
||||
<reportElement uuid="b68a4e34-b6e9-4006-8373-707c4e37eb31" x="1043" y="114" width="19" height="26"/>
|
||||
<textElement>
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{detail.utr}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="1010" y="114" width="33" height="26" uuid="c74391a0-cc07-44f7-90af-3036910e6bb3"/>
|
||||
<reportElement uuid="c74391a0-cc07-44f7-90af-3036910e6bb3" x="1010" y="114" width="33" height="26"/>
|
||||
<textElement>
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{detail.pedagio}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="342" y="114" width="26" height="26" uuid="aed6f61a-6566-451b-ba78-6964fb2c9f4e"/>
|
||||
<reportElement uuid="aed6f61a-6566-451b-ba78-6964fb2c9f4e" x="342" y="114" width="26" height="26"/>
|
||||
<textElement>
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{detail.codOrigem}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="441" y="114" width="33" height="26" uuid="2f7626c2-fbea-4cb7-808c-2d7dbbd18ee2"/>
|
||||
<reportElement uuid="2f7626c2-fbea-4cb7-808c-2d7dbbd18ee2" x="441" y="114" width="33" height="26"/>
|
||||
<textElement>
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{detail.codDestino}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="0" y="114" width="54" height="26" uuid="421120df-7852-4311-95a8-93478f8c4a5e"/>
|
||||
<reportElement uuid="421120df-7852-4311-95a8-93478f8c4a5e" x="0" y="114" width="54" height="26"/>
|
||||
<textElement>
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{detail.empresa}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="54" y="114" width="55" height="26" uuid="24ef9240-77fe-4c43-b065-4aa214805b3e"/>
|
||||
<reportElement uuid="24ef9240-77fe-4c43-b065-4aa214805b3e" x="54" y="114" width="55" height="26"/>
|
||||
<textElement>
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{detail.agencia}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="612" y="114" width="21" height="26" uuid="9e0176f6-a8ff-4246-8038-34155064d017"/>
|
||||
<reportElement uuid="9e0176f6-a8ff-4246-8038-34155064d017" x="612" y="114" width="21" height="26"/>
|
||||
<textElement>
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{detail.ccf}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="950" y="114" width="33" height="26" uuid="97583aa4-45de-402c-8ce9-978c974d6e0c"/>
|
||||
<reportElement uuid="97583aa4-45de-402c-8ce9-978c974d6e0c" x="950" y="114" width="33" height="26"/>
|
||||
<textElement>
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{detail.tarifa}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="182" y="114" width="42" height="26" uuid="17200d3a-6195-42d1-bc36-ff2baffb56ce"/>
|
||||
<reportElement uuid="17200d3a-6195-42d1-bc36-ff2baffb56ce" x="182" y="114" width="42" height="26"/>
|
||||
<textElement textAlignment="Center">
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{detail.dataServico}]]></textFieldExpression>
|
||||
</textField>
|
||||
<line>
|
||||
<reportElement x="0" y="140" width="1132" height="1" uuid="8e2d6686-e4d7-43d5-b3a9-46adc3e58350"/>
|
||||
<reportElement uuid="8e2d6686-e4d7-43d5-b3a9-46adc3e58350" x="0" y="140" width="1132" height="1"/>
|
||||
</line>
|
||||
<textField>
|
||||
<reportElement x="109" y="81" width="205" height="20" uuid="3541e1b0-8dfe-404e-9461-64d10d85531a"/>
|
||||
<reportElement uuid="3541e1b0-8dfe-404e-9461-64d10d85531a" x="109" y="81" width="205" height="20"/>
|
||||
<textElement/>
|
||||
<textFieldExpression><![CDATA[$P{nomb_empresa}]]></textFieldExpression>
|
||||
</textField>
|
||||
</band>
|
||||
|
@ -339,210 +348,210 @@
|
|||
<detail>
|
||||
<band height="25" splitType="Prevent">
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement stretchType="RelativeToBandHeight" x="224" y="0" width="33" height="23" uuid="3111776a-f727-4313-841c-55dabd804df4"/>
|
||||
<reportElement uuid="3111776a-f727-4313-841c-55dabd804df4" stretchType="RelativeToBandHeight" x="224" y="0" width="33" height="23"/>
|
||||
<textElement textAlignment="Left">
|
||||
<font size="6"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{corridaId}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" pattern="HH:mm" isBlankWhenNull="true">
|
||||
<reportElement stretchType="RelativeToBandHeight" x="314" y="0" width="28" height="23" uuid="4a68f71a-7be1-467a-b3eb-641a0c1f9a48"/>
|
||||
<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
|
||||
<reportElement uuid="4a68f71a-7be1-467a-b3eb-641a0c1f9a48" stretchType="RelativeToBandHeight" x="314" y="0" width="28" height="23"/>
|
||||
<textElement textAlignment="Left">
|
||||
<font size="6"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{fechorviaje}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement stretchType="RelativeToBandHeight" x="739" y="0" width="39" height="23" uuid="6cc780bc-645e-4f03-a7d0-b4ecf7d4eb6c"/>
|
||||
<reportElement uuid="6cc780bc-645e-4f03-a7d0-b4ecf7d4eb6c" stretchType="RelativeToBandHeight" x="739" y="0" width="39" height="23"/>
|
||||
<textElement textAlignment="Center">
|
||||
<font size="6"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{desctipoventa}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement stretchType="RelativeToBandHeight" x="707" y="0" width="32" height="23" uuid="37fa056d-c401-4268-a455-c5caf5e4eb54"/>
|
||||
<reportElement uuid="37fa056d-c401-4268-a455-c5caf5e4eb54" stretchType="RelativeToBandHeight" x="707" y="0" width="32" height="23"/>
|
||||
<textElement textAlignment="Left">
|
||||
<font size="6"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{descnumdoc}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" pattern="###0.00;-###0.00" isBlankWhenNull="true">
|
||||
<reportElement stretchType="RelativeToBandHeight" x="869" y="0" width="40" height="23" uuid="d7019a40-a617-43c7-9ad2-b7c47fb38d60"/>
|
||||
<reportElement uuid="d7019a40-a617-43c7-9ad2-b7c47fb38d60" stretchType="RelativeToBandHeight" x="869" y="0" width="40" height="23"/>
|
||||
<textElement>
|
||||
<font size="6"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{porccategoria}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" pattern="###0.00;-###0.00" isBlankWhenNull="true">
|
||||
<reportElement stretchType="RelativeToBandHeight" x="909" y="0" width="41" height="23" uuid="f0161d55-b853-4318-8028-8aec04c0487d"/>
|
||||
<reportElement uuid="f0161d55-b853-4318-8028-8aec04c0487d" stretchType="RelativeToBandHeight" x="909" y="0" width="41" height="23"/>
|
||||
<textElement>
|
||||
<font size="6"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{preciopagado}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true">
|
||||
<reportElement stretchType="RelativeToBandHeight" x="474" y="0" width="68" height="23" uuid="3343aea7-212b-4bd5-a29c-8dcab3cb7568"/>
|
||||
<reportElement uuid="3343aea7-212b-4bd5-a29c-8dcab3cb7568" stretchType="RelativeToBandHeight" x="474" y="0" width="68" height="23"/>
|
||||
<textElement textAlignment="Left">
|
||||
<font size="6"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{descdestino}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" pattern="dd/MM/yyyy" isBlankWhenNull="true">
|
||||
<reportElement stretchType="RelativeToBandHeight" x="368" y="0" width="73" height="23" uuid="b36dbddb-2fa9-48a5-809e-0e15ad54c529"/>
|
||||
<reportElement uuid="b36dbddb-2fa9-48a5-809e-0e15ad54c529" stretchType="RelativeToBandHeight" x="368" y="0" width="73" height="23"/>
|
||||
<textElement textAlignment="Left">
|
||||
<font size="6"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{descorigen}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" pattern="###0.00;-###0.00" isBlankWhenNull="true">
|
||||
<reportElement stretchType="RelativeToBandHeight" x="841" y="0" width="28" height="23" uuid="695d5bfa-16e3-4163-82a0-36d2a2ba21ed"/>
|
||||
<reportElement uuid="695d5bfa-16e3-4163-82a0-36d2a2ba21ed" stretchType="RelativeToBandHeight" x="841" y="0" width="28" height="23"/>
|
||||
<textElement>
|
||||
<font size="6"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{preciooriginal}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement stretchType="RelativeToBandHeight" x="778" y="0" width="33" height="23" uuid="f7539e74-4ab5-45e3-b3ca-b66967acc3e2"/>
|
||||
<reportElement uuid="f7539e74-4ab5-45e3-b3ca-b66967acc3e2" stretchType="RelativeToBandHeight" x="778" y="0" width="33" height="23"/>
|
||||
<textElement textAlignment="Center">
|
||||
<font size="6"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{cvecategoria}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" pattern="###0.00;-###0.00" isBlankWhenNull="true">
|
||||
<reportElement stretchType="RelativeToBandHeight" x="542" y="0" width="34" height="23" uuid="8b89e606-e89c-4b3d-a5b5-4dfd339de5df"/>
|
||||
<reportElement uuid="8b89e606-e89c-4b3d-a5b5-4dfd339de5df" stretchType="RelativeToBandHeight" x="542" y="0" width="34" height="23"/>
|
||||
<textElement>
|
||||
<font size="6"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{numasiento}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
|
||||
<reportElement x="1010" y="0" width="33" height="23" uuid="9e5ccd79-6850-4b3c-bfa1-405a96d3f826"/>
|
||||
<reportElement uuid="9e5ccd79-6850-4b3c-bfa1-405a96d3f826" x="1010" y="0" width="33" height="23"/>
|
||||
<textElement>
|
||||
<font size="6"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{pedagio}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
|
||||
<reportElement x="1043" y="0" width="19" height="23" uuid="32e01305-63ee-444c-a4a7-e9246621ca83"/>
|
||||
<reportElement uuid="32e01305-63ee-444c-a4a7-e9246621ca83" x="1043" y="0" width="19" height="23"/>
|
||||
<textElement>
|
||||
<font size="6"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{utr}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
|
||||
<reportElement x="983" y="0" width="27" height="23" uuid="bff1a8a9-115f-4abf-811a-92ac988ca380"/>
|
||||
<reportElement uuid="bff1a8a9-115f-4abf-811a-92ac988ca380" x="983" y="0" width="27" height="23"/>
|
||||
<textElement>
|
||||
<font size="6"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{seguro}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement x="677" y="0" width="30" height="23" uuid="9df5776a-63e5-4480-81d5-34427fd79e23"/>
|
||||
<reportElement uuid="9df5776a-63e5-4480-81d5-34427fd79e23" x="677" y="0" width="30" height="23"/>
|
||||
<textElement textAlignment="Left">
|
||||
<font size="6"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{tipoDoc}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement x="811" y="0" width="30" height="23" uuid="d75d9725-26ac-47f5-94db-995e5b49f30a"/>
|
||||
<reportElement uuid="d75d9725-26ac-47f5-94db-995e5b49f30a" x="811" y="0" width="30" height="23"/>
|
||||
<textElement textAlignment="Left">
|
||||
<font size="6"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{tipo}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
|
||||
<reportElement x="1062" y="0" width="20" height="23" uuid="fe98c2f8-b8cc-4f51-bf9d-9b767fe94088"/>
|
||||
<reportElement uuid="fe98c2f8-b8cc-4f51-bf9d-9b767fe94088" x="1062" y="0" width="20" height="23"/>
|
||||
<textElement>
|
||||
<font size="6"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{tpp}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement x="1082" y="0" width="50" height="23" uuid="c6379bbf-bdfb-4600-b6ec-e1e9a6640c6d"/>
|
||||
<reportElement uuid="c6379bbf-bdfb-4600-b6ec-e1e9a6640c6d" x="1082" y="0" width="50" height="23"/>
|
||||
<textElement>
|
||||
<font size="6"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{status}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" pattern="dd/MM/yyyy" isBlankWhenNull="true">
|
||||
<reportElement stretchType="RelativeToBandHeight" x="342" y="0" width="26" height="23" uuid="8bdcad97-d2f3-443d-b2bb-2292e060a68e"/>
|
||||
<reportElement uuid="8bdcad97-d2f3-443d-b2bb-2292e060a68e" stretchType="RelativeToBandHeight" x="342" y="0" width="26" height="23"/>
|
||||
<textElement textAlignment="Left">
|
||||
<font size="6"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{codOrigem}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" pattern="dd/MM/yyyy" isBlankWhenNull="true">
|
||||
<reportElement stretchType="RelativeToBandHeight" x="441" y="0" width="33" height="23" uuid="1c2892df-b5e0-4ef7-a4f2-3479e022d73c"/>
|
||||
<reportElement uuid="1c2892df-b5e0-4ef7-a4f2-3479e022d73c" stretchType="RelativeToBandHeight" x="441" y="0" width="33" height="23"/>
|
||||
<textElement textAlignment="Left">
|
||||
<font size="6"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{codDestino}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" pattern="dd/MM/yy" isBlankWhenNull="true">
|
||||
<reportElement stretchType="RelativeToBandHeight" x="0" y="0" width="54" height="23" uuid="8caf3414-13cb-49df-a75c-ebfa9840e025"/>
|
||||
<reportElement uuid="8caf3414-13cb-49df-a75c-ebfa9840e025" stretchType="RelativeToBandHeight" x="0" y="0" width="54" height="23"/>
|
||||
<textElement textAlignment="Left">
|
||||
<font size="6"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{nombempresa}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" pattern="dd/MM/yy" isBlankWhenNull="true">
|
||||
<reportElement stretchType="RelativeToBandHeight" x="54" y="0" width="55" height="23" uuid="b4bf2776-70de-48e8-8130-fd67cbbad3f3"/>
|
||||
<reportElement uuid="b4bf2776-70de-48e8-8130-fd67cbbad3f3" stretchType="RelativeToBandHeight" x="54" y="0" width="55" height="23"/>
|
||||
<textElement textAlignment="Left">
|
||||
<font size="6"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{nombpuntoventa}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement stretchType="RelativeToBandHeight" x="109" y="0" width="30" height="23" uuid="1f3bab43-ae23-41b1-b5a6-a6c4c09fd359"/>
|
||||
<reportElement uuid="1f3bab43-ae23-41b1-b5a6-a6c4c09fd359" stretchType="RelativeToBandHeight" x="109" y="0" width="30" height="23"/>
|
||||
<textElement textAlignment="Left">
|
||||
<font size="6"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{cveusuario}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" pattern="dd/MM/yyyy" isBlankWhenNull="true">
|
||||
<reportElement x="139" y="0" width="43" height="23" uuid="230fcb25-af91-4a54-b98e-a4477a3f5935"/>
|
||||
<reportElement uuid="230fcb25-af91-4a54-b98e-a4477a3f5935" x="139" y="0" width="43" height="23"/>
|
||||
<textElement textAlignment="Center">
|
||||
<font size="6"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{feccreacion}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement stretchType="RelativeToBandHeight" x="257" y="0" width="57" height="23" uuid="cee727cd-cbc7-41d0-8020-d70aa33d8c9f"/>
|
||||
<reportElement uuid="cee727cd-cbc7-41d0-8020-d70aa33d8c9f" stretchType="RelativeToBandHeight" x="257" y="0" width="57" height="23"/>
|
||||
<textElement textAlignment="Left">
|
||||
<font size="6"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{linha}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement stretchType="RelativeToBandHeight" x="633" y="0" width="44" height="23" uuid="9c9861ac-780e-4e8b-aab8-9a4f506ce62b"/>
|
||||
<reportElement uuid="9c9861ac-780e-4e8b-aab8-9a4f506ce62b" stretchType="RelativeToBandHeight" x="633" y="0" width="44" height="23"/>
|
||||
<textElement textAlignment="Left">
|
||||
<font size="6"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{nombpasajero}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" pattern="###0.00;-###0.00" isBlankWhenNull="true">
|
||||
<reportElement stretchType="RelativeToBandHeight" x="950" y="0" width="33" height="23" uuid="7a2eccbc-06b0-450a-bd27-6b1c669f408c"/>
|
||||
<reportElement uuid="7a2eccbc-06b0-450a-bd27-6b1c669f408c" stretchType="RelativeToBandHeight" x="950" y="0" width="33" height="23"/>
|
||||
<textElement>
|
||||
<font size="6"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{tarifa}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" pattern="###0.00;-###0.00" isBlankWhenNull="true">
|
||||
<reportElement stretchType="RelativeToBandHeight" x="576" y="0" width="36" height="23" uuid="4177f54f-ba97-4731-8c32-c8fc23ce483a"/>
|
||||
<reportElement uuid="4177f54f-ba97-4731-8c32-c8fc23ce483a" stretchType="RelativeToBandHeight" x="576" y="0" width="36" height="23"/>
|
||||
<textElement>
|
||||
<font size="6"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{numfoliosistema}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" pattern="###0.00;-###0.00" isBlankWhenNull="true">
|
||||
<reportElement stretchType="RelativeToBandHeight" x="612" y="0" width="21" height="23" uuid="56de76ac-7bd5-489d-bb2f-5fdba2eb8f67"/>
|
||||
<reportElement uuid="56de76ac-7bd5-489d-bb2f-5fdba2eb8f67" stretchType="RelativeToBandHeight" x="612" y="0" width="21" height="23"/>
|
||||
<textElement>
|
||||
<font size="6"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{ccf}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" pattern="dd/MM/yyyy" isBlankWhenNull="true">
|
||||
<reportElement x="182" y="0" width="42" height="23" uuid="dfd8ec54-db1c-49c7-b293-cd387e04dbb9"/>
|
||||
<reportElement uuid="dfd8ec54-db1c-49c7-b293-cd387e04dbb9" x="182" y="0" width="42" height="23"/>
|
||||
<textElement textAlignment="Center">
|
||||
<font size="6"/>
|
||||
</textElement>
|
||||
|
@ -553,12 +562,13 @@
|
|||
<summary>
|
||||
<band height="18">
|
||||
<textField>
|
||||
<reportElement x="0" y="0" width="139" height="18" uuid="5fdd8d50-c70b-4a5c-9621-5b91642257bf"/>
|
||||
<reportElement uuid="5fdd8d50-c70b-4a5c-9621-5b91642257bf" x="0" y="0" width="139" height="18"/>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$R{detail.total}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="182" y="0" width="75" height="18" uuid="6005f63d-1abc-408d-9af2-adea341fadda"/>
|
||||
<reportElement uuid="6005f63d-1abc-408d-9af2-adea341fadda" x="182" y="0" width="75" height="18"/>
|
||||
<textElement/>
|
||||
<textFieldExpression><![CDATA[$V{qtde}]]></textFieldExpression>
|
||||
</textField>
|
||||
</band>
|
||||
|
@ -566,7 +576,8 @@
|
|||
<noData>
|
||||
<band height="25">
|
||||
<textField>
|
||||
<reportElement x="0" y="0" width="1132" height="20" uuid="5a6c1b7b-2242-4cf1-b957-723b906ee620"/>
|
||||
<reportElement uuid="5a6c1b7b-2242-4cf1-b957-723b906ee620" x="0" y="0" width="1132" height="20"/>
|
||||
<textElement/>
|
||||
<textFieldExpression><![CDATA[$R{msg.noData}]]></textFieldExpression>
|
||||
</textField>
|
||||
</band>
|
||||
|
|
|
@ -13,7 +13,7 @@ public class RelatorioGratuidadeBean {
|
|||
private Integer km;
|
||||
private String linha;
|
||||
private String corridaId;
|
||||
private Date fechorviaje;
|
||||
private String fechorviaje;
|
||||
private String desctipoventa;
|
||||
private String nombpasajero;
|
||||
private String descnumdoc;
|
||||
|
@ -143,10 +143,10 @@ public class RelatorioGratuidadeBean {
|
|||
public void setCorridaId(String corridaId) {
|
||||
this.corridaId = corridaId;
|
||||
}
|
||||
public Date getFechorviaje() {
|
||||
public String getFechorviaje() {
|
||||
return fechorviaje;
|
||||
}
|
||||
public void setFechorviaje(Date fechorviaje) {
|
||||
public void setFechorviaje(String fechorviaje) {
|
||||
this.fechorviaje = fechorviaje;
|
||||
}
|
||||
public String getDesctipoventa() {
|
||||
|
|
Loading…
Reference in New Issue