fixed bug #6546
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@46905 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
ef2e808dfd
commit
f2182c952a
|
@ -274,7 +274,9 @@ public class RelatorioOrigemDestino extends Relatorio {
|
|||
sql.append(" RESULTADO_2.viagens, ");
|
||||
sql.append(" RESULTADO_2.km_corrida, ");
|
||||
sql.append(" RESULTADO_2.disponibilidade, ");
|
||||
sql.append(" RESULTADO_2.absoluto_total_corrida ");
|
||||
sql.append(" RESULTADO_2.absoluto_total_corrida,");
|
||||
sql.append(" RESULTADO_2.importetaxaembarque, ");
|
||||
sql.append(" RESULTADO_2.importepedagio ");
|
||||
sql.append(" FROM (SELECT RESULTADO.*, ");
|
||||
sql.append(" (SELECT Count(*) ");
|
||||
sql.append(" FROM corrida CO ");
|
||||
|
@ -313,13 +315,17 @@ public class RelatorioOrigemDestino extends Relatorio {
|
|||
sql.append(" RU.indsentidoida, ");
|
||||
sql.append(" Count(*) ABSOLUTOS, ");
|
||||
sql.append(" Sum(CA.preciopagado) RECEITA, ");
|
||||
sql.append(" CA.preciobase ");
|
||||
sql.append(" CA.preciobase, ");
|
||||
sql.append(" TF.importetaxaembarque, ");
|
||||
sql.append(" TF.importepedagio ");
|
||||
sql.append(" FROM boleto CA ");
|
||||
sql.append(" INNER JOIN parada ORI ON ORI.parada_id = CA.origen_id ");
|
||||
sql.append(" INNER JOIN parada DES ON DES.parada_id = CA.destino_id ");
|
||||
sql.append(" INNER JOIN corrida CO ON ( CO.corrida_id = CA.corrida_id AND CO.feccorrida = CA.feccorrida ) ");
|
||||
sql.append(" INNER JOIN empresa EM ON EM.empresa_id = CO.empresacorrida_id ");
|
||||
sql.append(" INNER JOIN ruta RU ON RU.ruta_id = CO.ruta_id ");
|
||||
sql.append("LEFT JOIN tarifa TF ON (TF.CLASESERVICIO_ID = CO.CLASESERVICIO_ID AND TF.DESTINO_ID = CO.DESTINO_ID AND TF.ORIGEN_ID = CO.ORIGEN_ID AND TF.MARCA_ID = CO.MARCA_ID ");
|
||||
sql.append("AND TF.RUTA_ID = CO.RUTA_ID)");
|
||||
sql.append(" WHERE CA.activo = 1 AND RU.activo = 1 AND EM.activo = 1 AND ORI.activo = 1 AND DES.activo = 1 ");
|
||||
sql.append((!corridasIds.equals("Todas") ? " AND CA.CORRIDA_ID IN (" + corridasIds + ") " : " "));
|
||||
sql.append((" AND CO.EMPRESACORRIDA_ID IN (") + empresaIds + ") ");
|
||||
|
@ -335,7 +341,9 @@ public class RelatorioOrigemDestino extends Relatorio {
|
|||
sql.append(" CO.corrida_id, ");
|
||||
sql.append(" RU.descruta, ");
|
||||
sql.append(" RU.indsentidoida, ");
|
||||
sql.append(" CA.preciobase) RESULTADO ");
|
||||
sql.append(" CA.preciobase, ");
|
||||
sql.append(" TF.IMPORTETAXAEMBARQUE, ");
|
||||
sql.append(" TF.IMPORTEPEDAGIO ) RESULTADO ");
|
||||
sql.append(" INNER JOIN ruta_secuencia RS ON RS.ruta_id = RESULTADO.ruta_id ");
|
||||
sql.append(" INNER JOIN tramo TR ON TR.tramo_id = RS.tramo_id ");
|
||||
sql.append(" WHERE RS.activo = 1 AND TR.activo = 1 ");
|
||||
|
@ -350,7 +358,9 @@ public class RelatorioOrigemDestino extends Relatorio {
|
|||
sql.append(" RESULTADO.indsentidoida, ");
|
||||
sql.append(" RESULTADO.absolutos, ");
|
||||
sql.append(" RESULTADO.receita, ");
|
||||
sql.append(" RESULTADO.preciobase) RESULTADO_2 ");
|
||||
sql.append(" RESULTADO.preciobase, ");
|
||||
sql.append(" RESULTADO.IMPORTETAXAEMBARQUE,");
|
||||
sql.append(" RESULTADO.IMPORTEPEDAGIO ) RESULTADO_2 ");
|
||||
sql.append(" GROUP BY RESULTADO_2.nombempresa, ");
|
||||
sql.append(" RESULTADO_2.corrida_id, ");
|
||||
sql.append(" RESULTADO_2.fechorsalida, ");
|
||||
|
@ -366,7 +376,9 @@ public class RelatorioOrigemDestino extends Relatorio {
|
|||
sql.append(" RESULTADO_2.viagens, ");
|
||||
sql.append(" RESULTADO_2.km_corrida, ");
|
||||
sql.append(" RESULTADO_2.disponibilidade, ");
|
||||
sql.append(" RESULTADO_2.absoluto_total_corrida ");
|
||||
sql.append(" RESULTADO_2.absoluto_total_corrida, ");
|
||||
sql.append(" RESULTADO_2.IMPORTETAXAEMBARQUE, ");
|
||||
sql.append(" RESULTADO_2.IMPORTEPEDAGIO ");
|
||||
sql.append(" ORDER BY RESULTADO_2.corrida_id) T1 ");
|
||||
sql.append(" INNER JOIN (SELECT RESULTADO_2.corrida_id CORRIDA_2, ");
|
||||
sql.append(" Sum(RESULTADO_2.equivalente) EQUIVALENTE_TOTAL_CORRIDA ");
|
||||
|
@ -426,7 +438,7 @@ public class RelatorioOrigemDestino extends Relatorio {
|
|||
sql.append(" GROUP BY RESULTADO_2.corrida_id ");
|
||||
sql.append(" ORDER BY RESULTADO_2.corrida_id)T2 ");
|
||||
sql.append(" ON T1.corrida_1 = T2.corrida_2 ");
|
||||
|
||||
|
||||
return sql.toString();
|
||||
}
|
||||
|
||||
|
|
|
@ -0,0 +1,16 @@
|
|||
#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:
|
||||
|
||||
rodape.pagina=Página
|
||||
rodape.de=de
|
Binary file not shown.
|
@ -1,8 +1,8 @@
|
|||
<?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="RelatorioOrigemDestino" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="84b9dfcf-8ec5-4f51-80cc-7339e3b158b4">
|
||||
<property name="ireport.zoom" value="1.0"/>
|
||||
<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="RelatorioOrigemDestino" pageWidth="792" pageHeight="842" columnWidth="765" leftMargin="20" rightMargin="7" topMargin="20" bottomMargin="20" uuid="84b9dfcf-8ec5-4f51-80cc-7339e3b158b4">
|
||||
<property name="ireport.zoom" value="1.3310000000000026"/>
|
||||
<property name="ireport.x" value="0"/>
|
||||
<property name="ireport.y" value="0"/>
|
||||
<property name="ireport.y" value="145"/>
|
||||
<subDataset name="peso_operacional" uuid="6107709b-669e-4e25-b14f-19ae373fd33c">
|
||||
<parameter name="corrida_id_relatorio" class="java.math.BigDecimal"/>
|
||||
<queryString>
|
||||
|
@ -43,6 +43,8 @@
|
|||
<field name="DISPONIBILIDADE" class="java.lang.Integer"/>
|
||||
<field name="VIAGENS" class="java.lang.Integer"/>
|
||||
<field name="ABSOLUTO_TOTAL_CORRIDA" class="java.lang.Integer"/>
|
||||
<field name="IMPORTETAXAEMBARQUE" class="java.lang.String"/>
|
||||
<field name="IMPORTEPEDAGIO" class="java.lang.String"/>
|
||||
<variable name="RECEITA_1" class="java.math.BigDecimal" resetType="Group" resetGroup="group_corrida_id" calculation="Sum">
|
||||
<variableExpression><![CDATA[$F{RECEITA}]]></variableExpression>
|
||||
</variable>
|
||||
|
@ -99,338 +101,360 @@
|
|||
<groupHeader>
|
||||
<band height="66">
|
||||
<staticText>
|
||||
<reportElement x="0" y="44" width="43" height="20" uuid="781a710f-41c2-44a8-aeef-e6a41eaea789"/>
|
||||
<textElement>
|
||||
<reportElement uuid="781a710f-41c2-44a8-aeef-e6a41eaea789" x="0" y="46" width="59" height="19"/>
|
||||
<textElement verticalAlignment="Middle">
|
||||
<font isBold="true"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Origem]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement x="44" y="44" width="50" height="20" uuid="b19dd283-526d-42b2-8692-1d0c56eda657"/>
|
||||
<textElement>
|
||||
<reportElement uuid="b19dd283-526d-42b2-8692-1d0c56eda657" x="59" y="46" width="49" height="20"/>
|
||||
<textElement verticalAlignment="Middle">
|
||||
<font isBold="true"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Destino]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement x="94" y="44" width="39" height="20" uuid="b26182c0-96bd-4b51-82d3-c589579af47a"/>
|
||||
<textElement textAlignment="Right">
|
||||
<reportElement uuid="b26182c0-96bd-4b51-82d3-c589579af47a" x="108" y="46" width="41" height="20"/>
|
||||
<textElement textAlignment="Right" verticalAlignment="Middle">
|
||||
<font isBold="true"/>
|
||||
</textElement>
|
||||
<text><![CDATA[KM]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement x="133" y="44" width="48" height="20" uuid="fe8b55b0-c7a9-4e29-bc91-080042193b20"/>
|
||||
<textElement textAlignment="Right">
|
||||
<reportElement uuid="fe8b55b0-c7a9-4e29-bc91-080042193b20" x="149" y="46" width="44" height="20"/>
|
||||
<textElement textAlignment="Right" verticalAlignment="Middle">
|
||||
<font isBold="true"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Tarifa]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement x="181" y="44" width="45" height="20" uuid="9b8e97b5-9895-4865-bc1c-f9541e80a054"/>
|
||||
<textElement textAlignment="Right">
|
||||
<reportElement uuid="9b8e97b5-9895-4865-bc1c-f9541e80a054" x="329" y="44" width="78" height="22"/>
|
||||
<textElement textAlignment="Right" verticalAlignment="Middle">
|
||||
<font isBold="true"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Absolutos]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement x="226" y="44" width="60" height="20" uuid="3cb1abe8-5eb1-4260-8337-1276ba50ec6e"/>
|
||||
<textElement textAlignment="Right">
|
||||
<reportElement uuid="3cb1abe8-5eb1-4260-8337-1276ba50ec6e" x="407" y="44" width="64" height="22"/>
|
||||
<textElement textAlignment="Right" verticalAlignment="Middle">
|
||||
<font isBold="true"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Receitas]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement x="286" y="44" width="48" height="20" uuid="8a06a97e-99ba-450a-b773-fe8c72da4aa3"/>
|
||||
<textElement textAlignment="Right">
|
||||
<reportElement uuid="8a06a97e-99ba-450a-b773-fe8c72da4aa3" x="471" y="44" width="65" height="22"/>
|
||||
<textElement textAlignment="Right" verticalAlignment="Middle">
|
||||
<font isBold="true"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Rec./Abs.]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement x="334" y="44" width="60" height="20" uuid="a7139fb0-1036-4b6c-a3b7-49d277aa02c1"/>
|
||||
<textElement textAlignment="Right">
|
||||
<reportElement uuid="a7139fb0-1036-4b6c-a3b7-49d277aa02c1" x="536" y="45" width="74" height="21"/>
|
||||
<textElement textAlignment="Right" verticalAlignment="Middle">
|
||||
<font isBold="true"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Equivalente]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement x="394" y="44" width="69" height="20" uuid="89706cbe-b0fb-458b-843c-fcfad356e1da"/>
|
||||
<textElement textAlignment="Right">
|
||||
<reportElement uuid="89706cbe-b0fb-458b-843c-fcfad356e1da" x="610" y="45" width="52" height="21"/>
|
||||
<textElement textAlignment="Right" verticalAlignment="Middle">
|
||||
<font isBold="true"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Pax*KM]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement x="463" y="44" width="44" height="20" uuid="0fdf3c83-7477-4770-804d-c856d929700c"/>
|
||||
<textElement textAlignment="Right">
|
||||
<reportElement uuid="0fdf3c83-7477-4770-804d-c856d929700c" x="662" y="45" width="51" height="21"/>
|
||||
<textElement textAlignment="Right" verticalAlignment="Middle">
|
||||
<font isBold="true"/>
|
||||
</textElement>
|
||||
<text><![CDATA[%Abs]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement x="507" y="44" width="48" height="20" uuid="3ac11ce6-e68d-4a22-b398-12ae861e97c2"/>
|
||||
<textElement textAlignment="Right">
|
||||
<reportElement uuid="3ac11ce6-e68d-4a22-b398-12ae861e97c2" x="713" y="45" width="52" height="21"/>
|
||||
<textElement textAlignment="Right" verticalAlignment="Middle">
|
||||
<font isBold="true"/>
|
||||
</textElement>
|
||||
<text><![CDATA[%Equi]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement x="130" y="0" width="61" height="19" uuid="36aaad04-9c5f-40f3-a75a-b1702c09094f"/>
|
||||
<textElement>
|
||||
<font isBold="true"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Serviço]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement x="191" y="0" width="212" height="19" uuid="c0095aaf-98df-4c84-a162-73e7f5fd2fa2"/>
|
||||
<textElement>
|
||||
<reportElement uuid="c0095aaf-98df-4c84-a162-73e7f5fd2fa2" x="271" y="0" width="265" height="19"/>
|
||||
<textElement verticalAlignment="Middle">
|
||||
<font isBold="true"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Linha]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement x="453" y="0" width="48" height="19" uuid="c2ca7785-7d17-4ed3-aba1-6dc0324c27ab"/>
|
||||
<textElement>
|
||||
<reportElement uuid="c2ca7785-7d17-4ed3-aba1-6dc0324c27ab" x="589" y="0" width="50" height="20"/>
|
||||
<textElement verticalAlignment="Middle">
|
||||
<font isBold="true"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Horário]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement x="501" y="0" width="54" height="19" uuid="b73636f9-9b1b-4538-9364-6abf618779da"/>
|
||||
<textElement>
|
||||
<font isBold="true"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Tar.Max.]]></text>
|
||||
</staticText>
|
||||
<textField>
|
||||
<reportElement x="130" y="20" width="61" height="20" uuid="523ac3ad-3918-41f8-9a59-a89ae6bbc9ca"/>
|
||||
<reportElement uuid="523ac3ad-3918-41f8-9a59-a89ae6bbc9ca" x="193" y="19" width="77" height="25"/>
|
||||
<textElement/>
|
||||
<textFieldExpression><![CDATA[$F{CORRIDA_1}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="191" y="20" width="212" height="20" uuid="d4373b5b-172d-44fb-b2aa-5ab7cb02137e"/>
|
||||
<reportElement uuid="d4373b5b-172d-44fb-b2aa-5ab7cb02137e" x="270" y="19" width="266" height="25"/>
|
||||
<textElement/>
|
||||
<textFieldExpression><![CDATA[$F{DESCRUTA}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="HH:mm">
|
||||
<reportElement x="453" y="20" width="48" height="19" uuid="933f2533-0f1e-4359-a70b-71f39018068d"/>
|
||||
<reportElement uuid="933f2533-0f1e-4359-a70b-71f39018068d" x="589" y="20" width="50" height="25"/>
|
||||
<textElement/>
|
||||
<textFieldExpression><![CDATA[$F{FECHORSALIDA}]]></textFieldExpression>
|
||||
</textField>
|
||||
<line>
|
||||
<reportElement x="0" y="19" width="555" height="1" uuid="840b06de-e082-4cbb-9eb3-f684933a17fb"/>
|
||||
<reportElement uuid="840b06de-e082-4cbb-9eb3-f684933a17fb" x="0" y="19" width="763" height="1"/>
|
||||
</line>
|
||||
<line>
|
||||
<reportElement x="0" y="43" width="555" height="1" uuid="e43ff8fc-e645-4e03-a46c-b9259e03eead"/>
|
||||
<reportElement uuid="e43ff8fc-e645-4e03-a46c-b9259e03eead" x="0" y="44" width="763" height="1"/>
|
||||
</line>
|
||||
<line>
|
||||
<reportElement x="0" y="65" width="555" height="1" uuid="aa242ed1-f522-4932-ab75-b459a8e1aa9a"/>
|
||||
<reportElement uuid="aa242ed1-f522-4932-ab75-b459a8e1aa9a" x="0" y="65" width="763" height="1"/>
|
||||
</line>
|
||||
<staticText>
|
||||
<reportElement x="0" y="0" width="130" height="19" uuid="21260120-2ec7-4efe-bb44-fbfcd1c0e38c"/>
|
||||
<textElement>
|
||||
<reportElement uuid="21260120-2ec7-4efe-bb44-fbfcd1c0e38c" x="0" y="0" width="192" height="19"/>
|
||||
<textElement verticalAlignment="Middle">
|
||||
<font isBold="true"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Empresa]]></text>
|
||||
</staticText>
|
||||
<textField>
|
||||
<reportElement x="0" y="20" width="130" height="20" uuid="ac63342f-d2bb-4fb8-8f3f-6d1a621c92f0"/>
|
||||
<reportElement uuid="ac63342f-d2bb-4fb8-8f3f-6d1a621c92f0" x="0" y="19" width="193" height="27"/>
|
||||
<textElement/>
|
||||
<textFieldExpression><![CDATA[$F{NOMBEMPRESA}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isBlankWhenNull="true">
|
||||
<reportElement x="403" y="20" width="50" height="19" uuid="a24cf606-d6da-4c49-bbc6-1f4df6d625c9"/>
|
||||
<reportElement uuid="a24cf606-d6da-4c49-bbc6-1f4df6d625c9" x="536" y="20" width="53" height="25"/>
|
||||
<textElement/>
|
||||
<textFieldExpression><![CDATA[$F{INDSENTIDOIDA}==1?"Ida":$F{INDSENTIDOIDA}==0?"Volta":""]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField evaluationTime="Group" evaluationGroup="group_corrida_id" pattern="#,##0.00">
|
||||
<reportElement x="501" y="20" width="54" height="20" uuid="6b5e70f2-4dea-4f8e-a912-f06af74d8053"/>
|
||||
<reportElement uuid="6b5e70f2-4dea-4f8e-a912-f06af74d8053" x="639" y="20" width="126" height="25"/>
|
||||
<textElement/>
|
||||
<textFieldExpression><![CDATA[$V{PRECIOBASE_1}]]></textFieldExpression>
|
||||
</textField>
|
||||
<staticText>
|
||||
<reportElement x="403" y="0" width="50" height="19" uuid="7e4b01fa-7ae7-4e9d-b67e-e215a7cd847f"/>
|
||||
<textElement>
|
||||
<reportElement uuid="7e4b01fa-7ae7-4e9d-b67e-e215a7cd847f" x="536" y="0" width="53" height="20"/>
|
||||
<textElement verticalAlignment="Middle">
|
||||
<font isBold="true"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Sentido]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement uuid="b73636f9-9b1b-4538-9364-6abf618779da" x="639" y="0" width="126" height="20"/>
|
||||
<textElement verticalAlignment="Middle">
|
||||
<font isBold="true"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Tar.Max.]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement uuid="c3b59366-d5f6-4922-a151-a6b26108760b" x="193" y="44" width="77" height="22"/>
|
||||
<textElement textAlignment="Right" verticalAlignment="Middle">
|
||||
<font isBold="true"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Tx Embarque]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement uuid="87db336a-d9ef-4afd-9930-3791c35cc842" x="270" y="44" width="59" height="22"/>
|
||||
<textElement textAlignment="Right" verticalAlignment="Middle">
|
||||
<font isBold="true"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Pedagio]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement uuid="3e50d8ca-1a89-47d9-b0f6-dea5d1246e10" x="192" y="0" width="79" height="19"/>
|
||||
<textElement verticalAlignment="Middle">
|
||||
<font isBold="true"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Serviço]]></text>
|
||||
</staticText>
|
||||
</band>
|
||||
</groupHeader>
|
||||
<groupFooter>
|
||||
<band height="252">
|
||||
<textField pattern="#,##0.00">
|
||||
<reportElement x="226" y="1" width="60" height="20" uuid="47543add-d41f-4a2d-bd53-424b419773d2"/>
|
||||
<reportElement uuid="47543add-d41f-4a2d-bd53-424b419773d2" x="407" y="0" width="63" height="21"/>
|
||||
<textElement textAlignment="Right">
|
||||
<font isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$V{RECEITA_1}]]></textFieldExpression>
|
||||
</textField>
|
||||
<line>
|
||||
<reportElement x="0" y="0" width="555" height="1" uuid="e9c629c4-15d0-4aee-ae29-082da09a8fb0"/>
|
||||
<reportElement uuid="e9c629c4-15d0-4aee-ae29-082da09a8fb0" x="0" y="0" width="763" height="1"/>
|
||||
</line>
|
||||
<textField pattern="#,##0.00">
|
||||
<reportElement x="286" y="1" width="48" height="20" uuid="90793b40-e058-4031-995e-fc5c38d2e0f8"/>
|
||||
<reportElement uuid="90793b40-e058-4031-995e-fc5c38d2e0f8" x="470" y="0" width="67" height="21"/>
|
||||
<textElement textAlignment="Right">
|
||||
<font isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$V{sum_rec_abs}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="#,##0.00">
|
||||
<reportElement x="394" y="1" width="69" height="20" uuid="f5b5d4fa-4dd5-4a16-ad32-b401a3a36c08"/>
|
||||
<reportElement uuid="f5b5d4fa-4dd5-4a16-ad32-b401a3a36c08" x="610" y="0" width="52" height="21"/>
|
||||
<textElement textAlignment="Right">
|
||||
<font isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$V{sum_pax_km}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="#,##0.00">
|
||||
<reportElement x="334" y="1" width="60" height="20" uuid="ae2ce014-7ac9-431e-8200-3954a90b61e8"/>
|
||||
<reportElement uuid="ae2ce014-7ac9-431e-8200-3954a90b61e8" x="537" y="0" width="73" height="21"/>
|
||||
<textElement textAlignment="Right">
|
||||
<font isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$V{sum_equivalente}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="#,##0.00">
|
||||
<reportElement x="507" y="1" width="48" height="20" uuid="ae118f4b-99af-4420-9086-f53850abba8b"/>
|
||||
<reportElement uuid="ae118f4b-99af-4420-9086-f53850abba8b" x="714" y="0" width="50" height="21"/>
|
||||
<textElement textAlignment="Right">
|
||||
<font isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$V{sum_por_equivalente}.compareTo(new BigDecimal("100.00"))>0?new BigDecimal("100.00"):$V{sum_por_equivalente}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="#,##0.00">
|
||||
<reportElement x="463" y="1" width="44" height="20" uuid="186bc0ae-ff2b-404c-ab57-7c9144108e72"/>
|
||||
<reportElement uuid="186bc0ae-ff2b-404c-ab57-7c9144108e72" x="662" y="0" width="52" height="21"/>
|
||||
<textElement textAlignment="Right">
|
||||
<font isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$V{sum_porc_abs}.compareTo(new BigDecimal("100.00"))>0?new BigDecimal("100.00"):$V{sum_porc_abs}]]></textFieldExpression>
|
||||
</textField>
|
||||
<staticText>
|
||||
<reportElement x="0" y="21" width="555" height="20" uuid="1c570d9f-a48f-404c-9afc-a46d4787af91"/>
|
||||
<reportElement uuid="1c570d9f-a48f-404c-9afc-a46d4787af91" x="0" y="21" width="763" height="20"/>
|
||||
<textElement>
|
||||
<font size="8" isBold="true"/>
|
||||
</textElement>
|
||||
<text><![CDATA[*Exibe somente trechos que possuam tabela de preço com data inferior ou igual a data final do filtro.]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement x="0" y="41" width="61" height="20" uuid="1496ac48-72e2-40be-a3a3-35b723cd4223"/>
|
||||
<textElement>
|
||||
<reportElement uuid="1496ac48-72e2-40be-a3a3-35b723cd4223" x="0" y="41" width="763" height="20"/>
|
||||
<textElement verticalAlignment="Middle">
|
||||
<font size="11" isBold="true"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Resumo]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement x="0" y="61" width="94" height="20" uuid="ba8b9a18-6d78-4b14-8266-99736c209dd5"/>
|
||||
<textElement>
|
||||
<reportElement uuid="ba8b9a18-6d78-4b14-8266-99736c209dd5" x="0" y="61" width="94" height="20"/>
|
||||
<textElement verticalAlignment="Middle">
|
||||
<font isBold="true"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Extensão:]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement x="0" y="81" width="94" height="20" uuid="bbf0782f-ce0f-4d29-9d8e-dc9862a01e21"/>
|
||||
<textElement>
|
||||
<reportElement uuid="bbf0782f-ce0f-4d29-9d8e-dc9862a01e21" x="0" y="81" width="94" height="20"/>
|
||||
<textElement verticalAlignment="Middle">
|
||||
<font isBold="true"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Viagens:]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement x="0" y="101" width="94" height="20" uuid="f83de431-6542-43c7-84b7-c6fd27dad121"/>
|
||||
<textElement>
|
||||
<reportElement uuid="f83de431-6542-43c7-84b7-c6fd27dad121" x="0" y="101" width="94" height="20"/>
|
||||
<textElement verticalAlignment="Middle">
|
||||
<font isBold="true"/>
|
||||
</textElement>
|
||||
<text><![CDATA[KM Rodados:]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement x="0" y="121" width="94" height="20" uuid="9a6d0493-c402-4a16-ba87-731a610f2338"/>
|
||||
<textElement>
|
||||
<reportElement uuid="9a6d0493-c402-4a16-ba87-731a610f2338" x="0" y="121" width="94" height="20"/>
|
||||
<textElement verticalAlignment="Middle">
|
||||
<font isBold="true"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Pax*KM:]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement x="221" y="61" width="70" height="20" uuid="a949f120-6b99-4f0b-99b8-d3fd3a102ba4"/>
|
||||
<textElement>
|
||||
<reportElement uuid="a949f120-6b99-4f0b-99b8-d3fd3a102ba4" x="221" y="61" width="70" height="20"/>
|
||||
<textElement verticalAlignment="Middle">
|
||||
<font isBold="true"/>
|
||||
</textElement>
|
||||
<text><![CDATA[R$/KM:]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement x="221" y="81" width="70" height="20" uuid="774bb049-2929-4577-81ad-974a9301637d"/>
|
||||
<textElement>
|
||||
<reportElement uuid="774bb049-2929-4577-81ad-974a9301637d" x="221" y="81" width="70" height="20"/>
|
||||
<textElement verticalAlignment="Middle">
|
||||
<font isBold="true"/>
|
||||
</textElement>
|
||||
<text><![CDATA[R$/Viagens:]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement x="221" y="101" width="70" height="20" uuid="b294680b-1a1c-435f-b2a7-d0dcedd318f7"/>
|
||||
<textElement>
|
||||
<reportElement uuid="b294680b-1a1c-435f-b2a7-d0dcedd318f7" x="221" y="101" width="70" height="20"/>
|
||||
<textElement verticalAlignment="Middle">
|
||||
<font isBold="true"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Pax.Equi:]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement x="221" y="121" width="70" height="20" uuid="ea81bb10-d7c5-4cbc-a581-9f26b944520f"/>
|
||||
<textElement>
|
||||
<reportElement uuid="ea81bb10-d7c5-4cbc-a581-9f26b944520f" x="221" y="121" width="70" height="20"/>
|
||||
<textElement verticalAlignment="Middle">
|
||||
<font isBold="true"/>
|
||||
</textElement>
|
||||
<text><![CDATA[IAP%:]]></text>
|
||||
</staticText>
|
||||
<textField pattern="#,##0.00">
|
||||
<reportElement x="291" y="61" width="100" height="20" uuid="260d5364-9582-4f45-ae01-94dfd2781677"/>
|
||||
<reportElement uuid="260d5364-9582-4f45-ae01-94dfd2781677" x="291" y="61" width="472" height="20"/>
|
||||
<textElement/>
|
||||
<textFieldExpression><![CDATA[$V{RECEITA_2}.divide( new BigDecimal($F{KM_CORRIDA}.toString()).multiply(new BigDecimal($F{VIAGENS}.toString())),4,2 )]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="#,##0.00">
|
||||
<reportElement x="291" y="81" width="100" height="20" uuid="5756db85-1209-46de-90eb-0097958f8e9c"/>
|
||||
<reportElement uuid="5756db85-1209-46de-90eb-0097958f8e9c" x="291" y="81" width="472" height="20"/>
|
||||
<textElement/>
|
||||
<textFieldExpression><![CDATA[$V{RECEITA_3}.divide(new BigDecimal($F{VIAGENS}.toString()),2,2 )]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="#,##0.00">
|
||||
<reportElement x="94" y="121" width="100" height="20" uuid="1b9f5961-347c-4afe-94a8-8a221be656cb"/>
|
||||
<reportElement uuid="1b9f5961-347c-4afe-94a8-8a221be656cb" x="94" y="121" width="127" height="20"/>
|
||||
<textElement textAlignment="Left">
|
||||
<font isBold="false"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$V{sum_pax_km}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="#,##0.00">
|
||||
<reportElement x="291" y="101" width="100" height="20" uuid="baa10eb2-baf4-49ae-83cd-c06104a06d75"/>
|
||||
<reportElement uuid="baa10eb2-baf4-49ae-83cd-c06104a06d75" x="291" y="101" width="472" height="20"/>
|
||||
<textElement textAlignment="Left">
|
||||
<font isBold="false"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$V{sum_equivalente}]]></textFieldExpression>
|
||||
</textField>
|
||||
<line>
|
||||
<reportElement positionType="Float" x="0" y="231" width="555" height="1" uuid="a8bb0411-9a3c-49da-9ef4-b7d1bc20696e"/>
|
||||
<reportElement uuid="a8bb0411-9a3c-49da-9ef4-b7d1bc20696e" positionType="Float" x="0" y="231" width="763" height="1"/>
|
||||
</line>
|
||||
<staticText>
|
||||
<reportElement x="0" y="191" width="140" height="20" uuid="d4f3ad63-ee47-44d6-9ffd-966cf144a7d1"/>
|
||||
<textElement>
|
||||
<reportElement uuid="d4f3ad63-ee47-44d6-9ffd-966cf144a7d1" x="0" y="191" width="257" height="20"/>
|
||||
<textElement verticalAlignment="Middle">
|
||||
<font isBold="true"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Localidade]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement x="140" y="191" width="94" height="20" uuid="4e986dd5-a716-4d02-a723-3e9fbed1d4fd"/>
|
||||
<textElement>
|
||||
<reportElement uuid="4e986dd5-a716-4d02-a723-3e9fbed1d4fd" x="257" y="191" width="95" height="20"/>
|
||||
<textElement verticalAlignment="Middle">
|
||||
<font isBold="true"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Rec. Saida]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement x="234" y="191" width="94" height="20" uuid="07c2b3bb-13ef-4862-95d6-da697714905e"/>
|
||||
<textElement>
|
||||
<reportElement uuid="07c2b3bb-13ef-4862-95d6-da697714905e" x="352" y="191" width="100" height="20"/>
|
||||
<textElement verticalAlignment="Middle">
|
||||
<font isBold="true"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Rec. Chegada]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement x="328" y="191" width="74" height="20" uuid="8930f2c6-9cbe-419a-9678-8d72dc141eed"/>
|
||||
<textElement>
|
||||
<reportElement uuid="8930f2c6-9cbe-419a-9678-8d72dc141eed" x="452" y="191" width="65" height="20"/>
|
||||
<textElement verticalAlignment="Middle">
|
||||
<font isBold="true"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Soma]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement x="402" y="191" width="74" height="20" uuid="64d4208c-4752-4389-aa26-4ca6e97db6ac"/>
|
||||
<textElement>
|
||||
<reportElement uuid="64d4208c-4752-4389-aa26-4ca6e97db6ac" x="517" y="191" width="246" height="20"/>
|
||||
<textElement verticalAlignment="Middle">
|
||||
<font isBold="true"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Peso]]></text>
|
||||
</staticText>
|
||||
<componentElement>
|
||||
<reportElement x="0" y="211" width="507" height="20" isRemoveLineWhenBlank="true" uuid="fc473644-667d-480e-adf3-0b7abdc99aa5"/>
|
||||
<reportElement uuid="fc473644-667d-480e-adf3-0b7abdc99aa5" x="0" y="211" width="763" height="20" isRemoveLineWhenBlank="true"/>
|
||||
<jr:list xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd" printOrder="Vertical">
|
||||
<datasetRun subDataset="peso_operacional" uuid="522d9fc1-f32a-42a0-aac6-d2149d3ef7c8">
|
||||
<datasetParameter name="corrida_id_relatorio">
|
||||
|
@ -438,79 +462,99 @@
|
|||
</datasetParameter>
|
||||
<dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($P{lsPesoOperacionalRelatorio})]]></dataSourceExpression>
|
||||
</datasetRun>
|
||||
<jr:listContents height="20" width="507">
|
||||
<jr:listContents height="20" width="763">
|
||||
<textField>
|
||||
<reportElement x="0" y="0" width="140" height="20" isRemoveLineWhenBlank="true" uuid="4ef0b54c-34d5-4bf6-b86c-b807b23e7026">
|
||||
<reportElement uuid="4ef0b54c-34d5-4bf6-b86c-b807b23e7026" x="0" y="0" width="257" height="20" isRemoveLineWhenBlank="true">
|
||||
<printWhenExpression><![CDATA[$P{corrida_id_relatorio}.equals(new BigDecimal($F{corridaId}.toString()))]]></printWhenExpression>
|
||||
</reportElement>
|
||||
<textElement/>
|
||||
<textFieldExpression><![CDATA[$F{localidade}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="#,##0.00">
|
||||
<reportElement x="140" y="0" width="94" height="20" isRemoveLineWhenBlank="true" uuid="06fc754c-d01f-4a92-bd76-7e900d93a69a">
|
||||
<reportElement uuid="06fc754c-d01f-4a92-bd76-7e900d93a69a" x="257" y="0" width="95" height="20" isRemoveLineWhenBlank="true">
|
||||
<printWhenExpression><![CDATA[$P{corrida_id_relatorio}.equals(new BigDecimal($F{corridaId}.toString()))]]></printWhenExpression>
|
||||
</reportElement>
|
||||
<textElement/>
|
||||
<textFieldExpression><![CDATA[$F{receitaSaida}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="#,##0.00">
|
||||
<reportElement x="234" y="0" width="94" height="20" isRemoveLineWhenBlank="true" uuid="ceb27078-6808-4d71-882d-c22332c3e5a3">
|
||||
<reportElement uuid="ceb27078-6808-4d71-882d-c22332c3e5a3" x="352" y="0" width="100" height="20" isRemoveLineWhenBlank="true">
|
||||
<printWhenExpression><![CDATA[$P{corrida_id_relatorio}.equals(new BigDecimal($F{corridaId}.toString()))]]></printWhenExpression>
|
||||
</reportElement>
|
||||
<textElement/>
|
||||
<textFieldExpression><![CDATA[$F{receitaChegada}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="#,##0.00">
|
||||
<reportElement x="328" y="0" width="74" height="20" isRemoveLineWhenBlank="true" uuid="d75fc1b6-95f3-453a-8d09-40e9bc7959b8">
|
||||
<reportElement uuid="d75fc1b6-95f3-453a-8d09-40e9bc7959b8" x="452" y="0" width="65" height="20" isRemoveLineWhenBlank="true">
|
||||
<printWhenExpression><![CDATA[$P{corrida_id_relatorio}.equals(new BigDecimal($F{corridaId}.toString()))]]></printWhenExpression>
|
||||
</reportElement>
|
||||
<textElement/>
|
||||
<textFieldExpression><![CDATA[$F{soma}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="#,##0.00">
|
||||
<reportElement x="402" y="0" width="74" height="20" isRemoveLineWhenBlank="true" uuid="fd0a475e-2147-498c-8363-04a4af4031c4">
|
||||
<reportElement uuid="fd0a475e-2147-498c-8363-04a4af4031c4" x="517" y="0" width="246" height="20" isRemoveLineWhenBlank="true">
|
||||
<printWhenExpression><![CDATA[$P{corrida_id_relatorio}.equals(new BigDecimal($F{corridaId}.toString()))]]></printWhenExpression>
|
||||
</reportElement>
|
||||
<textElement/>
|
||||
<textFieldExpression><![CDATA[$F{peso}.multiply(new BigDecimal("100"))]]></textFieldExpression>
|
||||
</textField>
|
||||
</jr:listContents>
|
||||
</jr:list>
|
||||
</componentElement>
|
||||
<staticText>
|
||||
<reportElement x="0" y="171" width="140" height="20" uuid="f65284c0-c782-4168-b4be-867c1fbcdd79"/>
|
||||
<textElement>
|
||||
<reportElement uuid="f65284c0-c782-4168-b4be-867c1fbcdd79" x="0" y="171" width="763" height="20"/>
|
||||
<textElement verticalAlignment="Middle">
|
||||
<font size="11" isBold="true"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Peso Operacional]]></text>
|
||||
</staticText>
|
||||
<textField pattern="#,##0.00">
|
||||
<reportElement x="94" y="61" width="100" height="20" uuid="2e9a3a57-4989-4418-83d5-6a389f91f1b7"/>
|
||||
<reportElement uuid="2e9a3a57-4989-4418-83d5-6a389f91f1b7" x="94" y="61" width="127" height="20"/>
|
||||
<textElement/>
|
||||
<textFieldExpression><![CDATA[$F{KM_CORRIDA}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="#,##0.00">
|
||||
<reportElement x="94" y="101" width="100" height="20" uuid="9d44eaed-c896-4000-a73d-2443760ede53"/>
|
||||
<reportElement uuid="9d44eaed-c896-4000-a73d-2443760ede53" x="94" y="101" width="127" height="20"/>
|
||||
<textElement/>
|
||||
<textFieldExpression><![CDATA[$V{KM_CORRIDA_1}]]></textFieldExpression>
|
||||
</textField>
|
||||
<staticText>
|
||||
<reportElement x="0" y="141" width="94" height="20" uuid="214d1ffb-e86e-4d8c-a7a2-3138ac92f161"/>
|
||||
<textElement>
|
||||
<reportElement uuid="214d1ffb-e86e-4d8c-a7a2-3138ac92f161" x="0" y="141" width="94" height="20"/>
|
||||
<textElement verticalAlignment="Middle">
|
||||
<font isBold="true"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Pax Ofertado:]]></text>
|
||||
</staticText>
|
||||
<textField pattern="#,##0.00">
|
||||
<reportElement x="94" y="141" width="100" height="20" uuid="5c8faa69-f13d-41c0-9ba4-46007cae9716"/>
|
||||
<reportElement uuid="5c8faa69-f13d-41c0-9ba4-46007cae9716" x="94" y="141" width="669" height="20"/>
|
||||
<textElement/>
|
||||
<textFieldExpression><![CDATA[$V{PAX_OFERTADO}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="#,##0.00">
|
||||
<reportElement x="294" y="121" width="100" height="20" uuid="f73cbb8b-ccfd-4145-8314-7f6da15129b8"/>
|
||||
<reportElement uuid="f73cbb8b-ccfd-4145-8314-7f6da15129b8" x="291" y="121" width="472" height="20"/>
|
||||
<textElement/>
|
||||
<textFieldExpression><![CDATA[$V{sum_pax_km}.divide( $V{PAX_OFERTADO}, 4, RoundingMode.HALF_UP).multiply(new BigDecimal("100"))]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="94" y="81" width="100" height="20" uuid="530855a6-9450-465a-8f7c-cdd67a2a311a"/>
|
||||
<reportElement uuid="530855a6-9450-465a-8f7c-cdd67a2a311a" x="94" y="81" width="127" height="20"/>
|
||||
<textElement/>
|
||||
<textFieldExpression><![CDATA[$F{VIAGENS}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="181" y="1" width="45" height="20" uuid="14716f25-b47e-44d0-8736-30363a0f4a7b"/>
|
||||
<reportElement uuid="14716f25-b47e-44d0-8736-30363a0f4a7b" x="329" y="0" width="78" height="21"/>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$V{ABSOLUTOS_1}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="#,##0.00">
|
||||
<reportElement uuid="bdf4a2b0-f041-47c1-962c-10df1c9fbec2" x="149" y="-21" width="44" height="21"/>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$F{PRECIOBASE}]]></textFieldExpression>
|
||||
</textField>
|
||||
<staticText>
|
||||
<reportElement uuid="01f4d447-bbe3-47ed-90f1-53d6f9241041" x="0" y="0" width="329" height="21"/>
|
||||
<textElement/>
|
||||
<text><![CDATA[]]></text>
|
||||
</staticText>
|
||||
</band>
|
||||
</groupFooter>
|
||||
</group>
|
||||
|
@ -518,62 +562,69 @@
|
|||
<band splitType="Stretch"/>
|
||||
</background>
|
||||
<title>
|
||||
<band height="83" splitType="Stretch">
|
||||
<band height="82" splitType="Stretch">
|
||||
<staticText>
|
||||
<reportElement x="0" y="0" width="301" height="20" uuid="58b5b133-43e0-42f0-a904-5cc3645d3df3"/>
|
||||
<textElement>
|
||||
<reportElement uuid="58b5b133-43e0-42f0-a904-5cc3645d3df3" x="0" y="0" width="391" height="20"/>
|
||||
<textElement verticalAlignment="Middle">
|
||||
<font size="14" isBold="true"/>
|
||||
</textElement>
|
||||
<text><![CDATA[ORIGEM/DESTINO OD]]></text>
|
||||
</staticText>
|
||||
<textField pattern="dd/MM/yyyy HH:mm">
|
||||
<reportElement x="391" y="0" width="164" height="20" uuid="4d1bcd65-c9a6-44b4-8dca-cc3c4c20c9a5"/>
|
||||
<textElement textAlignment="Right">
|
||||
<reportElement uuid="4d1bcd65-c9a6-44b4-8dca-cc3c4c20c9a5" x="391" y="0" width="374" height="20"/>
|
||||
<textElement textAlignment="Right" verticalAlignment="Middle">
|
||||
<font isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="0" y="20" width="301" height="20" uuid="a16eb33b-78ca-4fb4-80c2-f5c85a0d09c3"/>
|
||||
<textElement>
|
||||
<font isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA["Período: " + $P{DATA_DE} + " a " + $P{DATA_ATE}]]></textFieldExpression>
|
||||
</textField>
|
||||
<staticText>
|
||||
<reportElement x="0" y="63" width="74" height="19" uuid="bb8d0dec-2060-456e-bca1-c69d7c272fa3"/>
|
||||
<textElement>
|
||||
<reportElement uuid="bb8d0dec-2060-456e-bca1-c69d7c272fa3" x="0" y="63" width="74" height="19"/>
|
||||
<textElement verticalAlignment="Middle">
|
||||
<font isBold="true"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Serviço(s):]]></text>
|
||||
</staticText>
|
||||
<textField>
|
||||
<reportElement uuid="a16eb33b-78ca-4fb4-80c2-f5c85a0d09c3" x="0" y="20" width="765" height="20"/>
|
||||
<textElement verticalAlignment="Middle">
|
||||
<font isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA["Período: " + $P{DATA_DE} + " a " + $P{DATA_ATE}]]></textFieldExpression>
|
||||
</textField>
|
||||
<line>
|
||||
<reportElement x="0" y="82" width="555" height="1" uuid="3f36efc2-5272-4015-95bb-b8efdc893b89"/>
|
||||
<reportElement uuid="3f36efc2-5272-4015-95bb-b8efdc893b89" x="0" y="81" width="765" height="1"/>
|
||||
</line>
|
||||
<staticText>
|
||||
<reportElement x="0" y="43" width="74" height="20" uuid="3857502f-b69a-4362-97fe-6f7a7f6ee32b"/>
|
||||
<textElement>
|
||||
<reportElement uuid="3857502f-b69a-4362-97fe-6f7a7f6ee32b" x="0" y="40" width="74" height="23"/>
|
||||
<textElement verticalAlignment="Middle">
|
||||
<font isBold="true"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Empresa(s):]]></text>
|
||||
</staticText>
|
||||
<textField>
|
||||
<reportElement x="74" y="43" width="471" height="20" isPrintWhenDetailOverflows="true" uuid="7f31cdf0-886d-4eef-b64c-28bc94c05b77"/>
|
||||
<reportElement uuid="7f31cdf0-886d-4eef-b64c-28bc94c05b77" x="74" y="40" width="691" height="23" isPrintWhenDetailOverflows="true"/>
|
||||
<textElement/>
|
||||
<textFieldExpression><![CDATA[$P{EMPRESAS}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="74" y="63" width="471" height="19" isPrintWhenDetailOverflows="true" uuid="44b1c344-61df-4dd0-b661-cae5f2f8e699"/>
|
||||
<reportElement uuid="44b1c344-61df-4dd0-b661-cae5f2f8e699" x="74" y="63" width="691" height="19" isPrintWhenDetailOverflows="true"/>
|
||||
<textElement>
|
||||
<font isBold="false" isUnderline="false" isStrikeThrough="false"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$P{CORRIDAS_SELECIONADAS}]]></textFieldExpression>
|
||||
</textField>
|
||||
<elementGroup>
|
||||
<elementGroup/>
|
||||
</elementGroup>
|
||||
</band>
|
||||
</title>
|
||||
<pageHeader>
|
||||
<band height="21" splitType="Stretch">
|
||||
<band height="20" splitType="Stretch">
|
||||
<line>
|
||||
<reportElement x="0" y="19" width="555" height="1" uuid="4f39b5b4-849a-4fe2-9365-06930866fbaa"/>
|
||||
<reportElement uuid="4f39b5b4-849a-4fe2-9365-06930866fbaa" x="0" y="19" width="763" height="1"/>
|
||||
</line>
|
||||
<textField>
|
||||
<reportElement x="391" y="0" width="164" height="20" uuid="6a8a0843-7236-40a3-98ae-5fbf59b4cfec"/>
|
||||
<reportElement uuid="6a8a0843-7236-40a3-98ae-5fbf59b4cfec" x="0" y="0" width="765" height="20"/>
|
||||
<textElement textAlignment="Right">
|
||||
<font isBold="true"/>
|
||||
</textElement>
|
||||
|
@ -587,58 +638,65 @@
|
|||
<detail>
|
||||
<band height="21" splitType="Stretch">
|
||||
<textField>
|
||||
<reportElement x="0" y="0" width="44" height="21" uuid="bf929e3d-cad8-411d-ba89-1d9cb35c8c00"/>
|
||||
<reportElement uuid="bf929e3d-cad8-411d-ba89-1d9cb35c8c00" x="0" y="-1" width="59" height="22"/>
|
||||
<textElement/>
|
||||
<textFieldExpression><![CDATA[$F{ORIGEM}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="44" y="0" width="50" height="21" uuid="eab5b297-016b-404a-8b09-db55f57f1bfe"/>
|
||||
<textFieldExpression><![CDATA[$F{DESTINO}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="#,##0.00">
|
||||
<reportElement x="133" y="0" width="48" height="21" uuid="bdf4a2b0-f041-47c1-962c-10df1c9fbec2"/>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$F{PRECIOBASE}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="181" y="0" width="45" height="21" uuid="c45c70fb-1c4e-46a8-9a39-f804605e85b5"/>
|
||||
<reportElement uuid="c45c70fb-1c4e-46a8-9a39-f804605e85b5" x="329" y="0" width="77" height="21"/>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$F{ABSOLUTOS}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="#,##0.00">
|
||||
<reportElement x="226" y="0" width="60" height="21" uuid="c88714a3-010d-4e26-801d-8982acc15a19"/>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$F{RECEITA}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="94" y="0" width="39" height="21" uuid="87a6161e-e6ed-4330-bbff-34a87a5fb1a6"/>
|
||||
<reportElement uuid="87a6161e-e6ed-4330-bbff-34a87a5fb1a6" x="108" y="0" width="41" height="21"/>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$F{KM_TRAMO}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="#,##0.00">
|
||||
<reportElement x="334" y="0" width="60" height="21" uuid="5ad372c0-5127-4441-aae3-be6ca2949a93"/>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$V{equivalente}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="#,##0.00">
|
||||
<reportElement x="286" y="0" width="48" height="21" uuid="0fe8352f-f787-46b6-adcb-e8dda60b4d9d"/>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$V{rec_abs}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="#,##0.00">
|
||||
<reportElement x="463" y="0" width="44" height="21" uuid="22d22d0b-ed49-44a7-8725-c4a62b7fbb41"/>
|
||||
<reportElement uuid="22d22d0b-ed49-44a7-8725-c4a62b7fbb41" x="662" y="0" width="51" height="21"/>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$V{porc_abs}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="#,##0.00">
|
||||
<reportElement x="507" y="0" width="48" height="21" uuid="5ecd33c0-2648-482f-b87a-d5197d2f193e"/>
|
||||
<reportElement uuid="5ecd33c0-2648-482f-b87a-d5197d2f193e" x="713" y="0" width="50" height="21"/>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$V{por_equivalente}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="394" y="0" width="69" height="20" uuid="0de4edf8-49c8-49d2-b2d6-0476fb8ab3ed"/>
|
||||
<reportElement uuid="0de4edf8-49c8-49d2-b2d6-0476fb8ab3ed" x="610" y="0" width="52" height="21"/>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$V{pax_km}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="eab5b297-016b-404a-8b09-db55f57f1bfe" x="59" y="0" width="49" height="21"/>
|
||||
<textElement/>
|
||||
<textFieldExpression><![CDATA[$F{DESTINO}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="#,##0.00">
|
||||
<reportElement uuid="c88714a3-010d-4e26-801d-8982acc15a19" x="406" y="0" width="64" height="21"/>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$F{RECEITA}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="#,##0.00">
|
||||
<reportElement uuid="3a76b131-6ebf-4234-a367-ba5e1527886a" x="193" y="0" width="77" height="21"/>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$F{IMPORTETAXAEMBARQUE}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="32534bbc-2bf6-4786-b5cd-e68c4062d3ec" x="270" y="0" width="59" height="21"/>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$F{IMPORTEPEDAGIO}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="#,##0.00">
|
||||
<reportElement uuid="0fe8352f-f787-46b6-adcb-e8dda60b4d9d" x="470" y="0" width="66" height="21"/>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$V{rec_abs}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="#,##0.00">
|
||||
<reportElement uuid="5ad372c0-5127-4441-aae3-be6ca2949a93" x="536" y="0" width="74" height="21"/>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$V{equivalente}]]></textFieldExpression>
|
||||
</textField>
|
||||
</band>
|
||||
</detail>
|
||||
<columnFooter>
|
||||
|
|
Loading…
Reference in New Issue