fixes bug 6450
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@46485 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
cbfd95c0d0
commit
cbfea5f19c
|
@ -67,6 +67,7 @@ public class RelatorioReceitaServico extends Relatorio {
|
|||
dataResult.put("origem", rset.getString("origem"));
|
||||
dataResult.put("destino", rset.getString("destino"));
|
||||
dataResult.put("classe", rset.getString("classe"));
|
||||
dataResult.put("preciobase", rset.getBigDecimal("preciobase"));
|
||||
dataResult.put("tarifa", rset.getBigDecimal("tarifa"));
|
||||
dataResult.put("tut", rset.getBigDecimal("tut"));
|
||||
dataResult.put("pedagio", rset.getBigDecimal("pedagio"));
|
||||
|
@ -98,6 +99,7 @@ public class RelatorioReceitaServico extends Relatorio {
|
|||
sql.append(" pOrig.cveparada as Origem, ");
|
||||
sql.append(" pDest.cveparada as Destino, ");
|
||||
sql.append(" cl_ser.descclase as Classe, ");
|
||||
sql.append(" cj.preciobase as preciobase, ");
|
||||
sql.append(" cj.preciopagado as tarifa, ");
|
||||
sql.append(" cj.importetaxaembarque as tut, ");
|
||||
sql.append(" cj.importepedagio as pedagio, ");
|
||||
|
|
Binary file not shown.
|
@ -1,8 +1,10 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<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="RelatorioReceitaServico" pageWidth="842" pageHeight="595" orientation="Landscape" whenNoDataType="NoDataSection" columnWidth="802" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="c092ef85-9334-4225-93d7-1acb7cf4d021">
|
||||
<property name="ireport.zoom" value="1.0"/>
|
||||
<property name="ireport.x" value="0"/>
|
||||
<property name="ireport.x" value="180"/>
|
||||
<property name="ireport.y" value="0"/>
|
||||
<property name="net.sf.jasperreports.export.xls.exclude.origin.keep.first.band.2" value="pageHeader"/>
|
||||
<property name="net.sf.jasperreports.export.xls.exclude.origin.keep.first.band.1" value="columnHeader"/>
|
||||
<parameter name="NOME_RELATORIO" class="java.lang.String"/>
|
||||
<parameter name="DATA_INICIAL" class="java.util.Date"/>
|
||||
<parameter name="DATA_FINAL" class="java.util.Date"/>
|
||||
|
@ -26,6 +28,7 @@
|
|||
<field name="dataHoraCompra" class="java.util.Date"/>
|
||||
<field name="passageiro" class="java.lang.String"/>
|
||||
<field name="nrBilhete" class="java.lang.String"/>
|
||||
<field name="preciobase" class="java.math.BigDecimal"/>
|
||||
<variable name="totalizador" class="java.math.BigDecimal" calculation="Sum">
|
||||
<variableExpression><![CDATA[$F{total}]]></variableExpression>
|
||||
</variable>
|
||||
|
@ -140,229 +143,264 @@
|
|||
<columnHeader>
|
||||
<band height="61" splitType="Stretch">
|
||||
<staticText>
|
||||
<reportElement uuid="5f9a0ea4-15d3-4bad-953a-0dc6f3f6ef51" x="0" y="33" width="46" height="28"/>
|
||||
<reportElement uuid="5f9a0ea4-15d3-4bad-953a-0dc6f3f6ef51" x="1" y="33" width="48" height="28"/>
|
||||
<textElement textAlignment="Left">
|
||||
<font size="8"/>
|
||||
<font size="7" isItalic="false"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Data]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement uuid="fa0a31b5-6a94-4b0c-b730-4b6ef8f2304c" x="46" y="33" width="37" height="28"/>
|
||||
<reportElement uuid="fa0a31b5-6a94-4b0c-b730-4b6ef8f2304c" x="49" y="33" width="51" height="28"/>
|
||||
<textElement textAlignment="Left">
|
||||
<font size="8" isBold="true"/>
|
||||
<font size="7" isBold="true" isItalic="false"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Serviço]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement uuid="a797bc17-1810-47b7-a3e1-510cc6403454" x="83" y="33" width="76" height="28"/>
|
||||
<reportElement uuid="a797bc17-1810-47b7-a3e1-510cc6403454" x="100" y="33" width="66" height="28"/>
|
||||
<textElement textAlignment="Left">
|
||||
<font size="8" isBold="false"/>
|
||||
<font size="7" isBold="false" isItalic="false"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Empresa]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement uuid="765ebd99-b6de-4c8e-910d-b3e5bf9db573" x="159" y="33" width="30" height="28"/>
|
||||
<reportElement uuid="765ebd99-b6de-4c8e-910d-b3e5bf9db573" x="166" y="33" width="30" height="28"/>
|
||||
<textElement textAlignment="Left">
|
||||
<font size="8"/>
|
||||
<font size="7" isItalic="false"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Origem]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement uuid="2f3b9ac0-165c-4718-96c8-a37f005b5b82" x="189" y="33" width="30" height="28"/>
|
||||
<reportElement uuid="2f3b9ac0-165c-4718-96c8-a37f005b5b82" x="196" y="33" width="33" height="28"/>
|
||||
<textElement textAlignment="Left">
|
||||
<font size="8"/>
|
||||
<font size="7" isItalic="false"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Destino]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement uuid="9eb87b55-da02-478a-b21d-c7b727dbaafe" x="219" y="33" width="67" height="28"/>
|
||||
<reportElement uuid="9eb87b55-da02-478a-b21d-c7b727dbaafe" x="229" y="33" width="68" height="28"/>
|
||||
<textElement textAlignment="Left">
|
||||
<font size="8"/>
|
||||
<font size="7" isItalic="false"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Classe]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement uuid="fe1e6ace-6d95-4089-8f28-d926554bf65d" x="286" y="33" width="40" height="28"/>
|
||||
<reportElement uuid="fe1e6ace-6d95-4089-8f28-d926554bf65d" x="297" y="33" width="40" height="28"/>
|
||||
<textElement textAlignment="Left">
|
||||
<font size="8"/>
|
||||
<font size="7" isItalic="false"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Tarifa]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement uuid="52d26417-4766-44b3-aaa7-b468c124feda" x="326" y="33" width="40" height="28"/>
|
||||
<reportElement uuid="52d26417-4766-44b3-aaa7-b468c124feda" x="374" y="33" width="34" height="28"/>
|
||||
<textElement textAlignment="Left">
|
||||
<font size="8"/>
|
||||
<font size="7" isItalic="false"/>
|
||||
</textElement>
|
||||
<text><![CDATA[TUT]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement uuid="3f6afcbf-9dfe-4f1b-b937-45dbc9ace8a2" x="366" y="33" width="40" height="28"/>
|
||||
<reportElement uuid="3f6afcbf-9dfe-4f1b-b937-45dbc9ace8a2" x="408" y="33" width="41" height="28"/>
|
||||
<textElement textAlignment="Left">
|
||||
<font size="8" isStrikeThrough="false"/>
|
||||
<font size="7" isItalic="false" isStrikeThrough="false"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Pedágio]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement uuid="182474d6-668a-4847-9db6-ba65c41119aa" x="406" y="33" width="40" height="28"/>
|
||||
<reportElement uuid="182474d6-668a-4847-9db6-ba65c41119aa" x="449" y="33" width="40" height="28"/>
|
||||
<textElement textAlignment="Left">
|
||||
<font size="8"/>
|
||||
<font size="7" isItalic="false"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Total]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement uuid="a7b14fa8-3b89-4f4d-b265-63eb3d930b04" x="446" y="33" width="53" height="28"/>
|
||||
<reportElement uuid="a7b14fa8-3b89-4f4d-b265-63eb3d930b04" x="489" y="33" width="40" height="28"/>
|
||||
<textElement>
|
||||
<font size="8"/>
|
||||
<font size="7" isItalic="false"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Tipo]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement uuid="10f27b7d-5cc9-423c-a196-330c78cdb69e" x="498" y="33" width="70" height="28"/>
|
||||
<reportElement uuid="10f27b7d-5cc9-423c-a196-330c78cdb69e" x="529" y="33" width="73" height="28"/>
|
||||
<textElement>
|
||||
<font size="8"/>
|
||||
<font size="7" isItalic="false"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Agência]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement uuid="f2097833-6bd3-4523-b457-44ed6cc4abd6" x="568" y="33" width="78" height="28"/>
|
||||
<reportElement uuid="f2097833-6bd3-4523-b457-44ed6cc4abd6" x="602" y="33" width="43" height="28"/>
|
||||
<textElement>
|
||||
<font size="8"/>
|
||||
<font size="7" isItalic="false"/>
|
||||
</textElement>
|
||||
<text><![CDATA[DataHoraCompra ]]></text>
|
||||
<text><![CDATA[Data]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement uuid="44b2bf55-871a-4eaa-97d4-74bee2a89769" x="646" y="33" width="80" height="28"/>
|
||||
<reportElement uuid="44b2bf55-871a-4eaa-97d4-74bee2a89769" x="678" y="33" width="57" height="28"/>
|
||||
<textElement>
|
||||
<font size="8"/>
|
||||
<font size="7" isItalic="false"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Passageiro]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement uuid="2abbc372-a813-4da6-8ce1-e5901a15b430" x="726" y="33" width="39" height="28"/>
|
||||
<reportElement uuid="2abbc372-a813-4da6-8ce1-e5901a15b430" x="735" y="33" width="39" height="28"/>
|
||||
<textElement>
|
||||
<font size="8"/>
|
||||
<font size="7" isItalic="false"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Nr bilhete ]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement uuid="2bd47a58-e591-4b32-bdd4-fa43ece0c581" x="765" y="33" width="37" height="28"/>
|
||||
<reportElement uuid="2bd47a58-e591-4b32-bdd4-fa43ece0c581" x="774" y="33" width="28" height="28"/>
|
||||
<textElement>
|
||||
<font size="8"/>
|
||||
<font size="7" isItalic="false"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Status]]></text>
|
||||
</staticText>
|
||||
<line>
|
||||
<reportElement uuid="a11636cc-5ee1-44cc-8cd1-cbe2ebc47abb" x="0" y="56" width="802" height="5"/>
|
||||
</line>
|
||||
<staticText>
|
||||
<reportElement uuid="bceca474-7703-4bf0-a0da-d8e15b70aeca" x="645" y="33" width="33" height="28"/>
|
||||
<textElement>
|
||||
<font size="7" isItalic="false"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Hora]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement uuid="39e49959-967f-4fd2-8b92-a0331dcce1e3" x="337" y="33" width="37" height="28"/>
|
||||
<textElement textAlignment="Left">
|
||||
<font size="7" isItalic="false"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Original]]></text>
|
||||
</staticText>
|
||||
</band>
|
||||
</columnHeader>
|
||||
<detail>
|
||||
<band height="23" splitType="Stretch">
|
||||
<textField>
|
||||
<reportElement uuid="b15ada19-a1c0-4feb-9734-3a6c624bbfe6" x="46" y="0" width="37" height="20"/>
|
||||
<reportElement uuid="b15ada19-a1c0-4feb-9734-3a6c624bbfe6" x="49" y="0" width="51" height="20"/>
|
||||
<textElement>
|
||||
<font size="8" isBold="true"/>
|
||||
<font size="7" isBold="true" isItalic="false"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{servico}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="c35afacb-b160-4ace-b7be-c2e2f54ac1c0" x="83" y="0" width="76" height="20"/>
|
||||
<reportElement uuid="c35afacb-b160-4ace-b7be-c2e2f54ac1c0" x="100" y="0" width="66" height="20"/>
|
||||
<textElement>
|
||||
<font size="8"/>
|
||||
<font size="7" isItalic="false"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{empresa}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="fd8ae360-3ae2-4adc-8c3a-fcfb19551d22" x="159" y="0" width="30" height="20"/>
|
||||
<reportElement uuid="fd8ae360-3ae2-4adc-8c3a-fcfb19551d22" x="166" y="0" width="30" height="20"/>
|
||||
<textElement>
|
||||
<font size="8"/>
|
||||
<font size="7" isItalic="false"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{origem}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="29ae3fa8-9db1-46c8-bcf7-cb9aa7bc6eb3" x="189" y="0" width="30" height="20"/>
|
||||
<reportElement uuid="29ae3fa8-9db1-46c8-bcf7-cb9aa7bc6eb3" x="196" y="0" width="33" height="20"/>
|
||||
<textElement>
|
||||
<font size="8"/>
|
||||
<font size="7" isItalic="false"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{destino}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="7265d085-4188-44a0-8e04-e5efdb0d5ccf" x="219" y="0" width="67" height="20"/>
|
||||
<reportElement uuid="7265d085-4188-44a0-8e04-e5efdb0d5ccf" x="229" y="0" width="68" height="20"/>
|
||||
<textElement>
|
||||
<font size="8"/>
|
||||
<font size="7" isItalic="false"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{classe}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="¤ #,##0.00">
|
||||
<reportElement uuid="6430daa4-d318-4f4a-87ff-2ea4de9d492e" x="286" y="0" width="40" height="20"/>
|
||||
<reportElement uuid="6430daa4-d318-4f4a-87ff-2ea4de9d492e" x="297" y="0" width="41" height="20"/>
|
||||
<textElement>
|
||||
<font size="8"/>
|
||||
<font size="7" isItalic="false"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{tarifa}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="¤ #,##0.00">
|
||||
<reportElement uuid="49faea3b-2ce4-469a-b07c-3b4869aaa9e5" x="326" y="0" width="40" height="20"/>
|
||||
<reportElement uuid="49faea3b-2ce4-469a-b07c-3b4869aaa9e5" x="374" y="0" width="34" height="20"/>
|
||||
<textElement>
|
||||
<font size="8"/>
|
||||
<font size="7" isItalic="false"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{tut}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="¤ #,##0.00">
|
||||
<reportElement uuid="16461919-04ea-48df-af5c-7f0d7dcb7fab" x="366" y="0" width="40" height="20"/>
|
||||
<reportElement uuid="16461919-04ea-48df-af5c-7f0d7dcb7fab" x="408" y="0" width="41" height="20"/>
|
||||
<textElement>
|
||||
<font size="8"/>
|
||||
<font size="7" isItalic="false"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{pedagio}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="¤ #,##0.00">
|
||||
<reportElement uuid="97be07ba-bdb1-4bf2-91af-554b580ee3fa" x="406" y="0" width="40" height="20"/>
|
||||
<reportElement uuid="97be07ba-bdb1-4bf2-91af-554b580ee3fa" x="449" y="0" width="40" height="20"/>
|
||||
<textElement>
|
||||
<font size="8"/>
|
||||
<font size="7" isItalic="false"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{total}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="8cf0c102-4e42-4f6d-8922-8edc808fdc0f" x="446" y="0" width="53" height="20"/>
|
||||
<reportElement uuid="8cf0c102-4e42-4f6d-8922-8edc808fdc0f" x="489" y="0" width="40" height="20"/>
|
||||
<textElement>
|
||||
<font size="8"/>
|
||||
<font size="7" isItalic="false"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{tipo}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="0ecedfc0-febb-40e0-b5ca-168b5a296646" x="498" y="0" width="70" height="20"/>
|
||||
<reportElement uuid="0ecedfc0-febb-40e0-b5ca-168b5a296646" x="529" y="0" width="73" height="20"/>
|
||||
<textElement>
|
||||
<font size="8"/>
|
||||
<font size="7" isItalic="false"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{agencia}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="8229beec-daa6-4357-a4c9-f475d7a873aa" x="568" y="0" width="78" height="20"/>
|
||||
<reportElement uuid="8229beec-daa6-4357-a4c9-f475d7a873aa" x="602" y="0" width="43" height="20"/>
|
||||
<textElement>
|
||||
<font size="8"/>
|
||||
<font size="7" isItalic="false"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[new SimpleDateFormat("MM/dd/yyyy HH:mm:ss").format($F{dataHoraCompra})]]></textFieldExpression>
|
||||
<textFieldExpression><![CDATA[new SimpleDateFormat("MM/dd/yyyy").format($F{dataHoraCompra})]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="8e67c346-5c72-4a92-beee-9dd9ad647bb1" x="646" y="0" width="80" height="20"/>
|
||||
<reportElement uuid="8e67c346-5c72-4a92-beee-9dd9ad647bb1" x="678" y="0" width="57" height="20"/>
|
||||
<textElement>
|
||||
<font size="8"/>
|
||||
<font size="7" isItalic="false"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{passageiro}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="9a639996-146c-42c9-a8fd-f947a59310f4" x="726" y="0" width="39" height="20"/>
|
||||
<reportElement uuid="9a639996-146c-42c9-a8fd-f947a59310f4" x="735" y="0" width="39" height="20"/>
|
||||
<textElement>
|
||||
<font size="8"/>
|
||||
<font size="7" isItalic="false"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{nrBilhete}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="dd/MM/yyyy">
|
||||
<reportElement uuid="bfb9d635-bbc1-4e92-890a-df8299bc8daa" x="0" y="0" width="46" height="20"/>
|
||||
<reportElement uuid="bfb9d635-bbc1-4e92-890a-df8299bc8daa" x="0" y="0" width="49" height="20"/>
|
||||
<textElement>
|
||||
<font size="8"/>
|
||||
<font size="7" isItalic="false"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{data}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="8d419689-a353-4332-8e39-222dde198168" x="645" y="0" width="33" height="20"/>
|
||||
<textElement>
|
||||
<font size="7" isItalic="false"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[new SimpleDateFormat("HH:mm:ss").format($F{dataHoraCompra})]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="¤ #,##0.00">
|
||||
<reportElement uuid="48c368c2-dd11-4724-a5e9-b3f139464d4a" x="338" y="0" width="36" height="20"/>
|
||||
<textElement>
|
||||
<font size="7" isItalic="false"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{preciobase}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="1f6449f5-835f-41f2-8c41-94eb91e54fa2" x="774" y="0" width="28" height="20"/>
|
||||
<textElement>
|
||||
<font size="7" isItalic="false"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[""]]></textFieldExpression>
|
||||
</textField>
|
||||
</band>
|
||||
</detail>
|
||||
<summary>
|
||||
|
|
Loading…
Reference in New Issue