fixed bug #0008450 -Foi criado o novo relatório, com as informações solicitadas pelo cliente.
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@67733 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
a4ba505d10
commit
c5fc8bbf2d
|
@ -0,0 +1,13 @@
|
||||||
|
#geral
|
||||||
|
msg.noData=Não foi possivel obter dados com os parâmetros informados.
|
||||||
|
|
||||||
|
|
||||||
|
#Labels cabeçalho
|
||||||
|
cabecalho.relatorio=Relatório:
|
||||||
|
cabecalho.periodo=Período:
|
||||||
|
cabecalho.periodoA=à
|
||||||
|
cabecalho.dataHora=Data/Hora:
|
||||||
|
cabecalho.impressorPor=Impressor por:
|
||||||
|
cabecalho.pagina=Página
|
||||||
|
cabecalho.de=de
|
||||||
|
cabecalho.filtros=Filtros:
|
|
@ -0,0 +1,27 @@
|
||||||
|
<?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="RelatorioKMProgramadaa" language="groovy" pageWidth="842" pageHeight="595" orientation="Landscape" columnWidth="802" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="f17f08f9-16b3-47cf-ad73-e383a1eb1439">
|
||||||
|
<background>
|
||||||
|
<band splitType="Stretch"/>
|
||||||
|
</background>
|
||||||
|
<title>
|
||||||
|
<band height="79" splitType="Stretch"/>
|
||||||
|
</title>
|
||||||
|
<pageHeader>
|
||||||
|
<band height="35" splitType="Stretch"/>
|
||||||
|
</pageHeader>
|
||||||
|
<columnHeader>
|
||||||
|
<band height="61" splitType="Stretch"/>
|
||||||
|
</columnHeader>
|
||||||
|
<detail>
|
||||||
|
<band height="125" splitType="Stretch"/>
|
||||||
|
</detail>
|
||||||
|
<columnFooter>
|
||||||
|
<band height="45" splitType="Stretch"/>
|
||||||
|
</columnFooter>
|
||||||
|
<pageFooter>
|
||||||
|
<band height="54" splitType="Stretch"/>
|
||||||
|
</pageFooter>
|
||||||
|
<summary>
|
||||||
|
<band height="42" splitType="Stretch"/>
|
||||||
|
</summary>
|
||||||
|
</jasperReport>
|
Binary file not shown.
|
@ -0,0 +1,251 @@
|
||||||
|
<?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="RelatorioLinhaOperacional" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="05f861f2-e7cd-40e1-9ba0-8f8cd2c3c35c">
|
||||||
|
<property name="ireport.zoom" value="2.0"/>
|
||||||
|
<property name="ireport.x" value="0"/>
|
||||||
|
<property name="ireport.y" value="78"/>
|
||||||
|
<parameter name="DATA_INICIAL" class="java.lang.String" isForPrompting="false">
|
||||||
|
<parameterDescription><![CDATA[]]></parameterDescription>
|
||||||
|
</parameter>
|
||||||
|
<parameter name="DATA_FINAL" class="java.lang.String" isForPrompting="false"/>
|
||||||
|
<parameter name="FILTROS" class="java.lang.String"/>
|
||||||
|
<queryString>
|
||||||
|
<![CDATA[]]>
|
||||||
|
</queryString>
|
||||||
|
<field name="Linhas" class="java.lang.String"/>
|
||||||
|
<field name="KMPadrao" class="java.math.BigDecimal"/>
|
||||||
|
<field name="SRVExtra" class="java.lang.Integer"/>
|
||||||
|
<field name="SRVTotal" class="java.lang.Integer"/>
|
||||||
|
<field name="SRVNormal" class="java.lang.Integer"/>
|
||||||
|
<field name="DescLinha" class="java.lang.String"/>
|
||||||
|
<field name="KMTotal" class="java.math.BigDecimal"/>
|
||||||
|
<variable name="SRVTotalNormal" class="java.lang.Integer" calculation="Sum">
|
||||||
|
<variableExpression><![CDATA[$F{SRVNormal}]]></variableExpression>
|
||||||
|
</variable>
|
||||||
|
<variable name="SRVTotalExtra" class="java.lang.Integer" calculation="Sum">
|
||||||
|
<variableExpression><![CDATA[$F{SRVExtra}]]></variableExpression>
|
||||||
|
</variable>
|
||||||
|
<variable name="SRVTotal" class="java.lang.Integer" calculation="Sum">
|
||||||
|
<variableExpression><![CDATA[$F{SRVTotal}]]></variableExpression>
|
||||||
|
</variable>
|
||||||
|
<variable name="KMTotal" class="java.math.BigDecimal" calculation="Sum">
|
||||||
|
<variableExpression><![CDATA[$F{KMTotal}]]></variableExpression>
|
||||||
|
</variable>
|
||||||
|
<group name="empresa">
|
||||||
|
<groupExpression><![CDATA[]]></groupExpression>
|
||||||
|
<groupHeader>
|
||||||
|
<band/>
|
||||||
|
</groupHeader>
|
||||||
|
<groupFooter>
|
||||||
|
<band/>
|
||||||
|
</groupFooter>
|
||||||
|
</group>
|
||||||
|
<group name="data_venda">
|
||||||
|
<groupExpression><![CDATA[]]></groupExpression>
|
||||||
|
<groupHeader>
|
||||||
|
<band height="22">
|
||||||
|
<staticText>
|
||||||
|
<reportElement x="376" y="1" width="55" height="20" uuid="5f3a69a7-463d-48ea-99af-f5446c6afd9e"/>
|
||||||
|
<textElement textAlignment="Center" verticalAlignment="Middle">
|
||||||
|
<font size="9" isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<text><![CDATA[SRV Extra]]></text>
|
||||||
|
</staticText>
|
||||||
|
<staticText>
|
||||||
|
<reportElement x="321" y="1" width="55" height="20" uuid="27eb2510-ecb8-4c95-b976-10c318e20fd5"/>
|
||||||
|
<textElement textAlignment="Center" verticalAlignment="Middle">
|
||||||
|
<font size="9" isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<text><![CDATA[SRV Normal]]></text>
|
||||||
|
</staticText>
|
||||||
|
<line>
|
||||||
|
<reportElement x="0" y="0" width="555" height="1" uuid="47efb762-6148-45fa-892c-67687d0e52a9"/>
|
||||||
|
</line>
|
||||||
|
<staticText>
|
||||||
|
<reportElement x="431" y="1" width="55" height="20" uuid="00b58cf4-caaa-4721-b08a-2303e6cf5cab"/>
|
||||||
|
<textElement textAlignment="Center" verticalAlignment="Middle">
|
||||||
|
<font size="9" isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<text><![CDATA[SRV Total]]></text>
|
||||||
|
</staticText>
|
||||||
|
<staticText>
|
||||||
|
<reportElement x="247" y="1" width="74" height="20" uuid="ec08843f-04de-4891-abc8-14f015abf4e4"/>
|
||||||
|
<textElement textAlignment="Center" verticalAlignment="Middle">
|
||||||
|
<font size="9" isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<text><![CDATA[Extensão ]]></text>
|
||||||
|
</staticText>
|
||||||
|
<line>
|
||||||
|
<reportElement x="0" y="21" width="555" height="1" uuid="b17d89e0-6b0b-4905-a5d7-8f5efaeba8b7"/>
|
||||||
|
</line>
|
||||||
|
<staticText>
|
||||||
|
<reportElement x="0" y="1" width="52" height="20" uuid="b262d6ff-a3bc-4979-bad8-d1bdd50cdc26"/>
|
||||||
|
<textElement textAlignment="Center" verticalAlignment="Middle">
|
||||||
|
<font size="9" isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<text><![CDATA[Linha]]></text>
|
||||||
|
</staticText>
|
||||||
|
<staticText>
|
||||||
|
<reportElement x="52" y="1" width="195" height="20" uuid="68fc8cc7-0228-48f5-b332-64aa4b34c560"/>
|
||||||
|
<textElement textAlignment="Center" verticalAlignment="Middle">
|
||||||
|
<font size="9" isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<text><![CDATA[Descrição ]]></text>
|
||||||
|
</staticText>
|
||||||
|
<staticText>
|
||||||
|
<reportElement x="486" y="1" width="69" height="20" uuid="f2bb8e30-d37b-41f4-b8a9-cd80f669d0b1"/>
|
||||||
|
<textElement textAlignment="Center" verticalAlignment="Middle">
|
||||||
|
<font size="9" isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<text><![CDATA[KMTotal]]></text>
|
||||||
|
</staticText>
|
||||||
|
</band>
|
||||||
|
</groupHeader>
|
||||||
|
<groupFooter>
|
||||||
|
<band height="23">
|
||||||
|
<line>
|
||||||
|
<reportElement positionType="Float" x="0" y="0" width="555" height="1" uuid="5942b8cb-4274-4ff4-be5c-ded9128456a4"/>
|
||||||
|
</line>
|
||||||
|
<textField>
|
||||||
|
<reportElement x="321" y="1" width="55" height="22" uuid="c945c103-3acb-41e9-9187-80313803ca68"/>
|
||||||
|
<textElement textAlignment="Center" verticalAlignment="Middle">
|
||||||
|
<font size="10" isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$V{SRVTotalNormal}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField>
|
||||||
|
<reportElement x="376" y="1" width="55" height="22" uuid="b8c3b74a-3e67-482e-a6f2-62a663be78f0"/>
|
||||||
|
<textElement textAlignment="Center" verticalAlignment="Middle">
|
||||||
|
<font size="10" isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$V{SRVTotalExtra}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField>
|
||||||
|
<reportElement x="431" y="1" width="55" height="22" uuid="9b262fa5-4f76-4ce1-917c-37b91750a400"/>
|
||||||
|
<textElement textAlignment="Center" verticalAlignment="Middle">
|
||||||
|
<font size="10" isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$V{SRVTotal}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField>
|
||||||
|
<reportElement x="486" y="1" width="69" height="22" uuid="86e2d1a6-e575-426a-984f-d987e654a450"/>
|
||||||
|
<textElement textAlignment="Center" verticalAlignment="Middle">
|
||||||
|
<font size="10" isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$V{KMTotal}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<staticText>
|
||||||
|
<reportElement x="247" y="1" width="74" height="22" uuid="4e67232c-fb55-48c3-a8ce-064afe60c36d"/>
|
||||||
|
<textElement textAlignment="Right" verticalAlignment="Middle">
|
||||||
|
<font isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<text><![CDATA[TOTAL:]]></text>
|
||||||
|
</staticText>
|
||||||
|
</band>
|
||||||
|
</groupFooter>
|
||||||
|
</group>
|
||||||
|
<background>
|
||||||
|
<band splitType="Stretch"/>
|
||||||
|
</background>
|
||||||
|
<title>
|
||||||
|
<band height="73" splitType="Stretch">
|
||||||
|
<staticText>
|
||||||
|
<reportElement x="0" y="0" width="247" height="20" uuid="68f4ea28-b08b-4655-ab65-5f181721909f"/>
|
||||||
|
<textElement>
|
||||||
|
<font size="14" isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<text><![CDATA[Kilometragem Programada]]></text>
|
||||||
|
</staticText>
|
||||||
|
<textField pattern="dd/MM/yyyy HH:mm">
|
||||||
|
<reportElement x="403" y="0" width="152" height="20" uuid="d0203404-283e-4281-a85f-9fe7c3f0e121"/>
|
||||||
|
<textElement textAlignment="Right">
|
||||||
|
<font isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField>
|
||||||
|
<reportElement x="0" y="31" width="291" height="20" uuid="7adb9127-4696-4a5a-9ebb-ab4430744550"/>
|
||||||
|
<textElement verticalAlignment="Middle">
|
||||||
|
<font isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA["Período: " + $P{DATA_INICIAL} + " a " + $P{DATA_FINAL}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<staticText>
|
||||||
|
<reportElement x="0" y="51" width="46" height="20" uuid="4edc7c1b-38fc-4738-a3eb-a8002b23ae18"/>
|
||||||
|
<textElement verticalAlignment="Middle">
|
||||||
|
<font isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<text><![CDATA[Filtros:]]></text>
|
||||||
|
</staticText>
|
||||||
|
<line>
|
||||||
|
<reportElement positionType="Float" x="0" y="71" width="555" height="1" uuid="001cfcc7-c18f-4b8f-9bd1-01568512ca0c"/>
|
||||||
|
</line>
|
||||||
|
<textField>
|
||||||
|
<reportElement x="46" y="51" width="509" height="20" uuid="9b9ca6f0-2531-42dc-8d40-e54c9dba2064"/>
|
||||||
|
<textElement verticalAlignment="Middle"/>
|
||||||
|
<textFieldExpression><![CDATA[$P{FILTROS}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
</band>
|
||||||
|
</title>
|
||||||
|
<pageHeader>
|
||||||
|
<band height="20" splitType="Stretch">
|
||||||
|
<textField>
|
||||||
|
<reportElement x="371" y="0" width="184" height="20" uuid="6a9bc57e-e736-4980-9a76-2c0c5f9da022"/>
|
||||||
|
<textElement textAlignment="Right">
|
||||||
|
<font isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA["Página " + $V{PAGE_NUMBER}+ " de " + $V{PAGE_NUMBER}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
</band>
|
||||||
|
</pageHeader>
|
||||||
|
<columnHeader>
|
||||||
|
<band splitType="Stretch"/>
|
||||||
|
</columnHeader>
|
||||||
|
<detail>
|
||||||
|
<band height="14" splitType="Stretch">
|
||||||
|
<textField>
|
||||||
|
<reportElement x="0" y="0" width="48" height="14" uuid="0f0cfa81-d8bf-407c-9551-341442765b6a"/>
|
||||||
|
<textElement textAlignment="Right" verticalAlignment="Middle"/>
|
||||||
|
<textFieldExpression><![CDATA[$F{Linhas}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField>
|
||||||
|
<reportElement x="376" y="0" width="55" height="14" uuid="5da852ae-50a6-4f04-84ee-2ecf5e9bca9f"/>
|
||||||
|
<textElement textAlignment="Center" verticalAlignment="Middle"/>
|
||||||
|
<textFieldExpression><![CDATA[$F{SRVExtra}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField>
|
||||||
|
<reportElement x="52" y="0" width="195" height="14" uuid="1bba72dc-a585-48fb-8865-1247d00cac96"/>
|
||||||
|
<textElement verticalAlignment="Middle"/>
|
||||||
|
<textFieldExpression><![CDATA[$F{DescLinha}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField>
|
||||||
|
<reportElement x="321" y="0" width="55" height="14" uuid="2b3aed1c-0b1b-4e81-aea9-8d0298e1cd0d"/>
|
||||||
|
<textElement textAlignment="Center" verticalAlignment="Middle"/>
|
||||||
|
<textFieldExpression><![CDATA[$F{SRVNormal}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField>
|
||||||
|
<reportElement x="431" y="0" width="55" height="14" uuid="dd89894e-bbc7-4dce-9dd4-9b766c8b35fe"/>
|
||||||
|
<textElement textAlignment="Center" verticalAlignment="Middle"/>
|
||||||
|
<textFieldExpression><![CDATA[$F{SRVTotal}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField>
|
||||||
|
<reportElement x="247" y="0" width="74" height="14" uuid="bcc5ff65-5812-48d3-87c1-2dda80723857"/>
|
||||||
|
<textElement textAlignment="Center" verticalAlignment="Middle"/>
|
||||||
|
<textFieldExpression><![CDATA[$F{KMPadrao}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField>
|
||||||
|
<reportElement x="486" y="0" width="69" height="14" uuid="963e0594-8a28-4a8c-a7c2-d87a9ae27906"/>
|
||||||
|
<textElement textAlignment="Center" verticalAlignment="Middle"/>
|
||||||
|
<textFieldExpression><![CDATA[$F{KMTotal}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
</band>
|
||||||
|
</detail>
|
||||||
|
<columnFooter>
|
||||||
|
<band splitType="Stretch"/>
|
||||||
|
</columnFooter>
|
||||||
|
<pageFooter>
|
||||||
|
<band splitType="Stretch"/>
|
||||||
|
</pageFooter>
|
||||||
|
<summary>
|
||||||
|
<band splitType="Stretch"/>
|
||||||
|
</summary>
|
||||||
|
</jasperReport>
|
Binary file not shown.
|
@ -0,0 +1,465 @@
|
||||||
|
<?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="RelatorioResumoLinhas" pageWidth="842" pageHeight="595" orientation="Landscape" whenNoDataType="NoDataSection" columnWidth="802" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" isFloatColumnFooter="true" uuid="efbc89d4-6f08-4ea5-802f-d4f48ed208e2">
|
||||||
|
<property name="ireport.zoom" value="2.2"/>
|
||||||
|
<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">
|
||||||
|
<box>
|
||||||
|
<pen lineWidth="1.0" lineColor="#000000"/>
|
||||||
|
</box>
|
||||||
|
</style>
|
||||||
|
<style name="table_TH" mode="Opaque" backcolor="#F0F8FF">
|
||||||
|
<box>
|
||||||
|
<pen lineWidth="0.5" lineColor="#000000"/>
|
||||||
|
</box>
|
||||||
|
</style>
|
||||||
|
<style name="table_CH" mode="Opaque" backcolor="#BFE1FF">
|
||||||
|
<box>
|
||||||
|
<pen lineWidth="0.5" lineColor="#000000"/>
|
||||||
|
</box>
|
||||||
|
</style>
|
||||||
|
<style name="table_TD" mode="Opaque" backcolor="#FFFFFF">
|
||||||
|
<box>
|
||||||
|
<pen lineWidth="0.5" lineColor="#000000"/>
|
||||||
|
</box>
|
||||||
|
</style>
|
||||||
|
<parameter name="DATA_INICIAL" class="java.util.Date"/>
|
||||||
|
<parameter name="DATA_FINAL" class="java.util.Date"/>
|
||||||
|
<parameter name="EMPRESA" class="java.lang.String"/>
|
||||||
|
<parameter name="NOME_RELATORIO" class="java.lang.String"/>
|
||||||
|
<parameter name="RUTA_ID" class="java.lang.Integer" isForPrompting="false">
|
||||||
|
<defaultValueExpression><![CDATA[null]]></defaultValueExpression>
|
||||||
|
</parameter>
|
||||||
|
<parameter name="EMPRESA_ID" class="java.lang.Integer"/>
|
||||||
|
<parameter name="USUARIO" class="java.lang.String"/>
|
||||||
|
<parameter name="FILTROS" class="java.lang.String"/>
|
||||||
|
<parameter name="GRUPORUTA_ID" class="java.lang.Integer"/>
|
||||||
|
<queryString>
|
||||||
|
<![CDATA[]]>
|
||||||
|
</queryString>
|
||||||
|
<sortField name="INTERESTADUAL"/>
|
||||||
|
<sortField name="GRUPO_LINHA"/>
|
||||||
|
<sortField name="RUTA_ID"/>
|
||||||
|
<group name="groupInterestaduak">
|
||||||
|
<groupExpression><![CDATA[$F{INTERESTADUAL}]]></groupExpression>
|
||||||
|
<groupHeader>
|
||||||
|
<band height="12">
|
||||||
|
<line>
|
||||||
|
<reportElement x="1" y="1" width="800" height="1" uuid="5bdcd7b5-6a5b-4ee1-b271-23c38689cbc0"/>
|
||||||
|
<graphicElement>
|
||||||
|
<pen lineWidth="0.5"/>
|
||||||
|
</graphicElement>
|
||||||
|
</line>
|
||||||
|
</band>
|
||||||
|
</groupHeader>
|
||||||
|
<groupFooter>
|
||||||
|
<band height="12">
|
||||||
|
<staticText>
|
||||||
|
<reportElement x="14" y="0" width="46" height="10" uuid="f949ef6f-903f-45d8-b89f-d16f49e67494"/>
|
||||||
|
<textElement textAlignment="Right"/>
|
||||||
|
<text><![CDATA[Sub Total:]]></text>
|
||||||
|
</staticText>
|
||||||
|
</band>
|
||||||
|
</groupFooter>
|
||||||
|
</group>
|
||||||
|
<group name="groupLinha">
|
||||||
|
<groupExpression><![CDATA[$F{GRUPO_LINHA}]]></groupExpression>
|
||||||
|
<groupHeader>
|
||||||
|
<band height="9">
|
||||||
|
<line>
|
||||||
|
<reportElement x="1" y="0" width="800" height="1" uuid="095b53f2-ed2e-4c2f-8b03-fd362ba20e4a"/>
|
||||||
|
<graphicElement>
|
||||||
|
<pen lineWidth="0.5"/>
|
||||||
|
</graphicElement>
|
||||||
|
</line>
|
||||||
|
</band>
|
||||||
|
</groupHeader>
|
||||||
|
<groupFooter>
|
||||||
|
<band height="15">
|
||||||
|
<staticText>
|
||||||
|
<reportElement x="14" y="3" width="46" height="10" uuid="eb3f487a-567e-4e6c-8859-09279ab6e95c"/>
|
||||||
|
<textElement textAlignment="Right"/>
|
||||||
|
<text><![CDATA[Total do Grupo:]]></text>
|
||||||
|
</staticText>
|
||||||
|
</band>
|
||||||
|
</groupFooter>
|
||||||
|
</group>
|
||||||
|
<background>
|
||||||
|
<band splitType="Stretch"/>
|
||||||
|
</background>
|
||||||
|
<pageHeader>
|
||||||
|
<band height="66" splitType="Stretch">
|
||||||
|
<textField pattern="" isBlankWhenNull="false">
|
||||||
|
<reportElement mode="Transparent" x="5" y="21" width="257" height="15" forecolor="#000000" backcolor="#FFFFFF" uuid="4c19b162-dfd6-48b7-b393-b7203a1bcd68"/>
|
||||||
|
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
|
||||||
|
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$P{NOME_RELATORIO}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField pattern="" isBlankWhenNull="false">
|
||||||
|
<reportElement mode="Transparent" x="5" y="36" width="44" height="14" forecolor="#000000" backcolor="#FFFFFF" uuid="886fdbb8-b6c4-4ba1-98b8-15d9047cec7f"/>
|
||||||
|
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
|
||||||
|
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$R{cabecalho.periodo}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField pattern="dd/MM/yyyy" isBlankWhenNull="false">
|
||||||
|
<reportElement mode="Transparent" x="50" y="36" width="51" height="14" forecolor="#000000" backcolor="#FFFFFF" uuid="18ea34bb-d251-4e11-8589-235007cb2544"/>
|
||||||
|
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
|
||||||
|
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$P{DATA_INICIAL}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField pattern="dd/MM/yyyy" isBlankWhenNull="false">
|
||||||
|
<reportElement mode="Transparent" x="111" y="36" width="51" height="14" forecolor="#000000" backcolor="#FFFFFF" uuid="68db054c-7950-4088-9373-de44bff98b7c"/>
|
||||||
|
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
|
||||||
|
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$P{DATA_FINAL}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField pattern="" isBlankWhenNull="false">
|
||||||
|
<reportElement mode="Transparent" x="101" y="36" width="10" height="14" forecolor="#000000" backcolor="#FFFFFF" uuid="b137a935-0ee3-4e32-9f1e-81eaae50fb0c"/>
|
||||||
|
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
|
||||||
|
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$R{cabecalho.periodoA}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField pattern="" isBlankWhenNull="false">
|
||||||
|
<reportElement mode="Transparent" x="5" y="1" width="145" height="20" forecolor="#000000" backcolor="#FFFFFF" uuid="06a3d1b5-6685-4431-9578-dc0df27ee598"/>
|
||||||
|
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
|
||||||
|
<font fontName="SansSerif" size="12" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$P{EMPRESA}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField pattern="dd/MM/yyyy HH:mm" isBlankWhenNull="false">
|
||||||
|
<reportElement mode="Transparent" x="713" y="2" width="89" height="15" forecolor="#000000" backcolor="#FFFFFF" uuid="ee4f1d8d-ab87-49b7-af10-578709b54e88"/>
|
||||||
|
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
|
||||||
|
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<line>
|
||||||
|
<reportElement x="0" y="50" width="801" height="1" uuid="2893a2f0-d4b5-410a-982f-9cd50acc10f9"/>
|
||||||
|
</line>
|
||||||
|
<textField>
|
||||||
|
<reportElement x="631" y="2" width="80" height="15" uuid="87a53987-9821-4624-b0e0-e28617218944"/>
|
||||||
|
<textElement textAlignment="Right">
|
||||||
|
<font size="9" isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$R{cabecalho.dataHora}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField pattern="" isBlankWhenNull="false">
|
||||||
|
<reportElement mode="Transparent" x="685" y="18" width="105" height="15" forecolor="#000000" backcolor="#FFFFFF" uuid="43a80a09-d61c-47e9-bf58-4463f67dae6f"/>
|
||||||
|
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
|
||||||
|
<font fontName="SansSerif" size="9" 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>
|
||||||
|
</textField>
|
||||||
|
<textField pattern="" isBlankWhenNull="false">
|
||||||
|
<reportElement mode="Transparent" x="702" y="34" width="100" height="15" forecolor="#000000" backcolor="#FFFFFF" uuid="aba1011b-5b9f-4f9f-82da-b60daa0aec6e"/>
|
||||||
|
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
|
||||||
|
<font fontName="SansSerif" size="7" 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="" isBlankWhenNull="false">
|
||||||
|
<reportElement mode="Transparent" x="5" y="51" width="45" height="14" forecolor="#000000" backcolor="#FFFFFF" uuid="3aa0af99-e71b-4318-aec2-b466c14702db"/>
|
||||||
|
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
|
||||||
|
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$R{cabecalho.filtros}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField>
|
||||||
|
<reportElement x="51" y="51" width="717" height="14" uuid="cbbf0c9d-061e-4da8-bfa8-4edf2affada5"/>
|
||||||
|
<textElement>
|
||||||
|
<font size="8"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$P{FILTROS}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<line>
|
||||||
|
<reportElement x="0" y="65" width="801" height="1" uuid="db16cef4-cd72-45c5-8469-459c9ab3e032"/>
|
||||||
|
</line>
|
||||||
|
<textField evaluationTime="Report" pattern="" isBlankWhenNull="false">
|
||||||
|
<reportElement mode="Transparent" x="792" y="18" width="10" height="15" forecolor="#000000" backcolor="#FFFFFF" uuid="636d549e-b5c2-4b0e-84a7-a80b2e3c88ca"/>
|
||||||
|
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" markup="none">
|
||||||
|
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
</band>
|
||||||
|
</pageHeader>
|
||||||
|
<columnHeader>
|
||||||
|
<band height="20" splitType="Stretch">
|
||||||
|
<staticText>
|
||||||
|
<reportElement x="1" y="10" width="25" height="9" uuid="69af5fee-1749-41a5-bf3d-e53db355ddd2"/>
|
||||||
|
<textElement textAlignment="Right" verticalAlignment="Middle">
|
||||||
|
<font size="6"/>
|
||||||
|
</textElement>
|
||||||
|
<text><![CDATA[Código]]></text>
|
||||||
|
</staticText>
|
||||||
|
<staticText>
|
||||||
|
<reportElement mode="Transparent" x="26" y="10" width="54" height="9" forecolor="#000000" backcolor="#FFFFFF" uuid="f39411fa-dfc8-4b51-a705-53b2ed781e10"/>
|
||||||
|
<textElement textAlignment="Center" verticalAlignment="Middle" rotation="None" markup="none">
|
||||||
|
<font fontName="SansSerif" size="6" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<text><![CDATA[Linha]]></text>
|
||||||
|
</staticText>
|
||||||
|
<staticText>
|
||||||
|
<reportElement mode="Transparent" x="80" y="10" width="20" height="9" forecolor="#000000" backcolor="#FFFFFF" uuid="9d8575a4-d773-4713-abc1-11741c586b24"/>
|
||||||
|
<textElement textAlignment="Right" verticalAlignment="Middle" rotation="None" markup="none">
|
||||||
|
<font fontName="SansSerif" size="6" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<text><![CDATA[Lot.]]></text>
|
||||||
|
</staticText>
|
||||||
|
<staticText>
|
||||||
|
<reportElement mode="Transparent" x="100" y="10" width="15" height="9" forecolor="#000000" backcolor="#FFFFFF" uuid="7a75fbcb-13b1-47a1-885d-e7255206654c"/>
|
||||||
|
<textElement textAlignment="Center" verticalAlignment="Middle" rotation="None" markup="none">
|
||||||
|
<font fontName="SansSerif" size="6" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<text><![CDATA[Cla.]]></text>
|
||||||
|
</staticText>
|
||||||
|
<staticText>
|
||||||
|
<reportElement mode="Transparent" x="115" y="10" width="35" height="9" forecolor="#000000" backcolor="#FFFFFF" uuid="796d78cd-ff11-4469-9dbe-7abbb92f4868"/>
|
||||||
|
<textElement textAlignment="Right" verticalAlignment="Middle" rotation="None" markup="none">
|
||||||
|
<font fontName="SansSerif" size="6" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<text><![CDATA[Extensão]]></text>
|
||||||
|
</staticText>
|
||||||
|
<staticText>
|
||||||
|
<reportElement mode="Transparent" x="150" y="10" width="31" height="9" forecolor="#000000" backcolor="#FFFFFF" uuid="d3f5465b-9474-466a-840e-554872f108fa"/>
|
||||||
|
<textElement textAlignment="Right" verticalAlignment="Middle" rotation="None" markup="none">
|
||||||
|
<font fontName="SansSerif" size="6" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<text><![CDATA[Tarifa]]></text>
|
||||||
|
</staticText>
|
||||||
|
<staticText>
|
||||||
|
<reportElement mode="Transparent" x="181" y="10" width="37" height="9" forecolor="#000000" backcolor="#FFFFFF" uuid="deca7e00-7f89-4dac-ad2e-89eaeb59ba6c"/>
|
||||||
|
<textElement textAlignment="Right" verticalAlignment="Middle" rotation="None" markup="none">
|
||||||
|
<font fontName="SansSerif" size="6" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<text><![CDATA[Passagens]]></text>
|
||||||
|
</staticText>
|
||||||
|
<staticText>
|
||||||
|
<reportElement mode="Transparent" x="219" y="10" width="27" height="9" forecolor="#000000" backcolor="#FFFFFF" uuid="78c11d55-5b14-4e0d-9a41-a921da36c477"/>
|
||||||
|
<textElement textAlignment="Right" verticalAlignment="Middle" rotation="None" markup="none">
|
||||||
|
<font fontName="SansSerif" size="6" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<text><![CDATA[Seguro]]></text>
|
||||||
|
</staticText>
|
||||||
|
<staticText>
|
||||||
|
<reportElement mode="Transparent" x="246" y="10" width="35" height="9" forecolor="#000000" backcolor="#FFFFFF" uuid="9a3b4f6e-79aa-46a7-8edb-5b4a217301d4"/>
|
||||||
|
<textElement textAlignment="Right" verticalAlignment="Middle" rotation="None" markup="none">
|
||||||
|
<font fontName="SansSerif" size="6" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<text><![CDATA[Embarque]]></text>
|
||||||
|
</staticText>
|
||||||
|
<staticText>
|
||||||
|
<reportElement mode="Transparent" x="281" y="10" width="37" height="9" forecolor="#000000" backcolor="#FFFFFF" uuid="037e186a-34d1-4774-be91-0f53474af75b"/>
|
||||||
|
<textElement textAlignment="Right" verticalAlignment="Middle" rotation="None" markup="none">
|
||||||
|
<font fontName="SansSerif" size="6" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<text><![CDATA[Pedagio]]></text>
|
||||||
|
</staticText>
|
||||||
|
<staticText>
|
||||||
|
<reportElement mode="Transparent" x="318" y="10" width="42" height="9" forecolor="#000000" backcolor="#FFFFFF" uuid="be5c09d6-13c0-4d7f-83ec-f5718fe019d2"/>
|
||||||
|
<textElement textAlignment="Right" verticalAlignment="Middle" rotation="None" markup="none">
|
||||||
|
<font fontName="SansSerif" size="6" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<text><![CDATA[Total]]></text>
|
||||||
|
</staticText>
|
||||||
|
<staticText>
|
||||||
|
<reportElement mode="Transparent" x="366" y="10" width="33" height="9" forecolor="#000000" backcolor="#FFFFFF" uuid="859a71a0-b584-489e-b099-cc127b5ea027"/>
|
||||||
|
<textElement textAlignment="Right" verticalAlignment="Middle" rotation="None" markup="none">
|
||||||
|
<font fontName="SansSerif" size="6" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<text><![CDATA[Ord.]]></text>
|
||||||
|
</staticText>
|
||||||
|
<staticText>
|
||||||
|
<reportElement mode="Transparent" x="399" y="10" width="33" height="9" forecolor="#000000" backcolor="#FFFFFF" uuid="b9328b6f-5e2b-4412-a2bb-f1ab50a00ae8"/>
|
||||||
|
<textElement textAlignment="Right" verticalAlignment="Middle" rotation="None" markup="none">
|
||||||
|
<font fontName="SansSerif" size="6" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<text><![CDATA[Extra]]></text>
|
||||||
|
</staticText>
|
||||||
|
<staticText>
|
||||||
|
<reportElement mode="Transparent" x="432" y="10" width="33" height="9" forecolor="#000000" backcolor="#FFFFFF" uuid="25946740-ff9b-4421-92c4-237b7b5c06c5"/>
|
||||||
|
<textElement textAlignment="Right" verticalAlignment="Middle" rotation="None" markup="none">
|
||||||
|
<font fontName="SansSerif" size="6" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<text><![CDATA[Total]]></text>
|
||||||
|
</staticText>
|
||||||
|
<staticText>
|
||||||
|
<reportElement mode="Transparent" x="465" y="10" width="45" height="9" forecolor="#000000" backcolor="#FFFFFF" uuid="0c75fb19-0d9a-4b66-9e3c-4d714cae6079"/>
|
||||||
|
<textElement textAlignment="Right" verticalAlignment="Middle" rotation="None" markup="none">
|
||||||
|
<font fontName="SansSerif" size="6" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<text><![CDATA[Km Rodado]]></text>
|
||||||
|
</staticText>
|
||||||
|
<staticText>
|
||||||
|
<reportElement mode="Transparent" x="511" y="10" width="20" height="9" forecolor="#000000" backcolor="#FFFFFF" uuid="998f2194-128e-4132-b882-9188016b3d87"/>
|
||||||
|
<textElement textAlignment="Right" verticalAlignment="Middle" rotation="None" markup="none">
|
||||||
|
<font fontName="SansSerif" size="6" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<text><![CDATA[Abs.]]></text>
|
||||||
|
</staticText>
|
||||||
|
<staticText>
|
||||||
|
<reportElement mode="Transparent" x="565" y="10" width="25" height="9" forecolor="#000000" backcolor="#FFFFFF" uuid="ddc8db3b-b459-4b86-9862-311f9530786b"/>
|
||||||
|
<textElement textAlignment="Right" verticalAlignment="Middle" rotation="None" markup="none">
|
||||||
|
<font fontName="SansSerif" size="6" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<text><![CDATA[MPA]]></text>
|
||||||
|
</staticText>
|
||||||
|
<staticText>
|
||||||
|
<reportElement mode="Transparent" x="532" y="10" width="33" height="9" forecolor="#000000" backcolor="#FFFFFF" uuid="56978e81-7af5-4596-b12c-faa90561c0fa"/>
|
||||||
|
<textElement textAlignment="Right" verticalAlignment="Middle" rotation="None" markup="none">
|
||||||
|
<font fontName="SansSerif" size="6" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<text><![CDATA[Equival.]]></text>
|
||||||
|
</staticText>
|
||||||
|
<staticText>
|
||||||
|
<reportElement mode="Transparent" x="591" y="10" width="26" height="9" forecolor="#000000" backcolor="#FFFFFF" uuid="d5dd65d5-24a2-454e-a516-6847f0abf648"/>
|
||||||
|
<textElement textAlignment="Right" verticalAlignment="Middle" rotation="None" markup="none">
|
||||||
|
<font fontName="SansSerif" size="6" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<text><![CDATA[MPE]]></text>
|
||||||
|
</staticText>
|
||||||
|
<staticText>
|
||||||
|
<reportElement mode="Transparent" x="623" y="10" width="20" height="9" forecolor="#000000" backcolor="#FFFFFF" uuid="31f020bf-2be6-4f3c-98ec-6dffc692dfc6"/>
|
||||||
|
<textElement textAlignment="Right" verticalAlignment="Middle" rotation="None" markup="none">
|
||||||
|
<font fontName="SansSerif" size="6" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<text><![CDATA[R$/KM]]></text>
|
||||||
|
</staticText>
|
||||||
|
<staticText>
|
||||||
|
<reportElement mode="Transparent" x="643" y="10" width="20" height="9" forecolor="#000000" backcolor="#FFFFFF" uuid="ea2e82c6-9390-4fca-9158-94f17dc4360a"/>
|
||||||
|
<textElement textAlignment="Right" verticalAlignment="Middle" rotation="None" markup="none">
|
||||||
|
<font fontName="SansSerif" size="6" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<text><![CDATA[EQ.]]></text>
|
||||||
|
</staticText>
|
||||||
|
<staticText>
|
||||||
|
<reportElement mode="Transparent" x="663" y="10" width="32" height="9" forecolor="#000000" backcolor="#FFFFFF" uuid="5f13dda7-5e2c-4c1a-a8cc-03cb2e0ea46b"/>
|
||||||
|
<textElement textAlignment="Right" verticalAlignment="Middle" rotation="None" markup="none">
|
||||||
|
<font fontName="SansSerif" size="6" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<text><![CDATA[R$/Viagem]]></text>
|
||||||
|
</staticText>
|
||||||
|
<staticText>
|
||||||
|
<reportElement mode="Transparent" x="736" y="10" width="45" height="9" forecolor="#000000" backcolor="#FFFFFF" uuid="50c7e602-bf62-49c7-aab5-a923ae173891"/>
|
||||||
|
<textElement textAlignment="Right" verticalAlignment="Middle" rotation="None" markup="none">
|
||||||
|
<font fontName="SansSerif" size="6" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<text><![CDATA[PAX. Trans.]]></text>
|
||||||
|
</staticText>
|
||||||
|
<staticText>
|
||||||
|
<reportElement mode="Transparent" x="781" y="10" width="20" height="9" forecolor="#000000" backcolor="#FFFFFF" uuid="11d0f094-3bb0-4ffb-bdf6-8ff8a0831a22"/>
|
||||||
|
<textElement textAlignment="Right" verticalAlignment="Middle" rotation="None" markup="none">
|
||||||
|
<font fontName="SansSerif" size="6" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<text><![CDATA[IAP%]]></text>
|
||||||
|
</staticText>
|
||||||
|
<elementGroup>
|
||||||
|
<staticText>
|
||||||
|
<reportElement x="256" y="0" width="34" height="8" uuid="c44f403d-3437-470d-9ec6-de363516687e"/>
|
||||||
|
<text><![CDATA[RECEITA]]></text>
|
||||||
|
</staticText>
|
||||||
|
<line>
|
||||||
|
<reportElement x="181" y="9" width="179" height="1" uuid="3031bb9a-2f49-447e-9b79-738d5a765c61"/>
|
||||||
|
</line>
|
||||||
|
</elementGroup>
|
||||||
|
<elementGroup>
|
||||||
|
<staticText>
|
||||||
|
<reportElement x="438" y="0" width="42" height="8" uuid="de763f1e-efcb-42a3-895e-5e0f76df37a1"/>
|
||||||
|
<text><![CDATA[VIAGENS]]></text>
|
||||||
|
</staticText>
|
||||||
|
<line>
|
||||||
|
<reportElement x="388" y="8" width="122" height="1" uuid="b0b782a1-761e-46b7-8aec-6caedfa6a501"/>
|
||||||
|
</line>
|
||||||
|
</elementGroup>
|
||||||
|
<elementGroup>
|
||||||
|
<staticText>
|
||||||
|
<reportElement x="553" y="0" width="46" height="8" uuid="5166c53c-552f-48f0-84b0-000cc670faef"/>
|
||||||
|
<text><![CDATA[PASSAGEIROS]]></text>
|
||||||
|
</staticText>
|
||||||
|
<line>
|
||||||
|
<reportElement x="514" y="8" width="103" height="1" uuid="c9726b5f-4f89-4c7c-ab63-a7a893bcd3b8"/>
|
||||||
|
</line>
|
||||||
|
</elementGroup>
|
||||||
|
<elementGroup>
|
||||||
|
<staticText>
|
||||||
|
<reportElement x="673" y="0" width="99" height="8" uuid="a1bffc92-03fd-4b36-958a-42daba63eeb6"/>
|
||||||
|
<text><![CDATA[PARÂMETROS OPERACIONAIS]]></text>
|
||||||
|
</staticText>
|
||||||
|
<line>
|
||||||
|
<reportElement x="621" y="8" width="180" height="1" uuid="215a5a7f-9389-4c1c-8022-01dc4504b996"/>
|
||||||
|
</line>
|
||||||
|
</elementGroup>
|
||||||
|
<staticText>
|
||||||
|
<reportElement mode="Transparent" x="695" y="10" width="41" height="9" forecolor="#000000" backcolor="#FFFFFF" uuid="b063e934-2c41-4b8b-a5cd-a58832a9d88d"/>
|
||||||
|
<textElement textAlignment="Right" verticalAlignment="Middle" rotation="None" markup="none">
|
||||||
|
<font fontName="SansSerif" size="6" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<text><![CDATA[PAX Ofer.]]></text>
|
||||||
|
</staticText>
|
||||||
|
</band>
|
||||||
|
</columnHeader>
|
||||||
|
<detail>
|
||||||
|
<band height="9" splitType="Stretch"/>
|
||||||
|
</detail>
|
||||||
|
<columnFooter>
|
||||||
|
<band height="10" splitType="Immediate">
|
||||||
|
<staticText>
|
||||||
|
<reportElement x="14" y="0" width="46" height="9" uuid="f4025873-ca53-4e07-ba04-997d5df4df7b"/>
|
||||||
|
<textElement textAlignment="Right"/>
|
||||||
|
<text><![CDATA[Geral]]></text>
|
||||||
|
</staticText>
|
||||||
|
</band>
|
||||||
|
</columnFooter>
|
||||||
|
<noData>
|
||||||
|
<band height="50">
|
||||||
|
<textField>
|
||||||
|
<reportElement x="145" y="13" width="530" height="20" uuid="a640c0eb-ead8-4a2a-bda4-675165e8bc7d"/>
|
||||||
|
<textElement markup="none">
|
||||||
|
<font size="11" isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$R{msg.noData}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
</band>
|
||||||
|
</noData>
|
||||||
|
</jasperReport>
|
|
@ -30,6 +30,7 @@ public class EditarFechamentoParamgeralController extends MyGenericForwardCompos
|
||||||
|
|
||||||
private enum BancosSuportados {
|
private enum BancosSuportados {
|
||||||
ITAU("341", "Itaú"),
|
ITAU("341", "Itaú"),
|
||||||
|
SANTANDER("033", "Santander"),
|
||||||
BRADESCO("237", "Bradesco");
|
BRADESCO("237", "Bradesco");
|
||||||
|
|
||||||
private String codBanco;
|
private String codBanco;
|
||||||
|
|
|
@ -0,0 +1,167 @@
|
||||||
|
/*
|
||||||
|
* To change this template, choose Tools | Templates
|
||||||
|
* and open the template in the editor.
|
||||||
|
*/
|
||||||
|
package com.rjconsultores.ventaboletos.web.gui.controladores.relatorios;
|
||||||
|
|
||||||
|
import java.text.SimpleDateFormat;
|
||||||
|
import java.util.HashMap;
|
||||||
|
import java.util.List;
|
||||||
|
import java.util.Map;
|
||||||
|
|
||||||
|
import javax.sql.DataSource;
|
||||||
|
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.context.annotation.Scope;
|
||||||
|
import org.springframework.stereotype.Controller;
|
||||||
|
import org.zkoss.util.resource.Labels;
|
||||||
|
import org.zkoss.zk.ui.Component;
|
||||||
|
import org.zkoss.zk.ui.event.Event;
|
||||||
|
import org.zkoss.zul.Comboitem;
|
||||||
|
import org.zkoss.zul.Datebox;
|
||||||
|
|
||||||
|
import com.rjconsultores.ventaboletos.entidad.Empresa;
|
||||||
|
import com.rjconsultores.ventaboletos.entidad.GrupoRuta;
|
||||||
|
import com.rjconsultores.ventaboletos.entidad.Ruta;
|
||||||
|
import com.rjconsultores.ventaboletos.relatorios.impl.RelatorioKmProgramada;
|
||||||
|
import com.rjconsultores.ventaboletos.relatorios.utilitarios.Relatorio;
|
||||||
|
import com.rjconsultores.ventaboletos.service.ConstanteService;
|
||||||
|
import com.rjconsultores.ventaboletos.service.EmpresaService;
|
||||||
|
import com.rjconsultores.ventaboletos.service.GrupoRutaService;
|
||||||
|
import com.rjconsultores.ventaboletos.service.RutaService;
|
||||||
|
import com.rjconsultores.ventaboletos.utilerias.UsuarioLogado;
|
||||||
|
import com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar;
|
||||||
|
import com.rjconsultores.ventaboletos.web.utilerias.MyGenericForwardComposer;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @author Administrador
|
||||||
|
*/
|
||||||
|
@Controller("relatorioKmProgramadaController")
|
||||||
|
@Scope("prototype")
|
||||||
|
public class RelatorioKmProgramadaController extends MyGenericForwardComposer {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
private DataSource dataSourceRead;
|
||||||
|
@Autowired
|
||||||
|
private EmpresaService empresaService;
|
||||||
|
@Autowired
|
||||||
|
private RutaService rutaService;
|
||||||
|
@Autowired
|
||||||
|
private GrupoRutaService grupoRutaService;
|
||||||
|
@Autowired
|
||||||
|
private ConstanteService constanteService;
|
||||||
|
|
||||||
|
private List<Ruta> lsRuta;
|
||||||
|
private List<Empresa> lsEmpresa;
|
||||||
|
private List<GrupoRuta> lsGrupoRuta;
|
||||||
|
|
||||||
|
private Datebox fecCorridaIni;
|
||||||
|
private Datebox fecCorridaFin;
|
||||||
|
private MyComboboxEstandar cmbRuta;
|
||||||
|
private MyComboboxEstandar cmbEmpresa;
|
||||||
|
|
||||||
|
|
||||||
|
public void onClick$btnExecutarRelatorio(Event ev) throws Exception {
|
||||||
|
executarRelatorio();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @throws Exception
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
@SuppressWarnings({ "rawtypes", "unchecked" })
|
||||||
|
private void executarRelatorio() throws Exception {
|
||||||
|
|
||||||
|
Relatorio relatorio;
|
||||||
|
Map<String, Object> parametros = new HashMap<String, Object>();
|
||||||
|
StringBuilder filtro = new StringBuilder();
|
||||||
|
SimpleDateFormat sdf = new SimpleDateFormat("dd/MM/yyyy");
|
||||||
|
|
||||||
|
parametros.put("DATA_INICIAL", sdf.format((java.util.Date) this.fecCorridaIni.getValue()));
|
||||||
|
parametros.put("DATA_FINAL", sdf.format((java.util.Date) this.fecCorridaFin.getValue()));
|
||||||
|
parametros.put("NOME_RELATORIO", Labels.getLabel("relatorioResumoLinhasController.window.title"));
|
||||||
|
parametros.put("USUARIO", UsuarioLogado.getUsuarioLogado().getUsuarioId().toString());
|
||||||
|
|
||||||
|
Comboitem itemRuta = cmbRuta.getSelectedItem();
|
||||||
|
|
||||||
|
filtro.append("Linha: ");
|
||||||
|
if (itemRuta != null) {
|
||||||
|
Ruta ruta = (Ruta) itemRuta.getValue();
|
||||||
|
parametros.put("RUTA_ID", ruta.getRutaId());
|
||||||
|
filtro.append(ruta.getDescruta() + ";");
|
||||||
|
}
|
||||||
|
else
|
||||||
|
filtro.append("Todas;");
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Comboitem itemEmpresa = cmbEmpresa.getSelectedItem();
|
||||||
|
filtro.append(" Empresa: ");
|
||||||
|
if (itemEmpresa != null) {
|
||||||
|
Empresa empresa = (Empresa) itemEmpresa.getValue();
|
||||||
|
parametros.put("EMPRESA_ID", empresa.getEmpresaId());
|
||||||
|
parametros.put("EMPRESA", empresa.getNombempresa());
|
||||||
|
filtro.append(empresa.getNombempresa());
|
||||||
|
}else{
|
||||||
|
parametros.put("EMPRESA_ID", null);
|
||||||
|
filtro.append("Todas;");
|
||||||
|
}
|
||||||
|
|
||||||
|
parametros.put("FILTROS", filtro.toString());
|
||||||
|
|
||||||
|
relatorio = new RelatorioKmProgramada(parametros, dataSourceRead.getConnection(), constanteService);
|
||||||
|
|
||||||
|
|
||||||
|
Map args = new HashMap();
|
||||||
|
args.put("relatorio", relatorio);
|
||||||
|
|
||||||
|
openWindow("/component/reportView.zul",
|
||||||
|
Labels.getLabel("relatorioKmProgramadaController.window.title"), args, MODAL);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void doAfterCompose(Component comp) throws Exception {
|
||||||
|
setLsRuta(rutaService.obtenerTodos());
|
||||||
|
lsEmpresa = empresaService.obtenerTodos();
|
||||||
|
lsGrupoRuta = grupoRutaService.obtenerTodos();
|
||||||
|
|
||||||
|
super.doAfterCompose(comp);
|
||||||
|
}
|
||||||
|
|
||||||
|
public List<Ruta> getLsRuta() {
|
||||||
|
return lsRuta;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setLsRuta(List<Ruta> lsRuta) {
|
||||||
|
this.lsRuta = lsRuta;
|
||||||
|
}
|
||||||
|
|
||||||
|
public MyComboboxEstandar getCmbRuta() {
|
||||||
|
return cmbRuta;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setCmbRuta(MyComboboxEstandar cmbRuta) {
|
||||||
|
this.cmbRuta = cmbRuta;
|
||||||
|
}
|
||||||
|
|
||||||
|
public List<Empresa> getLsEmpresa() {
|
||||||
|
return lsEmpresa;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setLsEmpresa(List<Empresa> lsEmpresa) {
|
||||||
|
this.lsEmpresa = lsEmpresa;
|
||||||
|
}
|
||||||
|
|
||||||
|
public List<GrupoRuta> getLsGrupoRuta() {
|
||||||
|
return lsGrupoRuta;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setLsGrupoRuta(List<GrupoRuta> lsGrupoRuta) {
|
||||||
|
this.lsGrupoRuta = lsGrupoRuta;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
|
@ -0,0 +1,25 @@
|
||||||
|
package com.rjconsultores.ventaboletos.web.utilerias.menu.item.relatorios;
|
||||||
|
|
||||||
|
import org.zkoss.util.resource.Labels;
|
||||||
|
|
||||||
|
import com.rjconsultores.ventaboletos.web.utilerias.PantallaUtileria;
|
||||||
|
import com.rjconsultores.ventaboletos.web.utilerias.menu.DefaultItemMenuSistema;
|
||||||
|
|
||||||
|
public class ItemMenuRelatorioKmProgramada extends DefaultItemMenuSistema {
|
||||||
|
|
||||||
|
public ItemMenuRelatorioKmProgramada() {
|
||||||
|
super("indexController.mniRelatorioKmProgramada.label");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String getClaveMenu() {
|
||||||
|
return "COM.RJCONSULTORES.ADMINISTRACION.GUI.RELATORIOS.MENU.RELATORIOKMPROGRAMADA";
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void ejecutar() {
|
||||||
|
PantallaUtileria.openWindow("/gui/relatorios/filtroRelatorioKmProgramada.zul",
|
||||||
|
Labels.getLabel("relatorioKmProgramadaController.window.title"), getArgs(), desktop);
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
|
@ -133,6 +133,7 @@ analitico.gerenciais.trip=com.rjconsultores.ventaboletos.web.utilerias.menu.item
|
||||||
analitico.gerenciais.operacionais=com.rjconsultores.ventaboletos.web.utilerias.menu.item.analitico.gerenciais.operacionais.SubMenuRelatorioOperacionais
|
analitico.gerenciais.operacionais=com.rjconsultores.ventaboletos.web.utilerias.menu.item.analitico.gerenciais.operacionais.SubMenuRelatorioOperacionais
|
||||||
analitico.gerenciais.operacionais.aproveitamento=com.rjconsultores.ventaboletos.web.utilerias.menu.item.relatorios.ItemMenuRelatorioAproveitamento
|
analitico.gerenciais.operacionais.aproveitamento=com.rjconsultores.ventaboletos.web.utilerias.menu.item.relatorios.ItemMenuRelatorioAproveitamento
|
||||||
analitico.gerenciais.operacionais.resumoLinhas=com.rjconsultores.ventaboletos.web.utilerias.menu.item.relatorios.ItemMenuRelatorioResumoLinhas
|
analitico.gerenciais.operacionais.resumoLinhas=com.rjconsultores.ventaboletos.web.utilerias.menu.item.relatorios.ItemMenuRelatorioResumoLinhas
|
||||||
|
analitico.gerenciais.operacionais.kmProgramada=com.rjconsultores.ventaboletos.web.utilerias.menu.item.relatorios.ItemMenuRelatorioKmProgramada
|
||||||
analitico.gerenciais.operacionais.acompanhamentoEquivalentes=com.rjconsultores.ventaboletos.web.utilerias.menu.item.relatorios.ItemMenuRelatorioAcompanhamentoEquivalentes
|
analitico.gerenciais.operacionais.acompanhamentoEquivalentes=com.rjconsultores.ventaboletos.web.utilerias.menu.item.relatorios.ItemMenuRelatorioAcompanhamentoEquivalentes
|
||||||
analitico.gerenciais.operacionais.linhasHorario=com.rjconsultores.ventaboletos.web.utilerias.menu.item.relatorios.ItemMenuRelatorioLinhasHorario
|
analitico.gerenciais.operacionais.linhasHorario=com.rjconsultores.ventaboletos.web.utilerias.menu.item.relatorios.ItemMenuRelatorioLinhasHorario
|
||||||
analitico.gerenciais.operacionais.demandas=com.rjconsultores.ventaboletos.web.utilerias.menu.item.relatorios.ItemMenuRelatorioDemandas
|
analitico.gerenciais.operacionais.demandas=com.rjconsultores.ventaboletos.web.utilerias.menu.item.relatorios.ItemMenuRelatorioDemandas
|
||||||
|
|
Loading…
Reference in New Issue