FIXED BUG #6123 - Criação de relatório de vendas por bilheteiro
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@42294 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
9f253b87e4
commit
7158a90de5
|
@ -0,0 +1,130 @@
|
|||
/**
|
||||
*
|
||||
*/
|
||||
package com.rjconsultores.ventaboletos.relatorios.impl;
|
||||
|
||||
import java.sql.Connection;
|
||||
import java.sql.ResultSet;
|
||||
import java.sql.Timestamp;
|
||||
import java.util.Date;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import com.rjconsultores.ventaboletos.relatorios.utilitarios.ArrayDataSource;
|
||||
import com.rjconsultores.ventaboletos.relatorios.utilitarios.IndStatusBoleto;
|
||||
import com.rjconsultores.ventaboletos.relatorios.utilitarios.Relatorio;
|
||||
import com.rjconsultores.ventaboletos.utilerias.DateUtil;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.NamedParameterStatement;
|
||||
|
||||
/**
|
||||
* @author Thiago
|
||||
*
|
||||
*/
|
||||
public class RelatorioVendasBilheteiro extends Relatorio {
|
||||
|
||||
|
||||
public RelatorioVendasBilheteiro(Map<String, Object> parametros, Connection conexao) throws Exception {
|
||||
super(parametros, conexao);
|
||||
|
||||
this.setCustomDataSource(new ArrayDataSource(this) {
|
||||
@Override
|
||||
public void initDados() throws Exception {
|
||||
|
||||
Connection conexao = this.relatorio.getConexao();
|
||||
Map<String, Object> parametros = this.relatorio.getParametros();
|
||||
|
||||
StringBuilder sql = new StringBuilder();
|
||||
|
||||
sql.append(" select pv.NUMPUNTOVENTA CODIGO_AGENCIA, ");
|
||||
sql.append(" pv.NOMBPUNTOVENTA NOME_AGENCIA, ");
|
||||
sql.append(" u.CVEUSUARIO CODIGO_BILHETEIRO, ");
|
||||
sql.append(" u.NOMBUSUARIO NOME_BILHETEIRO, ");
|
||||
sql.append(" c.NUMFOLIOSISTEMA NUMERO_PASSAGEM, ");
|
||||
sql.append(" p_origen.DESCPARADA ORIGEM, ");
|
||||
sql.append(" p_destino.DESCPARADA DESTINO, ");
|
||||
sql.append(" ct.DESCCATEGORIA TIPO_BILHETE, ");
|
||||
sql.append(" c.INDSTATUSBOLETO STATUS_PASSAGEM, ");
|
||||
sql.append(" c.FECCORRIDA DATA_VIAGEM, ");
|
||||
sql.append(" c.CORRIDA_ID SERVICO, ");
|
||||
sql.append(" c.IMPORTEPEDAGIO PEDAGIO," );
|
||||
sql.append(" c.IMPORTETAXAEMBARQUE TX_EMBARQUE," );
|
||||
sql.append(" (NVL(c.PRECIOPAGADO,0)-(NVL(c.IMPORTEPEDAGIO,0)+ NVL(c.IMPORTETAXAEMBARQUE,0))) TARIFA," );
|
||||
sql.append(" c.PRECIOPAGADO TOTAL_BILHETE" );
|
||||
|
||||
sql.append(" from caja c ");
|
||||
sql.append(" join PUNTO_VENTA pv on c.PUNTOVENTA_ID = pv.PUNTOVENTA_ID ");
|
||||
sql.append(" join EMPRESA e on e.EMPRESA_ID = pv.EMPRESA_ID ");
|
||||
sql.append(" join USUARIO u on u.USUARIO_ID = c.USUARIO_ID ");
|
||||
sql.append(" join PARADA p_origen on p_origen.PARADA_ID = c.ORIGEN_ID ");
|
||||
sql.append(" join PARADA p_destino on p_destino.PARADA_ID = c.ORIGEN_ID ");
|
||||
sql.append(" join CATEGORIA ct on ct.CATEGORIA_ID = c.CATEGORIA_ID ");
|
||||
sql.append(" where ");
|
||||
sql.append(" e.EMPRESA_ID = :EMPRESA_ID ");
|
||||
sql.append(" and c.FECCORRIDA >= :DATA_INICIAL");
|
||||
sql.append(" and c.FECCORRIDA <= :DATA_FINAL");
|
||||
if (parametros.get("NUMPUNTOVENTA") != null) {
|
||||
sql.append("and pv.NUMPUNTOVENTA IN (" + parametros.get("NUMPUNTOVENTA").toString() + ")");
|
||||
}
|
||||
if (parametros.get("BILHETEIRO") != null && !parametros.get("BILHETEIRO").equals("")) {
|
||||
sql.append(" and u.NOMBUSUARIO like '" + parametros.get("BILHETEIRO") + "%'");
|
||||
}
|
||||
sql.append(" order by u.CVEUSUARIO, ");
|
||||
sql.append(" u.NOMBUSUARIO, ");
|
||||
sql.append(" pv.NUMPUNTOVENTA, ");
|
||||
sql.append(" pv.NOMBPUNTOVENTA, ");
|
||||
sql.append(" c.NUMFOLIOSISTEMA, ");
|
||||
sql.append(" p_origen.DESCPARADA, ");
|
||||
sql.append(" p_destino.DESCPARADA, ");
|
||||
sql.append(" ct.DESCCATEGORIA, ");
|
||||
sql.append(" c.INDSTATUSBOLETO, ");
|
||||
sql.append(" c.FECCORRIDA, ");
|
||||
sql.append(" c.CORRIDA_ID ");
|
||||
|
||||
NamedParameterStatement stmt = new NamedParameterStatement(conexao, sql.toString());
|
||||
|
||||
stmt.setInt("EMPRESA_ID", Integer.valueOf(parametros.get("EMPRESA_ID").toString()));
|
||||
stmt.setTimestamp("DATA_INICIAL", new Timestamp(DateUtil.inicioFecha((Date) parametros.get("DATA_INICIAL")).getTime()));
|
||||
stmt.setTimestamp("DATA_FINAL", new Timestamp(DateUtil.fimFecha((Date) parametros.get("DATA_FINAL")).getTime()));
|
||||
|
||||
ResultSet rset = stmt.executeQuery();
|
||||
|
||||
while (rset.next()) {
|
||||
|
||||
Map<String, Object> dataResult = new HashMap<String, Object>();
|
||||
|
||||
dataResult.put("CODIGO_AGENCIA", rset.getString("CODIGO_AGENCIA"));
|
||||
dataResult.put("NOME_AGENCIA", rset.getString("NOME_AGENCIA"));
|
||||
dataResult.put("CODIGO_BILHETEIRO", rset.getString("CODIGO_BILHETEIRO"));
|
||||
dataResult.put("NOME_BILHETEIRO", rset.getString("NOME_BILHETEIRO"));
|
||||
dataResult.put("NUMERO_PASSAGEM", rset.getBigDecimal("NUMERO_PASSAGEM"));
|
||||
dataResult.put("ORIGEM", rset.getString("ORIGEM"));
|
||||
dataResult.put("DESTINO", rset.getString("DESTINO"));
|
||||
dataResult.put("TIPO_BILHETE", rset.getString("TIPO_BILHETE"));
|
||||
dataResult.put("TX_EMBARQUE", rset.getBigDecimal("TX_EMBARQUE"));
|
||||
dataResult.put("PEDAGIO", rset.getBigDecimal("PEDAGIO"));
|
||||
dataResult.put("TARIFA", rset.getBigDecimal("TARIFA"));
|
||||
dataResult.put("TOTAL_BILHETE", rset.getBigDecimal("TOTAL_BILHETE"));
|
||||
dataResult.put("STATUS_PASSAGEM", IndStatusBoleto.valueOf(rset.getString("STATUS_PASSAGEM")).getValue() );
|
||||
dataResult.put("SERVICO", rset.getBigDecimal("SERVICO"));
|
||||
dataResult.put("DATA_VIAGEM", rset.getDate("DATA_VIAGEM"));
|
||||
|
||||
this.dados.add(dataResult);
|
||||
|
||||
}
|
||||
|
||||
this.resultSet = rset;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
/*
|
||||
* (non-Javadoc)
|
||||
*
|
||||
* @see com.rjconsultores.ventaboletos.relatorios.utilitarios.Relatorio#processaParametros()
|
||||
*/
|
||||
@Override
|
||||
protected void processaParametros() throws Exception {
|
||||
|
||||
}
|
||||
|
||||
}
|
|
@ -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:
|
Binary file not shown.
|
@ -1,7 +1,7 @@
|
|||
<?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="RelatorioTaxasLinha" pageWidth="595" pageHeight="842" whenNoDataType="NoDataSection" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="efbc89d4-6f08-4ea5-802f-d4f48ed208e2">
|
||||
<property name="ireport.zoom" value="2.0"/>
|
||||
<property name="ireport.x" value="229"/>
|
||||
<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">
|
||||
|
@ -90,7 +90,7 @@
|
|||
<groupHeader>
|
||||
<band height="14">
|
||||
<textField>
|
||||
<reportElement uuid="95e0028f-60d8-4bbf-afea-a2f3d40b2deb" x="0" y="0" width="187" height="14"/>
|
||||
<reportElement x="0" y="0" width="187" height="14" uuid="95e0028f-60d8-4bbf-afea-a2f3d40b2deb"/>
|
||||
<textElement verticalAlignment="Middle">
|
||||
<font size="8" isBold="true"/>
|
||||
</textElement>
|
||||
|
@ -101,49 +101,48 @@
|
|||
<groupFooter>
|
||||
<band height="11">
|
||||
<staticText>
|
||||
<reportElement uuid="2a963103-78f6-46c6-ac37-29ed4654df56" x="0" y="0" width="51" height="11"/>
|
||||
<textElement/>
|
||||
<reportElement x="0" y="0" width="51" height="11" uuid="2a963103-78f6-46c6-ac37-29ed4654df56"/>
|
||||
<text><![CDATA[Total Empresa: ]]></text>
|
||||
</staticText>
|
||||
<textField pattern="#,##0.00">
|
||||
<reportElement uuid="0617c1e5-cd2f-4b67-ba79-d68c6604275e" x="443" y="0" width="37" height="11"/>
|
||||
<reportElement x="443" y="0" width="37" height="11" uuid="0617c1e5-cd2f-4b67-ba79-d68c6604275e"/>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$V{TOTAL_EMBARQUE_1}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="#,##0.00">
|
||||
<reportElement uuid="64e6d5bd-b475-479b-a12b-c4c28025fd57" x="480" y="0" width="37" height="11"/>
|
||||
<reportElement x="480" y="0" width="37" height="11" uuid="64e6d5bd-b475-479b-a12b-c4c28025fd57"/>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$V{TOTAL_PEDAGIO_1}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="#,##0.00">
|
||||
<reportElement uuid="2cf7fe63-7c91-47d0-9ccb-71e1f669579f" x="517" y="0" width="37" height="11"/>
|
||||
<reportElement x="517" y="0" width="37" height="11" uuid="2cf7fe63-7c91-47d0-9ccb-71e1f669579f"/>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$V{TOTAL_SEGURO_1}]]></textFieldExpression>
|
||||
</textField>
|
||||
<line>
|
||||
<reportElement uuid="7fc66df3-edd7-4149-847e-1375a3621e80" x="0" y="10" width="554" height="1" forecolor="#666666"/>
|
||||
<reportElement x="0" y="10" width="554" height="1" forecolor="#666666" uuid="7fc66df3-edd7-4149-847e-1375a3621e80"/>
|
||||
<graphicElement>
|
||||
<pen lineWidth="0.5"/>
|
||||
</graphicElement>
|
||||
</line>
|
||||
<line>
|
||||
<reportElement uuid="c4a77336-68c6-4e8e-8cd0-ee9c5cdcea51" x="0" y="0" width="554" height="1" forecolor="#666666"/>
|
||||
<reportElement x="0" y="0" width="554" height="1" forecolor="#666666" uuid="c4a77336-68c6-4e8e-8cd0-ee9c5cdcea51"/>
|
||||
<graphicElement>
|
||||
<pen lineWidth="0.5"/>
|
||||
</graphicElement>
|
||||
</line>
|
||||
<textField>
|
||||
<reportElement uuid="95408a88-e07a-409a-a11d-5061362a9521" x="331" y="0" width="38" height="10"/>
|
||||
<reportElement x="331" y="0" width="38" height="10" uuid="95408a88-e07a-409a-a11d-5061362a9521"/>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$V{EMBARQUE_VENDIDOS_1}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="e6546467-4251-4025-a0b8-e6502bc5b141" x="369" y="0" width="38" height="11"/>
|
||||
<reportElement x="369" y="0" width="38" height="11" uuid="e6546467-4251-4025-a0b8-e6502bc5b141"/>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$V{PEDAGIO_VENDIDOS_1}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="d3f05b2b-2c01-4b3b-a471-e79b0e5bbd75" x="407" y="0" width="36" height="11"/>
|
||||
<reportElement x="407" y="0" width="36" height="11" uuid="d3f05b2b-2c01-4b3b-a471-e79b0e5bbd75"/>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$V{SEGURO_VENDIDOS_1}]]></textFieldExpression>
|
||||
</textField>
|
||||
|
@ -156,7 +155,7 @@
|
|||
<pageHeader>
|
||||
<band height="59" splitType="Stretch">
|
||||
<textField pattern="" isBlankWhenNull="false">
|
||||
<reportElement uuid="2ed4524d-5c06-487c-a8f1-abc59a8ef7fc" mode="Transparent" x="1" y="1" width="257" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||
<reportElement mode="Transparent" x="1" y="1" width="257" height="15" forecolor="#000000" backcolor="#FFFFFF" uuid="2ed4524d-5c06-487c-a8f1-abc59a8ef7fc"/>
|
||||
<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"/>
|
||||
|
@ -164,7 +163,7 @@
|
|||
<textFieldExpression><![CDATA[$P{NOME_RELATORIO}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="" isBlankWhenNull="false">
|
||||
<reportElement uuid="fc199edd-4f2f-4b5f-9397-44f4af50a920" mode="Transparent" x="1" y="16" width="44" height="14" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||
<reportElement mode="Transparent" x="1" y="16" width="44" height="14" forecolor="#000000" backcolor="#FFFFFF" uuid="fc199edd-4f2f-4b5f-9397-44f4af50a920"/>
|
||||
<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"/>
|
||||
|
@ -172,7 +171,7 @@
|
|||
<textFieldExpression><![CDATA[$R{cabecalho.periodo}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="dd/MM/yyyy" isBlankWhenNull="false">
|
||||
<reportElement uuid="f64c2e3c-d936-4072-a0b1-d914f408bbbb" mode="Transparent" x="46" y="16" width="51" height="14" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||
<reportElement mode="Transparent" x="46" y="16" width="51" height="14" forecolor="#000000" backcolor="#FFFFFF" uuid="f64c2e3c-d936-4072-a0b1-d914f408bbbb"/>
|
||||
<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"/>
|
||||
|
@ -180,7 +179,7 @@
|
|||
<textFieldExpression><![CDATA[$P{DATA_INICIAL}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="dd/MM/yyyy" isBlankWhenNull="false">
|
||||
<reportElement uuid="00093c35-d3a5-4b0e-8a7a-26a86912dd25" mode="Transparent" x="107" y="16" width="51" height="14" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||
<reportElement mode="Transparent" x="107" y="16" width="51" height="14" forecolor="#000000" backcolor="#FFFFFF" uuid="00093c35-d3a5-4b0e-8a7a-26a86912dd25"/>
|
||||
<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"/>
|
||||
|
@ -188,7 +187,7 @@
|
|||
<textFieldExpression><![CDATA[$P{DATA_FINAL}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="" isBlankWhenNull="false">
|
||||
<reportElement uuid="def1b81c-a286-4749-9ef7-f90984a3a5eb" mode="Transparent" x="97" y="16" width="10" height="14" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||
<reportElement mode="Transparent" x="97" y="16" width="10" height="14" forecolor="#000000" backcolor="#FFFFFF" uuid="def1b81c-a286-4749-9ef7-f90984a3a5eb"/>
|
||||
<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"/>
|
||||
|
@ -196,7 +195,7 @@
|
|||
<textFieldExpression><![CDATA[$R{cabecalho.periodoA}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="dd/MM/yyyy HH:mm" isBlankWhenNull="false">
|
||||
<reportElement uuid="ea4dfc22-27b5-4600-8e8b-7d74460ed744" mode="Transparent" x="461" y="0" width="89" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||
<reportElement mode="Transparent" x="461" y="0" width="89" height="15" forecolor="#000000" backcolor="#FFFFFF" uuid="ea4dfc22-27b5-4600-8e8b-7d74460ed744"/>
|
||||
<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"/>
|
||||
|
@ -204,17 +203,17 @@
|
|||
<textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
|
||||
</textField>
|
||||
<line>
|
||||
<reportElement uuid="d9b398e6-2fe9-4a3d-bceb-f9db7a06e5a9" x="-4" y="43" width="554" height="1"/>
|
||||
<reportElement x="-4" y="43" width="554" height="1" uuid="d9b398e6-2fe9-4a3d-bceb-f9db7a06e5a9"/>
|
||||
</line>
|
||||
<textField>
|
||||
<reportElement uuid="a46c91f5-fb60-48d8-93c1-3814ce0160dd" x="379" y="0" width="80" height="15"/>
|
||||
<reportElement x="379" y="0" width="80" height="15" uuid="a46c91f5-fb60-48d8-93c1-3814ce0160dd"/>
|
||||
<textElement textAlignment="Right">
|
||||
<font size="9" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{cabecalho.dataHora}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="" isBlankWhenNull="false">
|
||||
<reportElement uuid="623b5d82-e7b3-4439-96c5-f44833fb8864" mode="Transparent" x="450" y="31" width="100" height="12" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||
<reportElement mode="Transparent" x="450" y="31" width="100" height="12" forecolor="#000000" backcolor="#FFFFFF" uuid="623b5d82-e7b3-4439-96c5-f44833fb8864"/>
|
||||
<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"/>
|
||||
|
@ -222,7 +221,7 @@
|
|||
<textFieldExpression><![CDATA[$R{cabecalho.impressorPor}+" "+$P{USUARIO}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="" isBlankWhenNull="false">
|
||||
<reportElement uuid="ccec8b66-ed79-418b-b66d-15d9ed3bf2ce" mode="Transparent" x="1" y="44" width="45" height="14" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||
<reportElement mode="Transparent" x="1" y="44" width="45" height="14" forecolor="#000000" backcolor="#FFFFFF" uuid="ccec8b66-ed79-418b-b66d-15d9ed3bf2ce"/>
|
||||
<textElement textAlignment="Left" verticalAlignment="Middle" rotation="None" markup="none">
|
||||
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||
<paragraph lineSpacing="Single"/>
|
||||
|
@ -230,14 +229,14 @@
|
|||
<textFieldExpression><![CDATA[$R{cabecalho.filtros}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="98fc1c7e-3fee-4c70-924f-2cbb17fd243f" x="47" y="44" width="717" height="14"/>
|
||||
<reportElement x="47" y="44" width="717" height="14" uuid="98fc1c7e-3fee-4c70-924f-2cbb17fd243f"/>
|
||||
<textElement verticalAlignment="Middle">
|
||||
<font size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$P{FILTROS}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="" isBlankWhenNull="false">
|
||||
<reportElement uuid="6aae4c9b-2e2a-4fd5-9115-760449d3c263" mode="Transparent" x="430" y="16" width="105" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||
<reportElement mode="Transparent" x="430" y="16" width="105" height="15" forecolor="#000000" backcolor="#FFFFFF" uuid="6aae4c9b-2e2a-4fd5-9115-760449d3c263"/>
|
||||
<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"/>
|
||||
|
@ -245,7 +244,7 @@
|
|||
<textFieldExpression><![CDATA[$R{cabecalho.pagina}+" "+$V{PAGE_NUMBER}+" "+$R{cabecalho.de}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField evaluationTime="Report" pattern="" isBlankWhenNull="false">
|
||||
<reportElement uuid="5a57c3a1-ed8e-46fb-836f-d250116a238a" mode="Transparent" x="535" y="16" width="15" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||
<reportElement mode="Transparent" x="535" y="16" width="15" height="15" forecolor="#000000" backcolor="#FFFFFF" uuid="5a57c3a1-ed8e-46fb-836f-d250116a238a"/>
|
||||
<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"/>
|
||||
|
@ -257,40 +256,40 @@
|
|||
<columnHeader>
|
||||
<band height="13">
|
||||
<line>
|
||||
<reportElement uuid="04a75f17-3686-484b-be43-7b7e22e9def7" x="0" y="0" width="554" height="1"/>
|
||||
<reportElement x="0" y="0" width="554" height="1" uuid="04a75f17-3686-484b-be43-7b7e22e9def7"/>
|
||||
<graphicElement>
|
||||
<pen lineWidth="0.5"/>
|
||||
</graphicElement>
|
||||
</line>
|
||||
<line>
|
||||
<reportElement uuid="d9f712d0-01a8-4241-a1e6-dc096b4ee773" x="0" y="12" width="554" height="1"/>
|
||||
<reportElement x="0" y="12" width="554" height="1" uuid="d9f712d0-01a8-4241-a1e6-dc096b4ee773"/>
|
||||
<graphicElement>
|
||||
<pen lineWidth="0.5"/>
|
||||
</graphicElement>
|
||||
</line>
|
||||
<staticText>
|
||||
<reportElement uuid="9c579f27-ee14-4804-b73d-64994a6e41ec" x="0" y="1" width="34" height="11"/>
|
||||
<reportElement x="0" y="1" width="34" height="11" uuid="9c579f27-ee14-4804-b73d-64994a6e41ec"/>
|
||||
<textElement>
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Prefixo]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement uuid="7b8a8f38-e513-4a8c-a82b-a9c6ffd21f6f" x="37" y="1" width="55" height="11"/>
|
||||
<reportElement x="37" y="1" width="55" height="11" uuid="7b8a8f38-e513-4a8c-a82b-a9c6ffd21f6f"/>
|
||||
<textElement>
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Origem]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement uuid="4f8fcbb3-73e7-4b15-9687-30ff12bb1526" x="92" y="1" width="55" height="11"/>
|
||||
<reportElement x="92" y="1" width="55" height="11" uuid="4f8fcbb3-73e7-4b15-9687-30ff12bb1526"/>
|
||||
<textElement>
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Destino]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement uuid="7b817589-f754-49f1-bf53-856be52946fb" mode="Transparent" x="235" y="1" width="32" height="11" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||
<reportElement mode="Transparent" x="235" y="1" width="32" height="11" forecolor="#000000" backcolor="#FFFFFF" uuid="7b817589-f754-49f1-bf53-856be52946fb"/>
|
||||
<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"/>
|
||||
|
@ -298,7 +297,7 @@
|
|||
<text><![CDATA[Emb.]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement uuid="93a5880a-7547-4e53-85f4-09a6c22d5699" mode="Transparent" x="267" y="1" width="32" height="11" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||
<reportElement mode="Transparent" x="267" y="1" width="32" height="11" forecolor="#000000" backcolor="#FFFFFF" uuid="93a5880a-7547-4e53-85f4-09a6c22d5699"/>
|
||||
<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"/>
|
||||
|
@ -306,7 +305,7 @@
|
|||
<text><![CDATA[Ped.]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement uuid="1d4f5650-a014-468d-a9b2-c58887492ace" mode="Transparent" x="299" y="1" width="32" height="11" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||
<reportElement mode="Transparent" x="299" y="1" width="32" height="11" forecolor="#000000" backcolor="#FFFFFF" uuid="1d4f5650-a014-468d-a9b2-c58887492ace"/>
|
||||
<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"/>
|
||||
|
@ -314,7 +313,7 @@
|
|||
<text><![CDATA[Seg.]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement uuid="9b724ccc-0e90-4271-9e51-54128161d074" mode="Transparent" x="443" y="1" width="37" height="11" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||
<reportElement mode="Transparent" x="443" y="1" width="37" height="11" forecolor="#000000" backcolor="#FFFFFF" uuid="9b724ccc-0e90-4271-9e51-54128161d074"/>
|
||||
<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"/>
|
||||
|
@ -322,7 +321,7 @@
|
|||
<text><![CDATA[T. Emb.]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement uuid="88be8133-60fd-45a5-9c81-363647bb3002" mode="Transparent" x="480" y="1" width="37" height="11" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||
<reportElement mode="Transparent" x="480" y="1" width="37" height="11" forecolor="#000000" backcolor="#FFFFFF" uuid="88be8133-60fd-45a5-9c81-363647bb3002"/>
|
||||
<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"/>
|
||||
|
@ -330,7 +329,7 @@
|
|||
<text><![CDATA[T. Ped.]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement uuid="bb5f610e-adc6-4f73-ba16-11ce1ec169a3" mode="Transparent" x="517" y="1" width="37" height="11" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||
<reportElement mode="Transparent" x="517" y="1" width="37" height="11" forecolor="#000000" backcolor="#FFFFFF" uuid="bb5f610e-adc6-4f73-ba16-11ce1ec169a3"/>
|
||||
<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"/>
|
||||
|
@ -338,7 +337,7 @@
|
|||
<text><![CDATA[T. Seg.]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement uuid="c41834a6-5ca0-4bba-a5ac-0cc2dd7a35b5" mode="Transparent" x="331" y="1" width="38" height="11" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||
<reportElement mode="Transparent" x="331" y="1" width="38" height="11" forecolor="#000000" backcolor="#FFFFFF" uuid="c41834a6-5ca0-4bba-a5ac-0cc2dd7a35b5"/>
|
||||
<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"/>
|
||||
|
@ -346,14 +345,14 @@
|
|||
<text><![CDATA[Q. Emb]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement uuid="32c20a27-414c-41be-86b2-0d23645acd18" x="147" y="1" width="88" height="11"/>
|
||||
<reportElement x="147" y="1" width="88" height="11" uuid="32c20a27-414c-41be-86b2-0d23645acd18"/>
|
||||
<textElement>
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Agência]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement uuid="88257609-1874-4558-b57a-bc6f811f7896" mode="Transparent" x="369" y="1" width="38" height="11" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||
<reportElement mode="Transparent" x="369" y="1" width="38" height="11" forecolor="#000000" backcolor="#FFFFFF" uuid="88257609-1874-4558-b57a-bc6f811f7896"/>
|
||||
<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"/>
|
||||
|
@ -361,7 +360,7 @@
|
|||
<text><![CDATA[Q. Ped]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement uuid="276a9b95-f7ce-44e7-a3a9-65f7fd6944fd" mode="Transparent" x="407" y="1" width="38" height="11" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||
<reportElement mode="Transparent" x="407" y="1" width="38" height="11" forecolor="#000000" backcolor="#FFFFFF" uuid="276a9b95-f7ce-44e7-a3a9-65f7fd6944fd"/>
|
||||
<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"/>
|
||||
|
@ -373,67 +372,63 @@
|
|||
<detail>
|
||||
<band height="11">
|
||||
<textField>
|
||||
<reportElement uuid="b12cbc2b-3eac-4c2c-b94c-cac2e746b2c2" x="0" y="0" width="34" height="11"/>
|
||||
<textElement/>
|
||||
<reportElement x="0" y="0" width="34" height="11" uuid="b12cbc2b-3eac-4c2c-b94c-cac2e746b2c2"/>
|
||||
<textFieldExpression><![CDATA[$F{PREFIXO}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="d19cff45-ad13-4a6b-b6f3-3e871a6d8d58" x="37" y="0" width="55" height="11"/>
|
||||
<textElement/>
|
||||
<reportElement x="37" y="0" width="55" height="11" uuid="d19cff45-ad13-4a6b-b6f3-3e871a6d8d58"/>
|
||||
<textFieldExpression><![CDATA[$F{CIDADE_ORIGEM}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="f868a599-c0bb-4187-97b6-7681b753abbf" x="92" y="0" width="55" height="11"/>
|
||||
<textElement/>
|
||||
<reportElement x="92" y="0" width="55" height="11" uuid="f868a599-c0bb-4187-97b6-7681b753abbf"/>
|
||||
<textFieldExpression><![CDATA[$F{CIDADE_DESTINO}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="#,##0.00">
|
||||
<reportElement uuid="6454beed-fb72-4aa5-8bff-7eb4ea6c26ba" x="235" y="0" width="32" height="11"/>
|
||||
<reportElement x="235" y="0" width="32" height="11" uuid="6454beed-fb72-4aa5-8bff-7eb4ea6c26ba"/>
|
||||
<textElement textAlignment="Right" markup="none"/>
|
||||
<textFieldExpression><![CDATA[$F{IMPORTETAXAEMBARQUE}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="#,##0.00">
|
||||
<reportElement uuid="1242bccb-ce44-47d6-ac13-6f4df97f707e" x="267" y="0" width="32" height="11"/>
|
||||
<reportElement x="267" y="0" width="32" height="11" uuid="1242bccb-ce44-47d6-ac13-6f4df97f707e"/>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$F{IMPORTEPEDAGIO}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="#,##0.00">
|
||||
<reportElement uuid="2184d556-1501-4525-8d09-510f9d798b86" x="299" y="0" width="32" height="11"/>
|
||||
<reportElement x="299" y="0" width="32" height="11" uuid="2184d556-1501-4525-8d09-510f9d798b86"/>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$F{IMPORTESEGURO}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="#,##0.00">
|
||||
<reportElement uuid="58c1e14e-9c44-4e34-8b57-fbb6af384ce3" x="443" y="0" width="37" height="11"/>
|
||||
<reportElement x="443" y="0" width="37" height="11" uuid="58c1e14e-9c44-4e34-8b57-fbb6af384ce3"/>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$F{TOTAL_EMBARQUE}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="#,##0.00">
|
||||
<reportElement uuid="05426ccc-ff54-4381-8406-ae0c4290a54b" x="480" y="0" width="37" height="11"/>
|
||||
<reportElement x="480" y="0" width="37" height="11" uuid="05426ccc-ff54-4381-8406-ae0c4290a54b"/>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$F{TOTAL_PEDAGIO}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="#,##0.00">
|
||||
<reportElement uuid="8a365def-0ad3-48e8-b942-5d00f5d74a21" x="517" y="0" width="37" height="11"/>
|
||||
<reportElement x="517" y="0" width="37" height="11" uuid="8a365def-0ad3-48e8-b942-5d00f5d74a21"/>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$F{TOTAL_SEGURO}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="b2a45c9f-3da0-4273-9941-c9e31ee61723" x="147" y="0" width="88" height="11"/>
|
||||
<textElement/>
|
||||
<reportElement x="147" y="0" width="88" height="11" uuid="b2a45c9f-3da0-4273-9941-c9e31ee61723"/>
|
||||
<textFieldExpression><![CDATA[$F{NOMBPUNTOVENTA}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="7059069b-3c22-416a-afc1-d05473a3d429" x="331" y="0" width="38" height="11"/>
|
||||
<reportElement x="331" y="0" width="38" height="11" uuid="7059069b-3c22-416a-afc1-d05473a3d429"/>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$F{EMBARQUE_VENDIDOS}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="049ba79a-5ee9-4ee2-80d7-d498ad7d7125" x="369" y="0" width="38" height="11"/>
|
||||
<reportElement x="369" y="0" width="38" height="11" uuid="049ba79a-5ee9-4ee2-80d7-d498ad7d7125"/>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$F{PEDAGIO_VENDIDOS}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="c15ba1bc-2040-4a73-a221-52d574fbedb4" x="407" y="0" width="36" height="11"/>
|
||||
<reportElement x="407" y="0" width="36" height="11" uuid="c15ba1bc-2040-4a73-a221-52d574fbedb4"/>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$F{SEGURO_VENDIDOS}]]></textFieldExpression>
|
||||
</textField>
|
||||
|
@ -442,43 +437,42 @@
|
|||
<lastPageFooter>
|
||||
<band height="11">
|
||||
<textField evaluationTime="Auto" pattern="#,##0.00">
|
||||
<reportElement uuid="1d265368-d216-4cec-a824-a0c0b5536a43" x="443" y="-1" width="37" height="12"/>
|
||||
<reportElement x="443" y="-1" width="37" height="12" uuid="1d265368-d216-4cec-a824-a0c0b5536a43"/>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$V{TOTAL_EMBARQUE_2}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField evaluationTime="Auto" pattern="#,##0.00">
|
||||
<reportElement uuid="adfa3eb3-6ab0-4141-aced-e3d231e4f433" x="480" y="-1" width="37" height="12"/>
|
||||
<reportElement x="480" y="-1" width="37" height="12" uuid="adfa3eb3-6ab0-4141-aced-e3d231e4f433"/>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$V{TOTAL_PEDAGIO_2}]]></textFieldExpression>
|
||||
</textField>
|
||||
<staticText>
|
||||
<reportElement uuid="f7ac3bf7-ac60-405e-b2a3-60c9150421a0" x="0" y="0" width="51" height="11"/>
|
||||
<textElement/>
|
||||
<reportElement x="0" y="0" width="51" height="11" uuid="f7ac3bf7-ac60-405e-b2a3-60c9150421a0"/>
|
||||
<text><![CDATA[Total Geral: ]]></text>
|
||||
</staticText>
|
||||
<line>
|
||||
<reportElement uuid="06fb8df2-dbea-44e7-9e45-21f8aa82f939" x="0" y="10" width="554" height="1" forecolor="#666666"/>
|
||||
<reportElement x="0" y="10" width="554" height="1" forecolor="#666666" uuid="06fb8df2-dbea-44e7-9e45-21f8aa82f939"/>
|
||||
<graphicElement>
|
||||
<pen lineWidth="0.5"/>
|
||||
</graphicElement>
|
||||
</line>
|
||||
<textField evaluationTime="Auto" pattern="#,##0.00">
|
||||
<reportElement uuid="a4f4cff0-6b6e-42f0-9f07-7cbd06f5a545" x="517" y="0" width="37" height="10"/>
|
||||
<reportElement x="517" y="0" width="37" height="10" uuid="a4f4cff0-6b6e-42f0-9f07-7cbd06f5a545"/>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$V{TOTAL_SEGURO_2}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="58961ea4-a59e-4a77-b898-b2df93fc43cb" x="331" y="0" width="38" height="11"/>
|
||||
<reportElement x="331" y="0" width="38" height="11" uuid="58961ea4-a59e-4a77-b898-b2df93fc43cb"/>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$V{EMBARQUE_VENDIDOS_2}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="96bd08a5-5321-4938-8d4b-5260faa9a283" x="369" y="0" width="38" height="11"/>
|
||||
<reportElement x="369" y="0" width="38" height="11" uuid="96bd08a5-5321-4938-8d4b-5260faa9a283"/>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$V{PEDAGIO_VENDIDOS_2}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="c090f6cf-7340-4990-92d0-101fbf056cb7" x="407" y="0" width="36" height="11"/>
|
||||
<reportElement x="407" y="0" width="36" height="11" uuid="c090f6cf-7340-4990-92d0-101fbf056cb7"/>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$V{SEGURO_VENDIDOS_2}]]></textFieldExpression>
|
||||
</textField>
|
||||
|
@ -487,7 +481,7 @@
|
|||
<noData>
|
||||
<band height="39">
|
||||
<textField>
|
||||
<reportElement uuid="a640c0eb-ead8-4a2a-bda4-675165e8bc7d" x="148" y="8" width="530" height="20"/>
|
||||
<reportElement x="148" y="8" width="530" height="20" uuid="a640c0eb-ead8-4a2a-bda4-675165e8bc7d"/>
|
||||
<textElement markup="none">
|
||||
<font size="11" isBold="true"/>
|
||||
</textElement>
|
||||
|
|
Binary file not shown.
|
@ -0,0 +1,364 @@
|
|||
<?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="RelatorioVendasBilheteiro" pageWidth="842" pageHeight="595" orientation="Landscape" columnWidth="802" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="b92fb063-a827-4619-8a69-5c78e3afbb8c">
|
||||
<property name="ireport.zoom" value="2.0"/>
|
||||
<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="NOME_RELATORIO" class="java.lang.String"/>
|
||||
<parameter name="FILTROS" class="java.lang.String"/>
|
||||
<parameter name="USUARIO" class="java.lang.String"/>
|
||||
<parameter name="NUMPUNTOVENTA" class="java.lang.String"/>
|
||||
<parameter name="EMPRESA_ID" class="java.lang.Integer"/>
|
||||
<parameter name="EMPRESA" class="java.lang.String"/>
|
||||
<field name="CODIGO_AGENCIA" class="java.lang.String"/>
|
||||
<field name="NOME_AGENCIA" class="java.lang.String"/>
|
||||
<field name="CODIGO_BILHETEIRO" class="java.lang.String"/>
|
||||
<field name="NOME_BILHETEIRO" class="java.lang.String"/>
|
||||
<field name="NUMERO_PASSAGEM" class="java.math.BigDecimal"/>
|
||||
<field name="ORIGEM" class="java.lang.String"/>
|
||||
<field name="DESTINO" class="java.lang.String"/>
|
||||
<field name="TIPO_BILHETE" class="java.lang.String"/>
|
||||
<field name="STATUS_PASSAGEM" class="java.lang.String"/>
|
||||
<field name="DATA_VIAGEM" class="java.util.Date"/>
|
||||
<field name="SERVICO" class="java.math.BigDecimal"/>
|
||||
<field name="PEDAGIO" class="java.math.BigDecimal"/>
|
||||
<field name="TX_EMBARQUE" class="java.math.BigDecimal"/>
|
||||
<field name="TARIFA" class="java.math.BigDecimal"/>
|
||||
<field name="TOTAL_BILHETE" class="java.math.BigDecimal"/>
|
||||
<background>
|
||||
<band splitType="Stretch"/>
|
||||
</background>
|
||||
<pageHeader>
|
||||
<band height="53" splitType="Stretch">
|
||||
<textField pattern="dd/MM/yyyy" isBlankWhenNull="false">
|
||||
<reportElement mode="Transparent" x="43" y="14" width="51" height="14" forecolor="#000000" backcolor="#FFFFFF" uuid="42796e20-405c-441f-9fd9-b26238bc7cdb"/>
|
||||
<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="" isBlankWhenNull="false">
|
||||
<reportElement mode="Transparent" x="0" y="0" width="257" height="15" forecolor="#000000" backcolor="#FFFFFF" uuid="d2973779-79dc-4cc8-937a-e9167c42bab0"/>
|
||||
<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="dd/MM/yyyy" isBlankWhenNull="false">
|
||||
<reportElement mode="Transparent" x="102" y="14" width="51" height="14" forecolor="#000000" backcolor="#FFFFFF" uuid="8730e85b-d436-42cd-beb6-1a881bad2478"/>
|
||||
<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="0" y="14" width="44" height="14" forecolor="#000000" backcolor="#FFFFFF" uuid="26bbd310-5e59-4975-a47f-b0048e80b1b6"/>
|
||||
<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>
|
||||
<reportElement x="44" y="39" width="786" height="14" uuid="c486add3-94d7-419f-9f37-04f6a6da879e"/>
|
||||
<textElement verticalAlignment="Middle">
|
||||
<font size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$P{FILTROS}]]></textFieldExpression>
|
||||
</textField>
|
||||
<line>
|
||||
<reportElement x="0" y="39" width="801" height="1" uuid="a179c478-4014-4b4a-abf0-4655e7588bf7"/>
|
||||
</line>
|
||||
<textField pattern="" isBlankWhenNull="false">
|
||||
<reportElement mode="Transparent" x="0" y="39" width="45" height="14" forecolor="#000000" backcolor="#FFFFFF" uuid="9630a784-5f92-4abe-805c-fd175e4f8241"/>
|
||||
<textElement textAlignment="Left" verticalAlignment="Middle" 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 pattern="dd/MM/yyyy HH:mm" isBlankWhenNull="false">
|
||||
<reportElement mode="Transparent" x="712" y="1" width="89" height="15" forecolor="#000000" backcolor="#FFFFFF" uuid="91cded42-c53d-469a-abc7-6eb0d59f69af"/>
|
||||
<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>
|
||||
<textField pattern="" isBlankWhenNull="false">
|
||||
<reportElement mode="Transparent" x="682" y="29" width="119" height="12" forecolor="#000000" backcolor="#FFFFFF" uuid="62f6ba6e-1aaf-4449-aef6-2e9d6e541856"/>
|
||||
<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 evaluationTime="Report" pattern="" isBlankWhenNull="false">
|
||||
<reportElement mode="Transparent" x="786" y="15" width="15" height="15" forecolor="#000000" backcolor="#FFFFFF" uuid="985f839c-258a-47eb-b72b-bec819b7bdbb"/>
|
||||
<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>
|
||||
<textField pattern="" isBlankWhenNull="false">
|
||||
<reportElement mode="Transparent" x="682" y="15" width="105" height="15" forecolor="#000000" backcolor="#FFFFFF" uuid="ba831a24-59f4-4f8f-888f-fd69711018e9"/>
|
||||
<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>
|
||||
<reportElement x="633" y="1" width="80" height="15" uuid="5cbb57ef-bd5e-4d1b-a077-d0ff398df801"/>
|
||||
<textElement textAlignment="Right">
|
||||
<font size="9" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{cabecalho.dataHora}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="" isBlankWhenNull="false">
|
||||
<reportElement mode="Transparent" x="93" y="14" width="10" height="14" forecolor="#000000" backcolor="#FFFFFF" uuid="6d6ab075-006c-4796-98d5-f047ae963876"/>
|
||||
<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>
|
||||
</band>
|
||||
</pageHeader>
|
||||
<columnHeader>
|
||||
<band height="14" splitType="Stretch">
|
||||
<staticText>
|
||||
<reportElement x="105" y="0" width="49" height="11" uuid="9fc7e58e-8625-41c4-a8ee-6454f6382d46"/>
|
||||
<textElement textAlignment="Left">
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Cód. Bilheteiro]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement x="0" y="0" width="45" height="11" uuid="3766fa33-6281-4576-a9d1-3b984e1976d3"/>
|
||||
<textElement textAlignment="Left">
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Cód. Agência]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement x="153" y="0" width="53" height="11" uuid="7e1f6b82-8a1f-4719-b942-41f0d7027aa8"/>
|
||||
<textElement textAlignment="Left">
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Nome Bilheteiro]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement mode="Transparent" x="205" y="0" width="63" height="11" forecolor="#000000" backcolor="#FFFFFF" uuid="6adaca80-9b5a-4a03-a80b-5eeed4894d7f"/>
|
||||
<textElement textAlignment="Left" 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>
|
||||
<text><![CDATA[Número Passagem]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement mode="Transparent" x="521" y="0" width="35" height="11" forecolor="#000000" backcolor="#FFFFFF" uuid="95367884-2b52-4bbd-b716-852ff13290e9"/>
|
||||
<textElement textAlignment="Left" 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>
|
||||
<text><![CDATA[Pedágio]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement mode="Transparent" x="347" y="0" width="83" height="11" forecolor="#000000" backcolor="#FFFFFF" uuid="a39ab8f3-becb-44e3-b4f5-b7c43889508c"/>
|
||||
<textElement textAlignment="Left" 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>
|
||||
<text><![CDATA[Destino]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement mode="Transparent" x="555" y="0" width="34" height="11" forecolor="#000000" backcolor="#FFFFFF" uuid="170230ea-2a12-4444-9f13-c706d557ae8d"/>
|
||||
<textElement textAlignment="Left" 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>
|
||||
<text><![CDATA[Tarifa]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement x="44" y="0" width="62" height="11" uuid="8a5e97db-9b05-4fa5-9663-7795869b6b90"/>
|
||||
<textElement textAlignment="Left">
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Descrição Agência]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement mode="Transparent" x="267" y="0" width="80" height="11" forecolor="#000000" backcolor="#FFFFFF" uuid="c0542d93-dde4-448d-932c-453d6a4a6882"/>
|
||||
<textElement textAlignment="Left" 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>
|
||||
<text><![CDATA[Origem]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement mode="Transparent" x="477" y="0" width="45" height="11" forecolor="#000000" backcolor="#FFFFFF" uuid="9c65b631-065c-49af-ab2c-3bcea583eaea"/>
|
||||
<textElement textAlignment="Left" 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>
|
||||
<text><![CDATA[T. Embarque]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement mode="Transparent" x="429" y="0" width="49" height="11" forecolor="#000000" backcolor="#FFFFFF" uuid="a7f96097-c8fd-4ba0-bea7-7b40a0fc81f7"/>
|
||||
<textElement textAlignment="Left" 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>
|
||||
<text><![CDATA[Tipo do Bilhete]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement mode="Transparent" x="588" y="0" width="56" height="11" forecolor="#000000" backcolor="#FFFFFF" uuid="0452264c-0f27-46d6-84ad-0fba6e5abdfa"/>
|
||||
<textElement textAlignment="Left" 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>
|
||||
<text><![CDATA[Total Bilhetes]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement mode="Transparent" x="643" y="0" width="71" height="11" forecolor="#000000" backcolor="#FFFFFF" uuid="f596b16a-f9d9-42f5-b86f-3f468b0deb8f"/>
|
||||
<textElement textAlignment="Left" 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>
|
||||
<text><![CDATA[Status da Passagem]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement mode="Transparent" x="713" y="0" width="34" height="11" forecolor="#000000" backcolor="#FFFFFF" uuid="73e29f93-98a9-4411-8f89-220426f2cb6d"/>
|
||||
<textElement textAlignment="Left" 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>
|
||||
<text><![CDATA[Serviço]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement mode="Transparent" x="746" y="0" width="56" height="11" forecolor="#000000" backcolor="#FFFFFF" uuid="f00ced65-e4ea-4332-87d4-0674493f0f87"/>
|
||||
<textElement textAlignment="Left" 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>
|
||||
<text><![CDATA[Data Viagem]]></text>
|
||||
</staticText>
|
||||
</band>
|
||||
</columnHeader>
|
||||
<detail>
|
||||
<band height="15" splitType="Stretch">
|
||||
<textField>
|
||||
<reportElement x="0" y="0" width="45" height="11" uuid="bc091860-adab-47d8-8352-982bc8e484a3"/>
|
||||
<textElement textAlignment="Left"/>
|
||||
<textFieldExpression><![CDATA[$F{CODIGO_AGENCIA}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="44" y="0" width="62" height="11" uuid="e3a43e5d-2326-47c4-9d47-8c4d69d18d99"/>
|
||||
<textElement textAlignment="Left"/>
|
||||
<textFieldExpression><![CDATA[$F{NOME_AGENCIA}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="105" y="0" width="49" height="11" uuid="82c36c16-1662-4af9-a285-c935ab350e79"/>
|
||||
<textElement textAlignment="Left"/>
|
||||
<textFieldExpression><![CDATA[$F{CODIGO_BILHETEIRO}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="153" y="0" width="53" height="11" uuid="ef45dd24-19e8-4e92-9759-f8e7a5c990eb"/>
|
||||
<textElement textAlignment="Left"/>
|
||||
<textFieldExpression><![CDATA[$F{NOME_BILHETEIRO}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="205" y="0" width="63" height="11" uuid="4cd8a33f-6aaa-47cb-949e-38c6b74d3d39"/>
|
||||
<textElement textAlignment="Left"/>
|
||||
<textFieldExpression><![CDATA[$F{NUMERO_PASSAGEM}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="267" y="0" width="80" height="11" uuid="17011486-0d4c-4e22-b534-48e0bb025673"/>
|
||||
<textElement textAlignment="Left"/>
|
||||
<textFieldExpression><![CDATA[$F{ORIGEM}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="347" y="0" width="82" height="11" uuid="a89c84e4-0e13-4e85-a565-9eb0bc6e5423"/>
|
||||
<textElement textAlignment="Left"/>
|
||||
<textFieldExpression><![CDATA[$F{DESTINO}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="429" y="0" width="49" height="11" uuid="7be97f5f-b36b-4679-befb-e5f2b4532963"/>
|
||||
<textElement textAlignment="Left"/>
|
||||
<textFieldExpression><![CDATA[$F{TIPO_BILHETE}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="¤ #,##0.00">
|
||||
<reportElement x="477" y="0" width="45" height="11" uuid="7c1e2d86-f9ce-4730-866c-dc6cbdd0cf2c"/>
|
||||
<textElement textAlignment="Left"/>
|
||||
<textFieldExpression><![CDATA[$F{TX_EMBARQUE}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="¤ #,##0.00">
|
||||
<reportElement x="521" y="0" width="35" height="11" uuid="7c0246f5-739b-440c-a242-915117bd9fd1"/>
|
||||
<textElement textAlignment="Left"/>
|
||||
<textFieldExpression><![CDATA[$F{PEDAGIO}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="¤ #,##0.00">
|
||||
<reportElement x="555" y="0" width="34" height="11" uuid="dd401917-6047-4e1b-9722-31fe8d096594"/>
|
||||
<textElement textAlignment="Left"/>
|
||||
<textFieldExpression><![CDATA[$F{TARIFA}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="¤ #,##0.00">
|
||||
<reportElement x="588" y="0" width="56" height="11" uuid="4dafd61b-ce2b-4690-b029-2a1382113099"/>
|
||||
<textElement textAlignment="Left"/>
|
||||
<textFieldExpression><![CDATA[$F{TOTAL_BILHETE}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="643" y="0" width="71" height="11" uuid="8ad565b3-b12c-4fef-a1c7-836e7415436d"/>
|
||||
<textElement textAlignment="Left"/>
|
||||
<textFieldExpression><![CDATA[$F{STATUS_PASSAGEM}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="713" y="0" width="34" height="11" uuid="b0200cfc-1b6b-4636-9f4b-5fe5d87c2687"/>
|
||||
<textElement textAlignment="Left"/>
|
||||
<textFieldExpression><![CDATA[$F{SERVICO}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="dd/MM/yyyy">
|
||||
<reportElement x="746" y="0" width="56" height="11" uuid="27ec5d64-d949-4b02-a4a7-d6c5db93b3bd"/>
|
||||
<textElement textAlignment="Left"/>
|
||||
<textFieldExpression><![CDATA[$F{DATA_VIAGEM}]]></textFieldExpression>
|
||||
</textField>
|
||||
</band>
|
||||
</detail>
|
||||
<noData>
|
||||
<band height="50">
|
||||
<textField>
|
||||
<reportElement x="109" y="15" width="530" height="20" uuid="995c4c61-6291-4e5f-8d92-b75502a10466"/>
|
||||
<textElement markup="none">
|
||||
<font size="11" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{msg.noData}]]></textFieldExpression>
|
||||
</textField>
|
||||
</band>
|
||||
</noData>
|
||||
</jasperReport>
|
|
@ -0,0 +1,30 @@
|
|||
/**
|
||||
*
|
||||
*/
|
||||
package com.rjconsultores.ventaboletos.relatorios.utilitarios;
|
||||
|
||||
/**
|
||||
* @author Thiago
|
||||
*
|
||||
*/
|
||||
public enum IndStatusBoleto {
|
||||
V("VENDIDO"),
|
||||
C("CANCELADO"),
|
||||
T("TRANSFERIDO"),
|
||||
E("ENTREGUE"),
|
||||
S("RESERVADO"),
|
||||
X("EXTRAVIADO"),
|
||||
R("REIMPRESSO"),
|
||||
M("MARCADO");
|
||||
|
||||
private String value;
|
||||
|
||||
private IndStatusBoleto(String value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
public String getValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,207 @@
|
|||
/**
|
||||
*
|
||||
*/
|
||||
package com.rjconsultores.ventaboletos.web.gui.controladores.relatorios;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import javax.sql.DataSource;
|
||||
|
||||
import org.apache.log4j.Logger;
|
||||
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.zhtml.Messagebox;
|
||||
import org.zkoss.zk.ui.Component;
|
||||
import org.zkoss.zk.ui.event.Event;
|
||||
import org.zkoss.zul.Bandbox;
|
||||
import org.zkoss.zul.Comboitem;
|
||||
import org.zkoss.zul.Datebox;
|
||||
import org.zkoss.zul.Paging;
|
||||
|
||||
import com.rjconsultores.ventaboletos.entidad.Empresa;
|
||||
import com.rjconsultores.ventaboletos.entidad.PuntoVenta;
|
||||
import com.rjconsultores.ventaboletos.relatorios.impl.RelatorioVendasBilheteiro;
|
||||
import com.rjconsultores.ventaboletos.relatorios.utilitarios.Relatorio;
|
||||
import com.rjconsultores.ventaboletos.service.EmpresaService;
|
||||
import com.rjconsultores.ventaboletos.utilerias.UsuarioLogado;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.MyGenericForwardComposer;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.MyListbox;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.MyTextbox;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.paginacion.HibernateSearchObject;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.paginacion.PagedListWrapper;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.render.RenderRelatorioVendasBilheteiro;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.render.RenderRelatorioVendasBilheteiroSelecionados;
|
||||
|
||||
/**
|
||||
* @author Thiago
|
||||
*
|
||||
*/
|
||||
@Controller("relatorioVendasBilheteiroController")
|
||||
@Scope("prototype")
|
||||
public class RelatorioVendasBilheteiroController extends MyGenericForwardComposer {
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
private static Logger log = Logger.getLogger(RelatorioVendasBilheteiroController.class);
|
||||
|
||||
@Autowired
|
||||
private DataSource dataSource;
|
||||
|
||||
@Autowired
|
||||
private EmpresaService empresaService;
|
||||
|
||||
private Datebox datInicial;
|
||||
private Datebox datFinal;
|
||||
|
||||
private MyComboboxEstandar cmbEmpresa;
|
||||
private List<Empresa> lsEmpresa;
|
||||
|
||||
@Autowired
|
||||
private transient PagedListWrapper<PuntoVenta> plwPuntoVenta;
|
||||
|
||||
private MyTextbox txtNombrePuntoVenta;
|
||||
private Bandbox bbPesquisaPuntoVenta;
|
||||
private MyListbox puntoVentaList;
|
||||
private MyListbox puntoVentaSelList;
|
||||
private Paging pagingPuntoVenta;
|
||||
|
||||
private MyTextbox txtBilheteiro;
|
||||
|
||||
@Override
|
||||
public void doAfterCompose(Component comp) throws Exception {
|
||||
lsEmpresa = empresaService.obtenerTodos();
|
||||
super.doAfterCompose(comp);
|
||||
|
||||
puntoVentaList.setItemRenderer(new RenderRelatorioVendasBilheteiro());
|
||||
puntoVentaSelList.setItemRenderer(new RenderRelatorioVendasBilheteiroSelecionados());
|
||||
|
||||
}
|
||||
|
||||
public List<Empresa> getLsEmpresa() {
|
||||
return lsEmpresa;
|
||||
}
|
||||
|
||||
public void setLsEmpresa(List<Empresa> lsEmpresa) {
|
||||
this.lsEmpresa = lsEmpresa;
|
||||
}
|
||||
|
||||
private void executarPesquisa() {
|
||||
HibernateSearchObject<PuntoVenta> puntoVentaBusqueda =
|
||||
new HibernateSearchObject<PuntoVenta>(PuntoVenta.class, pagingPuntoVenta.getPageSize());
|
||||
|
||||
puntoVentaBusqueda.addFilterILike("nombpuntoventa", "%" + txtNombrePuntoVenta.getValue() + "%");
|
||||
puntoVentaBusqueda.addFilterEqual("activo", Boolean.TRUE);
|
||||
|
||||
puntoVentaBusqueda.addSortAsc("nombpuntoventa");
|
||||
|
||||
puntoVentaBusqueda.addFilterEqual("activo", Boolean.TRUE);
|
||||
|
||||
plwPuntoVenta.init(puntoVentaBusqueda, puntoVentaList, pagingPuntoVenta);
|
||||
|
||||
if (puntoVentaList.getData().length == 0) {
|
||||
try {
|
||||
Messagebox.show(Labels.getLabel("MSG.ningunRegistro"),
|
||||
Labels.getLabel("relatorioVendasBilheteiroController.window.title"),
|
||||
Messagebox.OK, Messagebox.INFORMATION);
|
||||
} catch (InterruptedException ex) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void onClick$btnPesquisa(Event ev) {
|
||||
executarPesquisa();
|
||||
}
|
||||
|
||||
public void onDoubleClick$puntoVentaSelList(Event ev) {
|
||||
PuntoVenta puntoVenta = (PuntoVenta) puntoVentaSelList.getSelected();
|
||||
puntoVentaSelList.removeItem(puntoVenta);
|
||||
}
|
||||
|
||||
public void onDoubleClick$puntoVentaList(Event ev) {
|
||||
PuntoVenta puntoVenta = (PuntoVenta) puntoVentaList.getSelected();
|
||||
puntoVentaSelList.addItemNovo(puntoVenta);
|
||||
}
|
||||
|
||||
public void onClick$btnLimpar(Event ev) {
|
||||
puntoVentaList.setData(new ArrayList<PuntoVenta>());
|
||||
|
||||
bbPesquisaPuntoVenta.setText("");
|
||||
}
|
||||
|
||||
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();
|
||||
|
||||
filtro.append("Agência: ");
|
||||
String puntoVentaIds = "";
|
||||
String puntoVentas = "";
|
||||
List<PuntoVenta> lsPuntoVentaSelecionados = new ArrayList(Arrays.asList(puntoVentaSelList.getData()));
|
||||
if (lsPuntoVentaSelecionados.isEmpty()) {
|
||||
puntoVentas = "Todas";
|
||||
} else {
|
||||
for (int i = 0; i < lsPuntoVentaSelecionados.size(); i++) {
|
||||
PuntoVenta puntoVenta = lsPuntoVentaSelecionados.get(i);
|
||||
puntoVentas = puntoVentas + puntoVenta.getNombpuntoventa() + ",";
|
||||
|
||||
puntoVentaIds = puntoVentaIds + puntoVenta.getPuntoventaId() + ",";
|
||||
}
|
||||
|
||||
// removendo ultima virgula
|
||||
puntoVentaIds = puntoVentaIds.substring(0, puntoVentaIds.length() - 1);
|
||||
puntoVentas = puntoVentas.substring(0, puntoVentas.length() - 1);
|
||||
parametros.put("NUMPUNTOVENTA", puntoVentaIds);
|
||||
}
|
||||
filtro.append(puntoVentas).append(";");
|
||||
|
||||
parametros.put("DATA_INICIAL", (java.util.Date) this.datInicial.getValue());
|
||||
parametros.put("DATA_FINAL", (java.util.Date) this.datFinal.getValue());
|
||||
parametros.put("NOME_RELATORIO", Labels.getLabel("relatorioVendasBilheteiroController.window.title"));
|
||||
parametros.put("USUARIO", UsuarioLogado.getUsuarioLogado().getUsuarioId().toString());
|
||||
|
||||
filtro.append(" Empresa: ");
|
||||
|
||||
Comboitem itemEmpresa = cmbEmpresa.getSelectedItem();
|
||||
if (itemEmpresa != null) {
|
||||
Empresa empresa = (Empresa) itemEmpresa.getValue();
|
||||
parametros.put("EMPRESA_ID", empresa.getEmpresaId());
|
||||
parametros.put("EMPRESA", empresa.getNombempresa());
|
||||
filtro.append(empresa.getNombempresa() + ";");
|
||||
} else {
|
||||
filtro.append(" Todas;");
|
||||
}
|
||||
filtro.append(" Bilheteiro: ");
|
||||
if (txtBilheteiro.getValue() != null && !txtBilheteiro.getValue().equals("")) {
|
||||
parametros.put("BILHETEIRO", txtBilheteiro.getValue());
|
||||
} else {
|
||||
filtro.append("Todos;");
|
||||
}
|
||||
|
||||
parametros.put("FILTROS", filtro.toString());
|
||||
relatorio = new RelatorioVendasBilheteiro(parametros, dataSource.getConnection());
|
||||
|
||||
Map args = new HashMap();
|
||||
args.put("relatorio", relatorio);
|
||||
|
||||
openWindow("/component/reportView.zul",
|
||||
Labels.getLabel("relatorioVendasBilheteiroController.window.title"), args, MODAL);
|
||||
}
|
||||
}
|
|
@ -0,0 +1,32 @@
|
|||
/**
|
||||
*
|
||||
*/
|
||||
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;
|
||||
|
||||
/**
|
||||
* @author Thiago
|
||||
*
|
||||
*/
|
||||
public class ItemMenuRelatorioVendasBilheteiro extends DefaultItemMenuSistema {
|
||||
|
||||
public ItemMenuRelatorioVendasBilheteiro() {
|
||||
super("indexController.mniRelatorioVendasBilheteiro.label");
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getClaveMenu() {
|
||||
return "COM.RJCONSULTORES.ADMINISTRACION.GUI.RELATORIOS.MENU.RELATORIOVENDASBILHETEIRO";
|
||||
}
|
||||
|
||||
@Override
|
||||
public void ejecutar() {
|
||||
PantallaUtileria.openWindow("/gui/relatorios/filtroRelatorioVendasBilheteiro.zul",
|
||||
Labels.getLabel("relatorioVendasBilheteiroController.window.title"), getArgs() ,desktop);
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,40 @@
|
|||
/**
|
||||
*
|
||||
*/
|
||||
package com.rjconsultores.ventaboletos.web.utilerias.render;
|
||||
|
||||
import org.zkoss.zul.Listcell;
|
||||
import org.zkoss.zul.Listitem;
|
||||
import org.zkoss.zul.ListitemRenderer;
|
||||
|
||||
import com.rjconsultores.ventaboletos.entidad.Empresa;
|
||||
import com.rjconsultores.ventaboletos.entidad.PuntoVenta;
|
||||
|
||||
/**
|
||||
* @author Thiago
|
||||
*
|
||||
*/
|
||||
public class RenderRelatorioVendasBilheteiro implements ListitemRenderer {
|
||||
|
||||
@Override
|
||||
public void render(Listitem lstm, Object o) throws Exception {
|
||||
PuntoVenta puntoVenta = (PuntoVenta) o;
|
||||
|
||||
Listcell lc = new Listcell(puntoVenta.getNombpuntoventa());
|
||||
lc.setParent(lstm);
|
||||
|
||||
Empresa empresa = puntoVenta.getEmpresa();
|
||||
if (empresa != null) {
|
||||
lc = new Listcell(empresa.getNombempresa());
|
||||
} else {
|
||||
lc = new Listcell("");
|
||||
}
|
||||
lc.setParent(lstm);
|
||||
|
||||
lc = new Listcell(puntoVenta.getNumPuntoVenta());
|
||||
lc.setParent(lstm);
|
||||
|
||||
lstm.setAttribute("data", puntoVenta);
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,61 @@
|
|||
/**
|
||||
*
|
||||
*/
|
||||
package com.rjconsultores.ventaboletos.web.utilerias.render;
|
||||
|
||||
import org.zkoss.zk.ui.event.Event;
|
||||
import org.zkoss.zk.ui.event.EventListener;
|
||||
import org.zkoss.zul.Button;
|
||||
import org.zkoss.zul.Listcell;
|
||||
import org.zkoss.zul.Listitem;
|
||||
import org.zkoss.zul.ListitemRenderer;
|
||||
|
||||
import com.rjconsultores.ventaboletos.entidad.Empresa;
|
||||
import com.rjconsultores.ventaboletos.entidad.PuntoVenta;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.MyListbox;
|
||||
|
||||
/**
|
||||
* @author Thiago
|
||||
*
|
||||
*/
|
||||
public class RenderRelatorioVendasBilheteiroSelecionados implements ListitemRenderer {
|
||||
|
||||
|
||||
public void render(Listitem lstm, Object o) throws Exception {
|
||||
PuntoVenta puntoVenta = (PuntoVenta) o;
|
||||
|
||||
Listcell lc = new Listcell(puntoVenta.getNombpuntoventa());
|
||||
lc.setParent(lstm);
|
||||
|
||||
Empresa empresa = puntoVenta.getEmpresa();
|
||||
if (empresa != null) {
|
||||
lc = new Listcell(empresa.getNombempresa());
|
||||
} else {
|
||||
lc = new Listcell("");
|
||||
}
|
||||
lc.setParent(lstm);
|
||||
|
||||
lc = new Listcell(puntoVenta.getNumPuntoVenta());
|
||||
lc.setParent(lstm);
|
||||
|
||||
Button btn = new Button();
|
||||
lc = new Listcell();
|
||||
lc.setParent(lstm);
|
||||
|
||||
btn.setWidth("16");
|
||||
btn.setHeight("16");
|
||||
btn.setImage("/gui/img/remove.png");
|
||||
|
||||
btn.addEventListener("onClick", new EventListener() {
|
||||
@Override
|
||||
public void onEvent(Event event) throws Exception {
|
||||
MyListbox listBox = (MyListbox) event.getTarget().getParent().getParent().getParent();
|
||||
Listitem listItem = (Listitem) event.getTarget().getParent().getParent();
|
||||
listBox.removeItem((PuntoVenta) listItem.getAttribute("data"));
|
||||
}
|
||||
});
|
||||
lc.appendChild(btn);
|
||||
|
||||
lstm.setAttribute("data", puntoVenta);
|
||||
}
|
||||
}
|
|
@ -232,6 +232,7 @@ indexController.mniRelatorioEmpresaCorrida.label = Reporte de la empresa corrida
|
|||
indexController.mniRelatorioEmpresaOnibus.label = Reporte de la empresa autobús
|
||||
indexController.mniRelatorioOCD.label = Reporte OCD por la empresa
|
||||
indexController.mniRelatorioGratuidade.label = Reporte Gratuidade
|
||||
indexController.mniRelatorioVendasBilheteiro.label = Reporte de Ventas por Agente de Billetes
|
||||
indexController.mniFechamentoParamgeral.label = Fechamento Conta Corrente
|
||||
indexController.mniFechamentoParamptovta.label = Fechamento Conta Corrente Agência
|
||||
indexController.mniRelatorioCorridas.label = Reporte de Corridas
|
||||
|
@ -429,6 +430,9 @@ relatorioSisdapController.MSG.nenhumRegistro=No se encontró ningún registro
|
|||
|
||||
filtroRelatorioSisdap.window.title=Relatório SISDAP
|
||||
|
||||
#Reporte de ventas por agente de boletos
|
||||
relatorioVendasBilheteiroController.window.title = Reporte de ventas por agente de boletos
|
||||
|
||||
# Pantalla Editar clase
|
||||
editarClaseServicioController.window.title = Clase de servicio
|
||||
editarClaseServicioController.btnApagar.tooltiptext = Eliminar
|
||||
|
@ -5070,12 +5074,3 @@ editarFechamentoParamptovtaController.window.title = Cierre cuenta contable - Ed
|
|||
editarFechamentoParamptovtaController.MSG.suscribirOK = Cierre cuenta contable agencia se guardó exitosamente.
|
||||
editarFechamentoParamptovtaController.MSG.borrarPergunta = Eliminar el cierre cuenta contable agencia?
|
||||
editarFechamentoParamptovtaController.MSG.borrarOK = Cierre cuenta corrente agencia se eliminó exitosamente.
|
||||
|
||||
|
||||
# Relatorio Gratuidade
|
||||
relatorioGratuidadeController.window.title=Reporte Gratuidade
|
||||
relatorioGratuidadeController.lbEmpresa.value=Empresa
|
||||
relatorioGratuidadeController.lbAgencia.value=Agencia
|
||||
relatorioGratuidadeController.lbLinhas.value=Linha
|
||||
relatorioGratuidadeController.lbDataIni.value=Fecha Inicio
|
||||
relatorioGratuidadeController.lbDataFin.value=Fecha Final
|
||||
|
|
|
@ -236,9 +236,11 @@ indexController.mniRelatorioEmpresaCorrida.label = Relatório por Empresa Corrid
|
|||
indexController.mniRelatorioEmpresaOnibus.label = Relatório por Empresa Ônibus
|
||||
indexController.mniRelatorioOCD.label = Relatório OCD por Empresa
|
||||
indexController.mniRelatorioGratuidade.label = Relatório Gratuidade
|
||||
indexController.mniRelatorioVendasBilheteiro.label = Relatório de Vendas por Bilheteiro
|
||||
indexController.mniFechamentoParamgeral.label = Fechamento Conta Corrente
|
||||
indexController.mniFechamentoParamptovta.label = Fechamento Conta Corrente Agência
|
||||
indexController.mniRelatorioCorridas.label = Relatório de Serviços
|
||||
indexController.mniRelatorioCorridas.label = Relatório de Serviços
|
||||
|
||||
#PARTE REALIZADA POR MANUEL
|
||||
indexController.mnCortesias.label = Cortesias Para Funcionários
|
||||
|
@ -331,7 +333,6 @@ relatorioOCDController.lbDataIni.value=Data Inicial
|
|||
relatorioOCDController.lbDataFin.value=Data Final
|
||||
|
||||
#Relatorio Linhas Horario
|
||||
relatorioLinhasHorarioController.window.title = Relatório de Linhas por Horário
|
||||
relatorioLinhasHorarioController.lbDataIni.value = Data Inicial
|
||||
relatorioLinhasHorarioController.lbDataFin.value = Data Final
|
||||
relatorioLinhasHorarioController.lbEmpresa.label = Empresa
|
||||
|
@ -339,6 +340,7 @@ relatorioLinhasHorarioController.lbGrupoRuta.label = Grupo de Linhas
|
|||
relatorioLinhasHorarioController.lbLote.label = Lote
|
||||
relatorioLinhasHorarioController.lbLinha.label = Linha
|
||||
relatorioLinhasHorarioController.lbServico.label = Servico
|
||||
relatorioVendasBilheteiroController.window.title = Relatório de Vendas por Bilheteiro
|
||||
|
||||
relatorioLinhasHorarioController.lbNumRuta.label = Num. Linha
|
||||
relatorioLinhasHorarioController.lbPrefixo.label = Prefixo
|
||||
|
@ -458,6 +460,9 @@ relatorioSisdapController.MSG.nenhumRegistro=Nenhum registro encontrado para o r
|
|||
|
||||
filtroRelatorioSisdap.window.title=Relatório SISDAP
|
||||
|
||||
#Relatório de Vendas por bilheteiro
|
||||
relatorioLinhasHorarioController.window.title = Relatório de Linhas por Horário
|
||||
|
||||
# Pantalla Editar Classe
|
||||
editarClaseServicioController.window.title = Tipo de Classe
|
||||
editarClaseServicioController.btnApagar.tooltiptext = Eliminar
|
||||
|
@ -5138,11 +5143,6 @@ editarFechamentoParamgeralController.MSG.suscribirOK = Fechamento Conta Corrente
|
|||
editarFechamentoParamgeralController.MSG.borrarPergunta = Eliminar o Fechamento Conta Corrente?
|
||||
editarFechamentoParamgeralController.MSG.borrarOK = Fechamento Conta Corrente excluido com Sucesso.
|
||||
|
||||
# Relatorio Gratuidade
|
||||
relatorioGratuidadeController.window.title=Relatório Gratuidade
|
||||
relatorioGratuidadeController.lbEmpresa.value=Empresa
|
||||
relatorioGratuidadeController.lbAgencia.value=Agência
|
||||
relatorioGratuidadeController.lbLinhas.value=Linha
|
||||
relatorioGratuidadeController.lbDataIni.value=Data Inicio
|
||||
relatorioGratuidadeController.lbDataFin.value=Data Final
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -0,0 +1,126 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<?page contentType="text/html;charset=UTF-8"?>
|
||||
<?variable-resolver class="org.zkoss.zkplus.spring.DelegatingVariableResolver"?>
|
||||
<?init class="org.zkoss.zkplus.databind.AnnotateDataBinderInit" arg0="winFiltroRelatorioVendasBilheteiro"?>
|
||||
<?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c"?>
|
||||
<zk xmlns="http://www.zkoss.org/2005/zul">
|
||||
<window id="winFiltroRelatorioVendasBilheteiro"
|
||||
apply="${relatorioVendasBilheteiroController}"
|
||||
contentStyle="overflow:auto" height="320px" width="550px"
|
||||
border="normal">
|
||||
|
||||
<grid fixedLayout="true">
|
||||
<columns>
|
||||
<column width="20%"/>
|
||||
<column width="30%"/>
|
||||
<column width="20%"/>
|
||||
<column width="30%"/>
|
||||
</columns>
|
||||
<rows>
|
||||
<row>
|
||||
<label
|
||||
value="Data Inicio" />
|
||||
<datebox id="datInicial" width="90%"
|
||||
format="dd/MM/yyyy" lenient="true" constraint="no empty"
|
||||
maxlength="10" />
|
||||
<label
|
||||
value="Data Fim" />
|
||||
<datebox id="datFinal" width="90%"
|
||||
format="dd/MM/yyyy" lenient="true" constraint="no empty"
|
||||
maxlength="10" />
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
<grid fixedLayout="true">
|
||||
<columns>
|
||||
<column width="20%"/>
|
||||
<column width="80%"/>
|
||||
</columns>
|
||||
<rows>
|
||||
<row spans="1,1,2">
|
||||
<label
|
||||
value="Empresas" />
|
||||
<combobox id="cmbEmpresa"
|
||||
buttonVisible="true" constraint="no empty"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
||||
model="@{winFiltroRelatorioVendasBilheteiro$composer.lsEmpresa}"
|
||||
width="95%" />
|
||||
</row>
|
||||
<row spans="1,3">
|
||||
<label
|
||||
value="Agencia" />
|
||||
<bandbox id="bbPesquisaPuntoVenta" width="100%"
|
||||
mold="rounded" readonly="true">
|
||||
<bandpopup>
|
||||
<vbox>
|
||||
<hbox>
|
||||
<label
|
||||
value="Agencia" />
|
||||
<textbox id="txtNombrePuntoVenta"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"
|
||||
width="300px" mold="rounded" />
|
||||
<button id="btnPesquisa"
|
||||
image="/gui/img/find.png"
|
||||
label="${c:l('relatorioLinhaOperacionalController.btnPesquisa.label')}" />
|
||||
<button id="btnLimpar"
|
||||
image="/gui/img/eraser.png"
|
||||
label="${c:l('relatorioLinhaOperacionalController.btnLimpar.label')}" />
|
||||
</hbox>
|
||||
<paging id="pagingPuntoVenta"
|
||||
pageSize="10" />
|
||||
<listbox id="puntoVentaList"
|
||||
mold="paging"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
||||
vflex="true" height="100%" width="700px">
|
||||
<listhead>
|
||||
<listheader
|
||||
label="${c:l('relatorioTaxasLinhaController.lbPuntoVenta.value')}" />
|
||||
<listheader width="35%"
|
||||
label="${c:l('relatorioTaxasLinhaController.lbEmpresa.value')}" />
|
||||
<listheader width="20%"
|
||||
label="${c:l('relatorioTaxasLinhaController.lbNumero.value')}" />
|
||||
</listhead>
|
||||
</listbox>
|
||||
</vbox>
|
||||
</bandpopup>
|
||||
</bandbox>
|
||||
</row>
|
||||
<row spans="4">
|
||||
<listbox id="puntoVentaSelList" mold="paging"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
||||
vflex="true" height="100px" width="100%">
|
||||
<listhead>
|
||||
<listheader
|
||||
label="${c:l('relatorioTaxasLinhaController.lbPuntoVenta.value')}" />
|
||||
<listheader width="35%"
|
||||
label="${c:l('relatorioTaxasLinhaController.lbEmpresa.value')}" />
|
||||
<listheader width="20%"
|
||||
label="${c:l('relatorioTaxasLinhaController.lbNumero.value')}" />
|
||||
<listheader width="5%" />
|
||||
</listhead>
|
||||
</listbox>
|
||||
<paging id="pagingSelPuntoVenta" pageSize="10" />
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
<grid fixedLayout="true">
|
||||
<columns>
|
||||
<column width="20%"/>
|
||||
<column width="80%"/>
|
||||
</columns>
|
||||
<rows>
|
||||
<row>
|
||||
<label value="Bilheteiro"/>
|
||||
<textbox use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"
|
||||
id="txtBilheteiro" mold="rounded" width="95%"/>
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
|
||||
<toolbar>
|
||||
<button id="btnExecutarRelatorio" image="/gui/img/find.png"
|
||||
label="${c:l('relatorio.lb.btnExecutarRelatorio')}" />
|
||||
</toolbar>
|
||||
|
||||
</window>
|
||||
</zk>
|
Loading…
Reference in New Issue