Merge pull request 'Bolivariano - Institucionales ADM: Relatório Movimento do Contrato fixes bug#AL-4318' (!651) from AL-4318 into master
Reviewed-on: adm/VentaBoletosAdm#651 Reviewed-by: Valdir Cordeiro <valdir.cordeiro@totvs.com.br>master 1.122.0
commit
2f93119393
6
pom.xml
6
pom.xml
|
@ -4,12 +4,12 @@
|
|||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>br.com.rjconsultores</groupId>
|
||||
<artifactId>ventaboletosadm</artifactId>
|
||||
<version>1.121.3</version>
|
||||
<version>1.122.0</version>
|
||||
<packaging>war</packaging>
|
||||
|
||||
<properties>
|
||||
<modelWeb.version>1.93.1</modelWeb.version>
|
||||
<flyway.version>1.80.2</flyway.version>
|
||||
<modelWeb.version>1.94.0</modelWeb.version>
|
||||
<flyway.version>1.81.0</flyway.version>
|
||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||
</properties>
|
||||
|
||||
|
|
|
@ -0,0 +1,171 @@
|
|||
package com.rjconsultores.ventaboletos.relatorios.impl;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.sql.Connection;
|
||||
import java.sql.ResultSet;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import com.rjconsultores.ventaboletos.entidad.ContratoCorporativo;
|
||||
import com.rjconsultores.ventaboletos.enums.DataGeracaoLegalizacaoEnum;
|
||||
import com.rjconsultores.ventaboletos.enums.EstadoBilheteConsultarEnum;
|
||||
import com.rjconsultores.ventaboletos.relatorios.utilitarios.DataSource;
|
||||
import com.rjconsultores.ventaboletos.relatorios.utilitarios.Relatorio;
|
||||
import com.rjconsultores.ventaboletos.relatorios.utilitarios.RelatorioDetalheContratoBean;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.NamedParameterStatement;
|
||||
|
||||
import net.sf.jasperreports.engine.data.JRBeanCollectionDataSource;
|
||||
|
||||
public class RelatorioDetalheContrato extends Relatorio {
|
||||
|
||||
private List<RelatorioDetalheContratoBean> lsDadosRelatorio;
|
||||
private BigDecimal valorAdicionado = BigDecimal.ZERO;
|
||||
private BigDecimal executado = BigDecimal.ZERO;
|
||||
|
||||
public RelatorioDetalheContrato(Map<String, Object> parametros, Connection conexao) throws Exception {
|
||||
super(parametros, conexao);
|
||||
|
||||
this.setCustomDataSource(new DataSource(this) {
|
||||
@Override
|
||||
public void initDados() throws Exception {
|
||||
|
||||
Connection conexao = this.relatorio.getConexao();
|
||||
Map<String, Object> parametros = this.relatorio.getParametros();
|
||||
|
||||
Date dataInicial = (Date) parametros.get("DATA_DE");
|
||||
Date dataFinal = (Date) parametros.get("DATA_ATE");
|
||||
DataGeracaoLegalizacaoEnum geracao = (DataGeracaoLegalizacaoEnum) parametros.get("GERACAO");
|
||||
EstadoBilheteConsultarEnum estadoBilhetes = (EstadoBilheteConsultarEnum) parametros.get("ESTADO_BILHETES");
|
||||
String numContrato = parametros.get("NUM_CONTRATO") != null ? parametros.get("NUM_CONTRATO").toString() : null;
|
||||
Boolean saldoContrato = (Boolean) parametros.get("SALDO_CONTRATO");
|
||||
|
||||
NamedParameterStatement nps = new NamedParameterStatement(conexao, getSql(dataInicial, dataFinal, geracao, estadoBilhetes, numContrato));
|
||||
|
||||
if(dataInicial != null && dataFinal != null){
|
||||
nps.setDate("dataInicial", new java.sql.Date(dataInicial.getTime()));
|
||||
nps.setDate("dataFinal", new java.sql.Date(dataFinal.getTime()));
|
||||
}
|
||||
|
||||
if (numContrato != null) {
|
||||
nps.setString("numContrato", numContrato);
|
||||
}
|
||||
|
||||
ResultSet rset = nps.executeQuery();
|
||||
|
||||
List<RelatorioDetalheContratoBean> ls = new ArrayList<RelatorioDetalheContratoBean>();
|
||||
|
||||
while (rset.next()) {
|
||||
|
||||
RelatorioDetalheContratoBean detalhe = new RelatorioDetalheContratoBean();
|
||||
detalhe.setBoleto(rset.getObject("contratoId").toString());
|
||||
detalhe.setDataVenda((Date)rset.getObject("dataVenda"));
|
||||
detalhe.setDestino(rset.getObject("destino").toString());
|
||||
detalhe.setOrigem(rset.getObject("origem").toString());
|
||||
detalhe.setEmpresa(rset.getObject("empresa").toString());
|
||||
detalhe.setEstado(rset.getObject("estado").toString());
|
||||
detalhe.setFatura(rset.getObject("fatura").toString());
|
||||
detalhe.setNomePassageiro(rset.getObject("cliente").toString());
|
||||
detalhe.setNomeUsuario(rset.getObject("usuario").toString());
|
||||
detalhe.setPassageiroCod((Long)rset.getObject("clicod"));
|
||||
detalhe.setPassagem(rset.getObject("passagem").toString());
|
||||
detalhe.setPrecioPagado((BigDecimal)rset.getBigDecimal("valorUnit"));
|
||||
detalhe.setPreco((BigDecimal)rset.getBigDecimal("valorTiquete"));
|
||||
detalhe.setTipoDoc(rset.getObject("tipoDoc").toString());
|
||||
if (detalhe.getTipoDoc().equals("Evento Extra")) {
|
||||
valorAdicionado.add(detalhe.getPrecioPagado());
|
||||
}
|
||||
|
||||
executado.add(detalhe.getPrecioPagado());
|
||||
|
||||
ls.add(detalhe);
|
||||
}
|
||||
|
||||
setLsDadosRelatorio(ls);
|
||||
|
||||
nps = new NamedParameterStatement(conexao, "select numContrato, valor_contrato from contrato_corporativo where numContrato = :numContrato");
|
||||
nps.setString("numContrato", parametros.get("NUMCONTRATO").toString());
|
||||
rset = nps.executeQuery();
|
||||
|
||||
if (rset.next()) {
|
||||
BigDecimal valorContrato = rset.getBigDecimal("valor_contrato");
|
||||
parametros.put("CONTRATO", rset.getString("numContrato"));
|
||||
parametros.put("VALOR_CONTRATO", valorContrato);
|
||||
parametros.put("VALOR_ADICIONADO", valorAdicionado);
|
||||
parametros.put("EXECUTADO", executado);
|
||||
parametros.put("QUOTA_ATUAL", valorContrato.add(valorAdicionado).subtract(executado).abs());
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
private String getSql(Date dataInicial, Date dataFinal, DataGeracaoLegalizacaoEnum geracao,
|
||||
EstadoBilheteConsultarEnum status, String numContrato) {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append("select ");
|
||||
sb.append(" COALESCE(c.numfoliosistema, TO_CHAR(v.voucher_id), TO_CHAR(e.eventoextra_id)) as contratoId, ");
|
||||
sb.append(" COALESCE(c.fechorventa, v.data_inclusao, e.fechoringreso) as dataVenda, ");
|
||||
sb.append(" case ");
|
||||
sb.append(" when c.caja_id is not null then 'Bilhete' ");
|
||||
sb.append(" when v.voucher_id is not null then 'Bono' ");
|
||||
sb.append(" when e.eventoextra_id is not null then 'Evento Extra' ");
|
||||
sb.append(" end as tipoDoc, ");
|
||||
sb.append(" v.num_fatura as fatura, ");
|
||||
sb.append(" v.status as estado, ");
|
||||
sb.append(" porigen.descparada as origem, ");
|
||||
sb.append(" pdestino.descparada as destino, ");
|
||||
sb.append(" 1 as passagem, ");
|
||||
sb.append(" c.preciopagado as valorUnit, ");
|
||||
sb.append(" c.preciobase as valorTiquete, ");
|
||||
sb.append(" t.nome_transportadora as empresa, ");
|
||||
sb.append(" c.cliente_id as clicod, ");
|
||||
sb.append(" cli.nombcliente cliente, ");
|
||||
sb.append(" u.nombusuario as usuario ");
|
||||
sb.append("from caixa_contrato cc ");
|
||||
sb.append("left join caja c on cc.caja_id = c.caja_id ");
|
||||
sb.append("left join voucher v on v.voucher_id = cc.voucher_id ");
|
||||
sb.append("left join transportadora t on t.transportadora_id = v.transportadora_id ");
|
||||
sb.append("left join evento_extra e on e.eventoextra_id = cc.eventoextra_id ");
|
||||
sb.append("join cliente cli on cli.cliente_id = c.cliente_id ");
|
||||
sb.append("join parada porigen on c.origen_id = porigen.parada_id ");
|
||||
sb.append("join parada pdestino on c.destino_id = pdestino.parada_id ");
|
||||
sb.append("join usuario u on u.usuario_id = c.usuario_id ");
|
||||
sb.append("where 1 = 1 ");
|
||||
|
||||
if(dataInicial != null && dataFinal != null){
|
||||
sb.append(" and c.fechorventa between :dataInicial and :dataFinal ");
|
||||
if (geracao == DataGeracaoLegalizacaoEnum.GERACAO) {
|
||||
sb.append(" and v.dataGeracao between :dataInicial and :dataFinal ");
|
||||
} else {
|
||||
sb.append(" and v.dataLegalizacao between :dataInicial and :dataFinal ");
|
||||
}
|
||||
}
|
||||
|
||||
if (status != null) {
|
||||
if (status == EstadoBilheteConsultarEnum.FATURADO) {
|
||||
sb.append(" and v.status = 2 ");
|
||||
} else if (status == EstadoBilheteConsultarEnum.NAO_FATURADO) {
|
||||
sb.append(" and v.status <> 2 ");
|
||||
}
|
||||
}
|
||||
if (numContrato != null) {
|
||||
sb.append(" and c.numfoliosistema = :numContrato or v.voucher_id = :numContrato or e.eventoextra_id = :numContrato ");
|
||||
}
|
||||
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void processaParametros() throws Exception {
|
||||
}
|
||||
|
||||
public List<RelatorioDetalheContratoBean> getLsDadosRelatorio() {
|
||||
return lsDadosRelatorio;
|
||||
}
|
||||
|
||||
public void setLsDadosRelatorio(List<RelatorioDetalheContratoBean> lsDadosRelatorio) {
|
||||
this.setCollectionDataSource(new JRBeanCollectionDataSource(lsDadosRelatorio));
|
||||
this.lsDadosRelatorio = lsDadosRelatorio;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,27 @@
|
|||
#geral
|
||||
msg.noData=Não foi possivel obter dados com os parâmetros informados.
|
||||
|
||||
header.titulo.relatorio=RELATÓRIO DETALHES DO CONTRATO
|
||||
header.empresa=Empresa:
|
||||
header.contrato=Contrato:
|
||||
header.valor.contrato=Valor Contrato:
|
||||
header.valor.adicionado=Valor Adicionado:
|
||||
header.executado=Executado:
|
||||
header.quota.actual=Quota Atual:
|
||||
|
||||
#Labels header
|
||||
label.tiquete=Tiquete
|
||||
label.dataVendae=Data Venda
|
||||
label.tipoDoc=Tipo Doc.
|
||||
label.fatura=Fatura
|
||||
label.estado=Estado
|
||||
label.origem=Origem
|
||||
label.destino=Destino
|
||||
label.passagem=Passagem
|
||||
label.preco=Preço
|
||||
label.precioPagado=Tarifa
|
||||
label.empresa=Empresa
|
||||
label.passageiroCod=Cód. Passageiro
|
||||
label.passageiroNome=Nome Passageiro
|
||||
label.legalizado=Legalizado
|
||||
label.nomeUsuario=Usuário
|
Binary file not shown.
|
@ -0,0 +1,534 @@
|
|||
<?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="RelatorioCorridas" pageWidth="1205" pageHeight="595" orientation="Landscape" whenNoDataType="NoDataSection" columnWidth="1165" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="dc003bfe-c791-4f88-acc6-736e8c97f7e2">
|
||||
<property name="ireport.zoom" value="1.5026296018031564"/>
|
||||
<property name="ireport.x" value="0"/>
|
||||
<property name="ireport.y" value="0"/>
|
||||
<property name="net.sf.jasperreports.export.xls.exclude.origin.band.2" value="title"/>
|
||||
<property name="net.sf.jasperreports.export.xls.exclude.origin.band.3" value="pageHeader"/>
|
||||
<property name="net.sf.jasperreports.export.xls.exclude.origin.keep.first.band.2" value="columnHeader"/>
|
||||
<property name="net.sf.jasperreports.export.xls.remove.empty.space.between.rows" value="true"/>
|
||||
<property name="net.sf.jasperreports.export.xls.remove.empty.space.between.columns" value="true"/>
|
||||
<parameter name="EMPRESA" class="java.lang.String"/>
|
||||
<parameter name="DATA_DE" class="java.sql.Date"/>
|
||||
<parameter name="DATA_ATE" class="java.sql.Date"/>
|
||||
<parameter name="CONTRATO" class="java.lang.Long"/>
|
||||
<parameter name="VALOR_CONTRATO" class="java.math.BigDecimal"/>
|
||||
<parameter name="VALOR_ADICIONADO" class="java.math.BigDecimal"/>
|
||||
<parameter name="EXECUTADO" class="java.math.BigDecimal"/>
|
||||
<parameter name="QUOTA_ATUAL" class="java.lang.Number"/>
|
||||
<field name="boleto" class="java.lang.Long"/>
|
||||
<field name="dataVenda" class="java.util.Date"/>
|
||||
<field name="tipoDoc" class="java.lang.String"/>
|
||||
<field name="fatura" class="java.lang.String"/>
|
||||
<field name="estado" class="java.lang.String"/>
|
||||
<field name="origem" class="java.lang.String"/>
|
||||
<field name="destino" class="java.lang.String"/>
|
||||
<field name="passagem" class="java.lang.String"/>
|
||||
<field name="preco" class="java.math.BigDecimal"/>
|
||||
<field name="precioPagado" class="java.math.BigDecimal"/>
|
||||
<field name="empresa" class="java.lang.String"/>
|
||||
<field name="passageiroCod" class="java.lang.Long"/>
|
||||
<field name="nomePassageiro" class="java.lang.String"/>
|
||||
<field name="legalizado" class="java.lang.Integer"/>
|
||||
<field name="nomeUsuario" class="java.lang.String"/>
|
||||
<background>
|
||||
<band splitType="Stretch"/>
|
||||
</background>
|
||||
<title>
|
||||
<band height="102" splitType="Stretch">
|
||||
<textField>
|
||||
<reportElement uuid="20a767f1-d0d5-4485-9d6c-3c762e97bc70" x="0" y="60" width="141" height="20"/>
|
||||
<textElement markup="none"/>
|
||||
<textFieldExpression><![CDATA[$R{header.valor.contrato}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="96572021-01f9-4d05-938c-11ca5721f81c" x="1015" y="0" width="149" height="20"/>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="e24ed6f5-a072-4bda-b735-ef26b59fa179" x="0" y="80" width="141" height="20"/>
|
||||
<textElement markup="none"/>
|
||||
<textFieldExpression><![CDATA[$R{header.valor.adicionado}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="efc3193a-c42a-4935-95ee-84f086336574" x="302" y="80" width="79" height="20"/>
|
||||
<textElement markup="none"/>
|
||||
<textFieldExpression><![CDATA[$R{header.quota.atual}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="dd/MM/yyyy">
|
||||
<reportElement uuid="110852df-8752-44d8-98ae-534a5cb8d5e2" x="141" y="80" width="161" height="20"/>
|
||||
<textElement/>
|
||||
<textFieldExpression><![CDATA[$P{VALOR_ADICIONADO}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="dd/MM/yyyy">
|
||||
<reportElement uuid="4d410653-2490-49ff-b176-530feaeab535" x="381" y="80" width="463" height="20"/>
|
||||
<textElement/>
|
||||
<textFieldExpression><![CDATA[$P{QUOTA_ATUAL}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="2879d620-3c3b-465f-9459-f94154b9e9c7" x="381" y="40" width="463" height="20"/>
|
||||
<textElement/>
|
||||
<textFieldExpression><![CDATA[$P{EXECUTADO}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="06d06c40-6984-4a32-90e2-48e1d8cdcc9b" x="141" y="60" width="161" height="20"/>
|
||||
<textElement/>
|
||||
<textFieldExpression><![CDATA[$P{VALOR_CONTRATO}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="577578e8-3add-42a2-88c0-df7647b59844" x="0" y="40" width="141" height="20"/>
|
||||
<textElement markup="none"/>
|
||||
<textFieldExpression><![CDATA[$R{header.contrato}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="481f4afe-f201-4297-b478-8b654dbc15e6" x="302" y="60" width="79" height="20"/>
|
||||
<textElement markup="none"/>
|
||||
<textFieldExpression><![CDATA[$R{header.destino}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="145e00cf-dde5-4ca3-b799-b15de40d3606" x="381" y="60" width="463" height="20"/>
|
||||
<textElement/>
|
||||
<textFieldExpression><![CDATA[]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="f6fe1c2b-09af-45e6-9883-f6aa7fe3016c" x="0" y="0" width="1015" height="20"/>
|
||||
<textElement markup="none">
|
||||
<font size="14" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{header.titulo.relatorio}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="6c1cdde2-67c3-4a56-9744-5a4d249115f9" x="141" y="40" width="161" height="20"/>
|
||||
<textElement/>
|
||||
<textFieldExpression><![CDATA[$P{CONTRATO}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="4f697f82-2de4-4665-af6f-4cc16270d631" x="302" y="40" width="79" height="20"/>
|
||||
<textElement markup="none"/>
|
||||
<textFieldExpression><![CDATA[$R{header.executado}]]></textFieldExpression>
|
||||
</textField>
|
||||
</band>
|
||||
</title>
|
||||
<pageHeader>
|
||||
<band splitType="Stretch"/>
|
||||
</pageHeader>
|
||||
<columnHeader>
|
||||
<band height="20" splitType="Stretch">
|
||||
<textField isStretchWithOverflow="true">
|
||||
<reportElement uuid="c06195d4-ba58-47be-aef7-1563b191de27" stretchType="RelativeToTallestObject" x="0" y="0" width="152" height="20"/>
|
||||
<box>
|
||||
<topPen lineWidth="0.25"/>
|
||||
<leftPen lineWidth="0.25"/>
|
||||
<bottomPen lineWidth="0.25"/>
|
||||
<rightPen lineWidth="0.25"/>
|
||||
</box>
|
||||
<textElement markup="none">
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{label.tiquete}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true">
|
||||
<reportElement uuid="1ecd7528-3828-4cf5-a9c8-f85e07e4ba28" stretchType="RelativeToTallestObject" x="231" y="0" width="51" height="20"/>
|
||||
<box>
|
||||
<topPen lineWidth="0.25"/>
|
||||
<leftPen lineWidth="0.25"/>
|
||||
<bottomPen lineWidth="0.25"/>
|
||||
<rightPen lineWidth="0.25"/>
|
||||
</box>
|
||||
<textElement textAlignment="Center" markup="none">
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{label.tipoDoc}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true">
|
||||
<reportElement uuid="1f6c0d70-a694-43e9-8ad3-aebfb91eed3c" stretchType="RelativeToTallestObject" x="422" y="0" width="90" height="20"/>
|
||||
<box>
|
||||
<topPen lineWidth="0.25"/>
|
||||
<leftPen lineWidth="0.25"/>
|
||||
<bottomPen lineWidth="0.25"/>
|
||||
<rightPen lineWidth="0.25"/>
|
||||
</box>
|
||||
<textElement markup="none">
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{label.origem}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true">
|
||||
<reportElement uuid="d1cbc7f5-2632-46d4-a223-c97577604537" stretchType="RelativeToTallestObject" x="512" y="0" width="90" height="20"/>
|
||||
<box>
|
||||
<topPen lineWidth="0.25"/>
|
||||
<leftPen lineWidth="0.25"/>
|
||||
<bottomPen lineWidth="0.25"/>
|
||||
<rightPen lineWidth="0.25"/>
|
||||
</box>
|
||||
<textElement markup="none">
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{label.destino}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true">
|
||||
<reportElement uuid="838fd9f8-3595-4eb7-8b1c-a593b306bce3" stretchType="RelativeToTallestObject" x="649" y="0" width="31" height="20"/>
|
||||
<box>
|
||||
<topPen lineWidth="0.25"/>
|
||||
<leftPen lineWidth="0.25"/>
|
||||
<bottomPen lineWidth="0.25"/>
|
||||
<rightPen lineWidth="0.25"/>
|
||||
</box>
|
||||
<textElement textAlignment="Center" markup="none">
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{label.preco}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true">
|
||||
<reportElement uuid="162ffd2f-696a-459d-ae23-2df0b308fa43" stretchType="RelativeToTallestObject" x="282" y="0" width="51" height="20"/>
|
||||
<box>
|
||||
<topPen lineWidth="0.25"/>
|
||||
<leftPen lineWidth="0.25"/>
|
||||
<bottomPen lineWidth="0.25"/>
|
||||
<rightPen lineWidth="0.25"/>
|
||||
</box>
|
||||
<textElement textAlignment="Center" markup="none">
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{label.fatura}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true">
|
||||
<reportElement uuid="1729b2fd-2ba3-40b0-851f-69f5349a8eb7" stretchType="RelativeToTallestObject" x="964" y="0" width="90" height="20"/>
|
||||
<box>
|
||||
<topPen lineWidth="0.25"/>
|
||||
<leftPen lineWidth="0.25"/>
|
||||
<bottomPen lineWidth="0.25"/>
|
||||
<rightPen lineWidth="0.25"/>
|
||||
</box>
|
||||
<textElement markup="none">
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{label.nomeUsuario}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true">
|
||||
<reportElement uuid="a7946998-7bb2-4936-b0c4-c54ca8749dfa" stretchType="RelativeToTallestObject" x="152" y="0" width="79" height="20"/>
|
||||
<box>
|
||||
<topPen lineWidth="0.25"/>
|
||||
<leftPen lineWidth="0.25"/>
|
||||
<bottomPen lineWidth="0.25"/>
|
||||
<rightPen lineWidth="0.25"/>
|
||||
</box>
|
||||
<textElement markup="none">
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{label.dataVenda}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true">
|
||||
<reportElement uuid="1f8dae8e-1925-477d-b9de-059ba69c84f5" stretchType="RelativeToTallestObject" x="333" y="0" width="89" height="20"/>
|
||||
<box>
|
||||
<topPen lineWidth="0.25"/>
|
||||
<leftPen lineWidth="0.25"/>
|
||||
<bottomPen lineWidth="0.25"/>
|
||||
<rightPen lineWidth="0.25"/>
|
||||
</box>
|
||||
<textElement textAlignment="Center" markup="none">
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{label.estado}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true">
|
||||
<reportElement uuid="b0ab84b3-6e08-46f6-bf81-4c04b7ee39b0" stretchType="RelativeToTallestObject" x="602" y="0" width="47" height="20"/>
|
||||
<box>
|
||||
<topPen lineWidth="0.25"/>
|
||||
<leftPen lineWidth="0.25"/>
|
||||
<bottomPen lineWidth="0.25"/>
|
||||
<rightPen lineWidth="0.25"/>
|
||||
</box>
|
||||
<textElement textAlignment="Center" markup="none">
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{label.passagem}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true">
|
||||
<reportElement uuid="21c168b8-f4de-4072-a332-f747335b42e1" stretchType="RelativeToTallestObject" x="680" y="0" width="53" height="20"/>
|
||||
<box>
|
||||
<topPen lineWidth="0.25"/>
|
||||
<leftPen lineWidth="0.25"/>
|
||||
<bottomPen lineWidth="0.25"/>
|
||||
<rightPen lineWidth="0.25"/>
|
||||
</box>
|
||||
<textElement textAlignment="Center" markup="none">
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{label.precioPagado}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true">
|
||||
<reportElement uuid="599cec9c-c85c-4b21-aca1-083af166804f" stretchType="RelativeToTallestObject" x="733" y="0" width="53" height="20"/>
|
||||
<box>
|
||||
<topPen lineWidth="0.25"/>
|
||||
<leftPen lineWidth="0.25"/>
|
||||
<bottomPen lineWidth="0.25"/>
|
||||
<rightPen lineWidth="0.25"/>
|
||||
</box>
|
||||
<textElement textAlignment="Center" markup="none">
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{label.empresa}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true">
|
||||
<reportElement uuid="59b102ac-758c-4143-b54c-3a8c209bd027" stretchType="RelativeToTallestObject" x="786" y="0" width="53" height="20"/>
|
||||
<box>
|
||||
<topPen lineWidth="0.25"/>
|
||||
<leftPen lineWidth="0.25"/>
|
||||
<bottomPen lineWidth="0.25"/>
|
||||
<rightPen lineWidth="0.25"/>
|
||||
</box>
|
||||
<textElement textAlignment="Center" markup="none">
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{label.passageiroCod}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true">
|
||||
<reportElement uuid="96250910-b2bf-49de-95d2-72465cce0769" stretchType="RelativeToTallestObject" x="839" y="0" width="46" height="20"/>
|
||||
<box>
|
||||
<topPen lineWidth="0.25"/>
|
||||
<leftPen lineWidth="0.25"/>
|
||||
<bottomPen lineWidth="0.25"/>
|
||||
<rightPen lineWidth="0.25"/>
|
||||
</box>
|
||||
<textElement textAlignment="Center" markup="none">
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{label.passageiroNome}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true">
|
||||
<reportElement uuid="d4abd954-bbc3-482b-bd2f-bfe2f030eaad" stretchType="RelativeToTallestObject" x="885" y="0" width="79" height="20"/>
|
||||
<box>
|
||||
<topPen lineWidth="0.25"/>
|
||||
<leftPen lineWidth="0.25"/>
|
||||
<bottomPen lineWidth="0.25"/>
|
||||
<rightPen lineWidth="0.25"/>
|
||||
</box>
|
||||
<textElement textAlignment="Center" markup="none">
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{label.legalizado}]]></textFieldExpression>
|
||||
</textField>
|
||||
</band>
|
||||
</columnHeader>
|
||||
<detail>
|
||||
<band height="20" splitType="Stretch">
|
||||
<textField isStretchWithOverflow="true">
|
||||
<reportElement uuid="7a8c77d7-97f8-4e37-8ebc-97c6ab05eaed" stretchType="RelativeToTallestObject" x="0" y="0" width="152" height="20"/>
|
||||
<box>
|
||||
<topPen lineWidth="0.25"/>
|
||||
<leftPen lineWidth="0.25"/>
|
||||
<bottomPen lineWidth="0.25"/>
|
||||
<rightPen lineWidth="0.25"/>
|
||||
</box>
|
||||
<textElement>
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{boleto}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true">
|
||||
<reportElement uuid="b31c9ab2-0cfe-4db1-83ca-57aba183a88b" stretchType="RelativeToTallestObject" x="231" y="0" width="51" height="20"/>
|
||||
<box>
|
||||
<topPen lineWidth="0.25"/>
|
||||
<leftPen lineWidth="0.25"/>
|
||||
<bottomPen lineWidth="0.25"/>
|
||||
<rightPen lineWidth="0.25"/>
|
||||
</box>
|
||||
<textElement textAlignment="Center">
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{tipoDoc}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true">
|
||||
<reportElement uuid="4768cf26-74b8-48a5-b8eb-cbcc63d5d968" stretchType="RelativeToTallestObject" x="422" y="0" width="90" height="20"/>
|
||||
<box>
|
||||
<topPen lineWidth="0.25"/>
|
||||
<leftPen lineWidth="0.25"/>
|
||||
<bottomPen lineWidth="0.25"/>
|
||||
<rightPen lineWidth="0.25"/>
|
||||
</box>
|
||||
<textElement>
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{origem}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" pattern="dd/MM/yyyy HH:mm">
|
||||
<reportElement uuid="301029ea-db8d-48bd-8e13-ed67f6140081" stretchType="RelativeToTallestObject" x="152" y="0" width="79" height="20"/>
|
||||
<box>
|
||||
<topPen lineWidth="0.25"/>
|
||||
<leftPen lineWidth="0.25"/>
|
||||
<bottomPen lineWidth="0.25"/>
|
||||
<rightPen lineWidth="0.25"/>
|
||||
</box>
|
||||
<textElement>
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{dataVenda}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true">
|
||||
<reportElement uuid="7da11eed-f034-4eb3-bba2-0c7547074136" stretchType="RelativeToTallestObject" x="282" y="0" width="51" height="20"/>
|
||||
<box>
|
||||
<topPen lineWidth="0.25"/>
|
||||
<leftPen lineWidth="0.25"/>
|
||||
<bottomPen lineWidth="0.25"/>
|
||||
<rightPen lineWidth="0.25"/>
|
||||
</box>
|
||||
<textElement textAlignment="Center">
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{fatura}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true">
|
||||
<reportElement uuid="2cdbea3c-5b25-4bd1-b7ae-d5ed59952e57" stretchType="RelativeToTallestObject" x="512" y="0" width="90" height="20"/>
|
||||
<box>
|
||||
<topPen lineWidth="0.25"/>
|
||||
<leftPen lineWidth="0.25"/>
|
||||
<bottomPen lineWidth="0.25"/>
|
||||
<rightPen lineWidth="0.25"/>
|
||||
</box>
|
||||
<textElement>
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{destino}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true">
|
||||
<reportElement uuid="a1e05674-d013-4612-8bcd-0f08cc68849f" stretchType="RelativeToTallestObject" x="964" y="0" width="90" height="20"/>
|
||||
<box>
|
||||
<topPen lineWidth="0.25"/>
|
||||
<leftPen lineWidth="0.25"/>
|
||||
<bottomPen lineWidth="0.25"/>
|
||||
<rightPen lineWidth="0.25"/>
|
||||
</box>
|
||||
<textElement>
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{nomeUsuario}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true">
|
||||
<reportElement uuid="cf5d37e0-ce0e-4089-bcaa-edf01bf46fc3" stretchType="RelativeToTallestObject" x="649" y="0" width="31" height="20"/>
|
||||
<box>
|
||||
<topPen lineWidth="0.25"/>
|
||||
<leftPen lineWidth="0.25"/>
|
||||
<bottomPen lineWidth="0.25"/>
|
||||
<rightPen lineWidth="0.25"/>
|
||||
</box>
|
||||
<textElement textAlignment="Center">
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{preco}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true">
|
||||
<reportElement uuid="21f02b6f-9b56-46ef-af2f-3a602603e8a8" stretchType="RelativeToTallestObject" x="602" y="0" width="47" height="20"/>
|
||||
<box>
|
||||
<topPen lineWidth="0.25"/>
|
||||
<leftPen lineWidth="0.25"/>
|
||||
<bottomPen lineWidth="0.25"/>
|
||||
<rightPen lineWidth="0.25"/>
|
||||
</box>
|
||||
<textElement textAlignment="Center">
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{passagem}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" pattern="#,##0.00">
|
||||
<reportElement uuid="5a0bd7e9-4f49-4024-8b2b-6444f3f23cb4" stretchType="RelativeToTallestObject" x="680" y="0" width="53" height="20"/>
|
||||
<box>
|
||||
<topPen lineWidth="0.25"/>
|
||||
<leftPen lineWidth="0.25"/>
|
||||
<bottomPen lineWidth="0.25"/>
|
||||
<rightPen lineWidth="0.25"/>
|
||||
</box>
|
||||
<textElement textAlignment="Center">
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{precioPagado}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" pattern="#,##0.00">
|
||||
<reportElement uuid="0682a7fc-c7f6-4494-afeb-4d4267136edb" stretchType="RelativeToTallestObject" x="733" y="0" width="53" height="20"/>
|
||||
<box>
|
||||
<topPen lineWidth="0.25"/>
|
||||
<leftPen lineWidth="0.25"/>
|
||||
<bottomPen lineWidth="0.25"/>
|
||||
<rightPen lineWidth="0.25"/>
|
||||
</box>
|
||||
<textElement textAlignment="Center">
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{empresa}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" pattern="#,##0.00">
|
||||
<reportElement uuid="668a4faf-a3c9-48a6-9724-3072d7455b25" stretchType="RelativeToTallestObject" x="786" y="0" width="53" height="20"/>
|
||||
<box>
|
||||
<topPen lineWidth="0.25"/>
|
||||
<leftPen lineWidth="0.25"/>
|
||||
<bottomPen lineWidth="0.25"/>
|
||||
<rightPen lineWidth="0.25"/>
|
||||
</box>
|
||||
<textElement textAlignment="Center">
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{passageiroCod}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true">
|
||||
<reportElement uuid="a3487a1b-d380-47f5-857b-b70e10504790" stretchType="RelativeToTallestObject" x="839" y="0" width="46" height="20"/>
|
||||
<box>
|
||||
<topPen lineWidth="0.25"/>
|
||||
<leftPen lineWidth="0.25"/>
|
||||
<bottomPen lineWidth="0.25"/>
|
||||
<rightPen lineWidth="0.25"/>
|
||||
</box>
|
||||
<textElement textAlignment="Center">
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{nomePassageiro}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" pattern="dd/MM/yyyy HH:mm">
|
||||
<reportElement uuid="da7ad02c-f0d2-46c8-8c86-0a6dcc32f606" stretchType="RelativeToTallestObject" x="885" y="0" width="79" height="20"/>
|
||||
<box>
|
||||
<topPen lineWidth="0.25"/>
|
||||
<leftPen lineWidth="0.25"/>
|
||||
<bottomPen lineWidth="0.25"/>
|
||||
<rightPen lineWidth="0.25"/>
|
||||
</box>
|
||||
<textElement textAlignment="Center">
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{legalizado}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true">
|
||||
<reportElement uuid="1f7cb37d-4f34-448b-9438-b4a2b858552e" stretchType="RelativeToTallestObject" x="333" y="0" width="89" height="20"/>
|
||||
<box>
|
||||
<topPen lineWidth="0.25"/>
|
||||
<leftPen lineWidth="0.25"/>
|
||||
<bottomPen lineWidth="0.25"/>
|
||||
<rightPen lineWidth="0.25"/>
|
||||
</box>
|
||||
<textElement textAlignment="Center">
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{estado}]]></textFieldExpression>
|
||||
</textField>
|
||||
</band>
|
||||
</detail>
|
||||
<columnFooter>
|
||||
<band splitType="Stretch"/>
|
||||
</columnFooter>
|
||||
<pageFooter>
|
||||
<band splitType="Stretch"/>
|
||||
</pageFooter>
|
||||
<summary>
|
||||
<band splitType="Stretch"/>
|
||||
</summary>
|
||||
<noData>
|
||||
<band height="35">
|
||||
<textField>
|
||||
<reportElement uuid="ed192bd7-4c3c-4f7f-a805-6d71234d513c" x="0" y="8" width="910" height="20"/>
|
||||
<textElement markup="none">
|
||||
<font size="11" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{msg.noData}]]></textFieldExpression>
|
||||
</textField>
|
||||
</band>
|
||||
</noData>
|
||||
</jasperReport>
|
|
@ -0,0 +1,113 @@
|
|||
package com.rjconsultores.ventaboletos.relatorios.utilitarios;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
public class RelatorioDetalheContratoBean {
|
||||
|
||||
private String boleto;
|
||||
private Date dataVenda;
|
||||
private String tipoDoc;
|
||||
private String fatura;
|
||||
private String estado;
|
||||
private String origem;
|
||||
private String destino;
|
||||
private String passagem;
|
||||
private BigDecimal preco;
|
||||
private BigDecimal precioPagado;
|
||||
private String empresa;
|
||||
private Long passageiroCod;
|
||||
private String nomePassageiro;
|
||||
private Integer legalizado;
|
||||
private String nomeUsuario;
|
||||
public String getBoleto() {
|
||||
return boleto;
|
||||
}
|
||||
public void setBoleto(String boleto) {
|
||||
this.boleto = boleto;
|
||||
}
|
||||
public Date getDataVenda() {
|
||||
return dataVenda;
|
||||
}
|
||||
public void setDataVenda(Date dataVenda) {
|
||||
this.dataVenda = dataVenda;
|
||||
}
|
||||
public String getTipoDoc() {
|
||||
return tipoDoc;
|
||||
}
|
||||
public void setTipoDoc(String tipoDoc) {
|
||||
this.tipoDoc = tipoDoc;
|
||||
}
|
||||
public String getFatura() {
|
||||
return fatura;
|
||||
}
|
||||
public void setFatura(String fatura) {
|
||||
this.fatura = fatura;
|
||||
}
|
||||
public String getEstado() {
|
||||
return estado;
|
||||
}
|
||||
public void setEstado(String estado) {
|
||||
this.estado = estado;
|
||||
}
|
||||
public String getOrigem() {
|
||||
return origem;
|
||||
}
|
||||
public void setOrigem(String origem) {
|
||||
this.origem = origem;
|
||||
}
|
||||
public String getDestino() {
|
||||
return destino;
|
||||
}
|
||||
public void setDestino(String destino) {
|
||||
this.destino = destino;
|
||||
}
|
||||
public String getPassagem() {
|
||||
return passagem;
|
||||
}
|
||||
public void setPassagem(String passagem) {
|
||||
this.passagem = passagem;
|
||||
}
|
||||
public BigDecimal getPreco() {
|
||||
return preco;
|
||||
}
|
||||
public void setPreco(BigDecimal preco) {
|
||||
this.preco = preco;
|
||||
}
|
||||
public BigDecimal getPrecioPagado() {
|
||||
return precioPagado;
|
||||
}
|
||||
public void setPrecioPagado(BigDecimal precioPagado) {
|
||||
this.precioPagado = precioPagado;
|
||||
}
|
||||
public String getEmpresa() {
|
||||
return empresa;
|
||||
}
|
||||
public void setEmpresa(String empresa) {
|
||||
this.empresa = empresa;
|
||||
}
|
||||
public Long getPassageiroCod() {
|
||||
return passageiroCod;
|
||||
}
|
||||
public void setPassageiroCod(Long passageiroCod) {
|
||||
this.passageiroCod = passageiroCod;
|
||||
}
|
||||
public String getNomePassageiro() {
|
||||
return nomePassageiro;
|
||||
}
|
||||
public void setNomePassageiro(String nomePassageiro) {
|
||||
this.nomePassageiro = nomePassageiro;
|
||||
}
|
||||
public Integer getLegalizado() {
|
||||
return legalizado;
|
||||
}
|
||||
public void setLegalizado(Integer legalizado) {
|
||||
this.legalizado = legalizado;
|
||||
}
|
||||
public String getNomeUsuario() {
|
||||
return nomeUsuario;
|
||||
}
|
||||
public void setNomeUsuario(String nomeUsuario) {
|
||||
this.nomeUsuario = nomeUsuario;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,69 @@
|
|||
package com.rjconsultores.ventaboletos.web.gui.controladores.relatorios;
|
||||
|
||||
import java.sql.ResultSet;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import javax.sql.DataSource;
|
||||
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.context.annotation.Scope;
|
||||
import org.springframework.stereotype.Controller;
|
||||
import org.zkoss.util.resource.Labels;
|
||||
import org.zkoss.zk.ui.Component;
|
||||
import org.zkoss.zk.ui.event.Event;
|
||||
import org.zkoss.zul.Combobox;
|
||||
import org.zkoss.zul.Comboitem;
|
||||
import org.zkoss.zul.ComboitemRenderer;
|
||||
import org.zkoss.zul.Datebox;
|
||||
import org.zkoss.zul.Radio;
|
||||
|
||||
import com.rjconsultores.ventaboletos.entidad.ContratoCorporativo;
|
||||
import com.rjconsultores.ventaboletos.entidad.Empresa;
|
||||
import com.rjconsultores.ventaboletos.entidad.Parada;
|
||||
import com.rjconsultores.ventaboletos.relatorios.impl.RelatorioCorridas;
|
||||
import com.rjconsultores.ventaboletos.relatorios.impl.RelatorioDetalheContrato;
|
||||
import com.rjconsultores.ventaboletos.relatorios.utilitarios.Relatorio;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.MyGenericForwardComposer;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.MyTextbox;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.NamedParameterStatement;
|
||||
|
||||
@Controller("relatorioDetalheContratoController")
|
||||
@Scope("prototype")
|
||||
public class RelatorioDetalheContratoController extends MyGenericForwardComposer {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
@Autowired
|
||||
private DataSource dataSourceRead;
|
||||
|
||||
|
||||
private Datebox datInicial;
|
||||
private Datebox datFinal;
|
||||
private MyTextbox txtNumContrato;
|
||||
private Combobox cbxSaldoContrato;
|
||||
private Radio rdbCriacao;
|
||||
private Radio rdbLegalizacao;
|
||||
private Radio rdbFaturado;
|
||||
private Radio rdbNaoFaturado;
|
||||
private Radio rdbTodos;
|
||||
|
||||
@Override
|
||||
public void doAfterCompose(Component comp) throws Exception {
|
||||
|
||||
super.doAfterCompose(comp);
|
||||
|
||||
}
|
||||
|
||||
public void onClick$btnExecutarRelatorio(Event ev) throws Exception {
|
||||
|
||||
Map<String, Object> parametros = new HashMap<String, Object>();
|
||||
parametros.put("NUMCONTRATO", txtNumContrato.getValue());
|
||||
Relatorio relatorio = new RelatorioDetalheContrato(parametros, dataSourceRead.getConnection());
|
||||
|
||||
Map<String, Object> args = new HashMap<String, Object>();
|
||||
args.put("relatorio", relatorio);
|
||||
|
||||
openWindow("/component/reportView.zul",
|
||||
Labels.getLabel("relatorioDetalheContratoController.window.title"), args, MODAL);
|
||||
}
|
||||
}
|
|
@ -0,0 +1,25 @@
|
|||
package com.rjconsultores.ventaboletos.web.utilerias.menu.item.negcorporativos;
|
||||
|
||||
import org.zkoss.util.resource.Labels;
|
||||
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.PantallaUtileria;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.menu.DefaultItemMenuSistema;
|
||||
|
||||
public class ItemMenuRelatorioDetalheContrato extends DefaultItemMenuSistema {
|
||||
|
||||
public ItemMenuRelatorioDetalheContrato() {
|
||||
super("indexController.mniRelatorioDetalheContrato.label");
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getClaveMenu() {
|
||||
return "COM.RJCONSULTORES.ADMINISTRACION.GUI.CONFIGURACIONECCOMERCIALES.MENU.RELATORIODETALHESCONTRATO";
|
||||
}
|
||||
|
||||
@Override
|
||||
public void ejecutar() {
|
||||
PantallaUtileria.openWindow("/gui/relatorios/filtroRelatorioDetalheContrato.zul",
|
||||
Labels.getLabel("relatorioDetalheContratoController.window.title"), getArgs(), desktop);
|
||||
}
|
||||
|
||||
}
|
|
@ -65,6 +65,7 @@ confComerciales.negCorporativos.grupoContrato=com.rjconsultores.ventaboletos.web
|
|||
confComerciales.negCorporativos.Contrato=com.rjconsultores.ventaboletos.web.utilerias.menu.item.negcorporativos.ItemMenuContrato
|
||||
confComerciales.negCorporativos.Transportadora=com.rjconsultores.ventaboletos.web.utilerias.menu.item.negcorporativos.ItemMenuTransportadora
|
||||
confComerciales.negCorporativos.Voucher=com.rjconsultores.ventaboletos.web.utilerias.menu.item.negcorporativos.ItemMenuVoucher
|
||||
confComerciales.negCorporativos.RelatorioDetalhesContrato=com.rjconsultores.ventaboletos.web.utilerias.menu.item.negcorporativos.ItemMenuRelatorioDetalheContrato
|
||||
confComerciales.impressaofiscal=com.rjconsultores.ventaboletos.web.utilerias.menu.item.impressaofiscal.SubMenuImpressaoFiscal
|
||||
confComerciales.impressaofiscal.totnaofiscalEmpresa=com.rjconsultores.ventaboletos.web.utilerias.menu.item.impressaofiscal.ItemMenuTotnaofiscalEmpresa
|
||||
confComerciales.impressaofiscal.formapagoEmpresa=com.rjconsultores.ventaboletos.web.utilerias.menu.item.impressaofiscal.ItemMenuFormapagoEmpresa
|
||||
|
|
|
@ -2931,6 +2931,7 @@ editarCategoriaController.lbIndemitetermorecusa.value = Issues Refusal Term
|
|||
editarCategoriaController.lbIndnaousaassento.value = Do not use a seat when selling a package
|
||||
editarCategoriaController.lbIndvendenaapi.value = Sell on API
|
||||
editarCategoriaController.lbNome.value = Description
|
||||
# Pantalla Editar CategorÃa
|
||||
editarCategoriaController.window.title = Passage Type
|
||||
editarCiudadController.MSG.borrarOK = City Deleted Successfully.
|
||||
editarCiudadController.MSG.borrarPergunta = Do you want to delete this city?
|
||||
|
@ -7316,12 +7317,17 @@ expresoController.MSG.cuerpoCorreoCotizacion = Dear {0}, the express request has
|
|||
expresoController.MSG.emailNoEnviado = There's been a problem. Please check logs
|
||||
expresoController.MSG.errorArchivo = Invalid or null file
|
||||
expresosController.lbl.asignarBus = Assign Bus
|
||||
expresosController.lbl.btnCargarCumplimientoServicio = Attach Document
|
||||
expresosController.lbl.btnVerContrato = See Contract
|
||||
expresosController.lbl.btnVerFuec = See FUEC/Template
|
||||
expresosController.lbl.btnVerListaPasajeros = See Passenger List
|
||||
expresosController.lbl.btnVerPlanilla = See Template
|
||||
expresosController.lbl.cargarFluec = Load FLUEC
|
||||
expresosController.lbl.cargarPlaca = Load Plate
|
||||
expresosController.lbl.estadoAceptado = Acepted
|
||||
expresosController.lbl.estadoEnviado = Send
|
||||
expresosController.lbl.estadoRechazado = Rejected
|
||||
expresosController.lbl.estadoSolicitado = Required
|
||||
expresosController.lbl.idaVuelta = Going
|
||||
expresosController.lbl.pagadoCredito = Paid on Credit
|
||||
expresosController.lbl.verDetalle = See detail
|
||||
|
@ -7337,6 +7343,7 @@ expressosPorCotizarController.lhCantidadPasajeros.label = Number of Passengers
|
|||
expressosPorCotizarController.lhCantidadVehiculos.label = Vehicle Quantity
|
||||
expressosPorCotizarController.lhCodigoViaje.label = Trip Code
|
||||
expressosPorCotizarController.lhEstadiaConductor.label = Driver Stay
|
||||
expressosPorCotizarController.lhEstado.label = State
|
||||
expressosPorCotizarController.lhFechaIda.label = Departure date
|
||||
expressosPorCotizarController.lhFechaRegreso.label = Return Date
|
||||
expressosPorCotizarController.lhFechaSolicitud.label = Application date
|
||||
|
@ -7587,75 +7594,6 @@ indexController.mnEquivalencia.label = Equivalencia
|
|||
indexController.mnEsquemaOperacional.label = Esquema Operacional
|
||||
#Expressos
|
||||
indexController.mnExpressos.label = Express
|
||||
indexController.mniExpressosPorCotizar.label = Express to be quoted
|
||||
indexController.mniExpressosCargaContrato.label = Contract Charge
|
||||
indexController.mniExpressosProgramacionVehiculos.label = Vehicle Programming
|
||||
|
||||
verDetalleExpreso.window.title = Express Detail
|
||||
expresosPorCotizarCotizar.window.title = Express Quote
|
||||
|
||||
expressosPorCotizarFechaInicioController.lblDesc.label = Start date
|
||||
expressosPorCotizarFechaFinController.lblDesc.label = End date
|
||||
expressosPorCotizarEmpresaController.lblDesc.label = Company
|
||||
expressosPorCotizarServiciosInactivosController.lblDesc.label = Inactive services
|
||||
expressosPorCotizarController.btnPesquisa.label = Look for
|
||||
expressosPorCotizarController.lhNumSolicitud.label = # Application
|
||||
expressosPorCotizarController.lhFechaSolicitud.label = Application date
|
||||
expressosPorCotizarController.lhRuta.label = Route
|
||||
expressosPorCotizarController.lhIdaRegreso.label = Round trip
|
||||
expressosPorCotizarController.lhFechaIda.label = Departure date
|
||||
expressosPorCotizarController.lhFechaRegreso.label = Return Date
|
||||
expressosPorCotizarController.lhSitioRecogidaIda.label = Site Pickup Going
|
||||
expressosPorCotizarController.lhSitioRecogidaRegreso.label = Site Pickup Return
|
||||
expressosPorCotizarController.lhEstadiaConductor.label = Driver Stay
|
||||
expressosPorCotizarBuscarController.lblDesc.label = Look for
|
||||
expressosPorCotizarVerDetalleController.lblDesc.label = See detail
|
||||
expressosPorCotizarPagoCreditoController.lblDesc.label = Credit Payment
|
||||
indexController.mniExpressosPorCotizar.label = Express to be quoted
|
||||
expresosPorCotizarPagoCredito.window.title = Credit Payment
|
||||
expressosPorCotizarCotizarController.lblDesc.label = Quote
|
||||
expressosPorCotizarController.lhCantidadPasajeros.label = Number of Passengers
|
||||
expressosPorCotizarController.lhAdjuntarCotizacion.label = Attach Quote
|
||||
expressosPorCotizarController.lhCantidadVehiculos.label = Vehicle Quantity
|
||||
expressosPorCotizarController.lhValorTrayecto.label = Trip Value
|
||||
expressosPorCotizarController.lblOrigen.label = Origin
|
||||
expressosPorCotizarController.lblDestino.label = Destination
|
||||
expressosPorCotizarController.lblAgregarTrayecto.label = Add Trip
|
||||
cargarContratoController.lhAdjuntarContrato.label = Load Contract
|
||||
expressosPorCotizarController.lhTrayecto.label = Journey
|
||||
expressosPorCotizarController.lhCodigoViaje.label = Trip Code
|
||||
expressosPorCotizarController.lhPlacaVehiculo.label = Plate
|
||||
expressosPorCotizarController.lhFluecPlanilla.label = FLUEC - Occasional Return
|
||||
asignarBusExpreso.window.title = Express Trip
|
||||
expresosController.lbl.cargarFluec = Load FLUEC
|
||||
expresosController.lbl.cargarPlaca = Load Plate
|
||||
|
||||
indexController.mniExpressosDocumentos.label = Documents
|
||||
|
||||
expresosController.lbl.verDetalle = See detail
|
||||
expresosController.lbl.asignarBus = Assign Bus
|
||||
expresosController.lbl.pagadoCredito = Paid on Credit
|
||||
expresosController.lbl.idaVuelta = Round trip
|
||||
expresosController.lbl.idaVuelta = Going
|
||||
|
||||
expresoController.MSG.errorArchivo = Invalid or null file
|
||||
cargaContratoController.MSG.errorExpresoNull = Select Express to Associate Contract
|
||||
cotizarExpresoController.MSG.emailEnviado = Correct Express Quote
|
||||
expresoController.MSG.emailNoEnviado = There's been a problem. Please check logs
|
||||
expresoController.MSG.asuntoCorreoCotizacion = Quoted Express Request
|
||||
expresoController.MSG.cuerpoCorreoCotizacion = Dear {0}, the express request has been quoted, in the following link {1} you can accept the quote and make the payment.
|
||||
|
||||
expresosController.lbl.btnVerContrato = See Contract
|
||||
expresosController.lbl.btnVerFuec = See FUEC/Template
|
||||
expresosController.lbl.btnVerListaPasajeros = See Passenger List
|
||||
|
||||
indexController.mniExpressosCumplimientoServicio.label = Service Compliance
|
||||
expressosPorCotizarController.lhEstado.label = State
|
||||
expresosController.lbl.btnCargarCumplimientoServicio = Attach Document
|
||||
expresosController.lbl.estadoSolicitado = Required
|
||||
expresosController.lbl.estadoEnviado = Send
|
||||
expresosController.lbl.estadoAceptado = Acepted
|
||||
expresosController.lbl.estadoRechazado = Rejected
|
||||
#GR
|
||||
indexController.mnGR.label = Passing Stock
|
||||
#Gestao de Pricing
|
||||
|
@ -7782,6 +7720,7 @@ indexController.mniExcepcionRedondo.label = Round Trip Exception
|
|||
indexController.mniExportacaoFiscalECF.label = ECF
|
||||
indexController.mniExportacaoFiscalRMD.label = RMD
|
||||
indexController.mniExpressosCargaContrato.label = Contract Charge
|
||||
indexController.mniExpressosCumplimientoServicio.label = Service Compliance
|
||||
indexController.mniExpressosDocumentos.label = Documents
|
||||
indexController.mniExpressosPorCotizar.label = Express to be quoted
|
||||
indexController.mniExpressosProgramacionVehiculos.label = Vehicle Programming
|
||||
|
@ -7928,6 +7867,7 @@ indexController.mniRelatorioDepositosDetalhados.label = Detailed Deposits
|
|||
indexController.mniRelatorioDescontoPorCupom.label = Relatório Desconto Por Cupom
|
||||
indexController.mniRelatorioDescontos.label = Discount Sales
|
||||
indexController.mniRelatorioDesempenhoPorLinha.label = Performance per Line
|
||||
indexController.mniRelatorioDetalheContrato.label = Contract Details Report
|
||||
indexController.mniRelatorioDevolucaoBilhetes.label = Returned Tickets
|
||||
indexController.mniRelatorioDiferencasTransferencias.label = Differences in Transfers
|
||||
indexController.mniRelatorioDocumentosFiscais.label = Tax Documents Report
|
||||
|
@ -8933,6 +8873,18 @@ relatorioDesempenhoPorLinhaController.lbPuntoVenta.value = Agency
|
|||
relatorioDesempenhoPorLinhaController.linha = Report by Line
|
||||
relatorioDesempenhoPorLinhaController.trecho = Report by Excerpt
|
||||
relatorioDesempenhoPorLinhaController.window.title = Financial Utilization Report
|
||||
relatorioDetalheContratoController.lblCriacao.value = Creation
|
||||
relatorioDetalheContratoController.lblCriacaoLegalizacao.value = Creation/legalization
|
||||
relatorioDetalheContratoController.lblDataFinal.value = \r\nEnd Date
|
||||
relatorioDetalheContratoController.lblDataInicial.value = Start Date
|
||||
relatorioDetalheContratoController.lblEstadoBilhete.value = Ticket Status
|
||||
relatorioDetalheContratoController.lblFaturado.value = Invoiced
|
||||
relatorioDetalheContratoController.lblLegalizacao.value = Legalization
|
||||
relatorioDetalheContratoController.lblNaoFaturado.value = Not Billed
|
||||
relatorioDetalheContratoController.lblNumContrato.value = Contract Number
|
||||
relatorioDetalheContratoController.lblSaldoContrato.value = Contract Balance
|
||||
relatorioDetalheContratoController.lblTodos.value = All
|
||||
relatorioDetalheContratoController.window.title = Contract Details Report
|
||||
relatorioDevolucaoBilhetesAgenciaController.btnLimpar.label = Clear Selection
|
||||
relatorioDevolucaoBilhetesAgenciaController.btnPesquisa.label = Search
|
||||
relatorioDevolucaoBilhetesAgenciaController.chkDesconsideraMes.label = Disregard returns in the month/year of issue
|
||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -2428,7 +2428,6 @@ corteTurnoRecaudacionController.TotalPago.label = Total Pago
|
|||
corteTurnoRecaudacionController.Turno.label = Turno
|
||||
# COrte de Turno Recaudação
|
||||
corteTurnoRecaudacionController.title = Corte de Turno
|
||||
cotizarExpresoController.MSG.emailEnviado = Cotação Expressa Correta
|
||||
customController.MSG.borrarOK = Customização Excluida com Sucesso.
|
||||
customController.MSG.borrarPergunta = Eliminar customização?
|
||||
customController.MSG.modificar = Cuidado! Ao alterar este valor o sistema será modificado automaticamente.
|
||||
|
@ -4670,7 +4669,6 @@ editarEmpresaController.lblCodigoContratoSafer.value = Código do contrato
|
|||
editarEmpresaController.lblCodigoSafer.value = Código do parceiro
|
||||
editarEmpresaController.lblComprovanteTipoIntegracao.value = Tipo Integracão
|
||||
editarEmpresaController.lblCrediBanco.value = CrediBanco
|
||||
editarEmpresaController.lblDiasCancela.value = Dias Cancelamento
|
||||
editarEmpresaController.lblFiliation.value = Filiation
|
||||
editarEmpresaController.lblGrantType.value = Grant Type
|
||||
editarEmpresaController.lblIdExternoMercadoPago.value = ID Externo
|
||||
|
@ -5084,7 +5082,6 @@ editarFechamentoParamgeralController.MSG.suscribirOK = Configuração de Fechame
|
|||
# Editar Configuração de Boleto
|
||||
editarFechamentoParamgeralController.window.title = Configuração de Fechamento Cta Cte e Boleto - Editar Parâmetro Geral
|
||||
editarFormAutorizacaoController.MSG.borrarOK = Registro apagado com sucesso.
|
||||
# Form Autorizacao Tipo de Passagem
|
||||
editarFormAutorizacaoController.MSG.borrarPergunta = Deseja apagar esse registro ?
|
||||
editarFormAutorizacaoController.window.title = Formulário de Autorização
|
||||
editarFormaPagoController.MSG.borrarOK = Forma de Pagamento Excluida com Sucesso.
|
||||
|
@ -5108,7 +5105,6 @@ editarFormaPagoController.lblAtivaProcessoEstorno.label = Ativa processo de esto
|
|||
editarFormaPagoController.lblBoletoAberto.label = Boleto Aberto
|
||||
editarFormaPagoController.lblCarteiraDigital.label = Carteira Digital
|
||||
editarFormaPagoController.lblCateiraDigitalCielo.label = Cielo Link
|
||||
editarFormaPagoController.lblCateiraDigitalIziPay.label = IziPay
|
||||
editarFormaPagoController.lblCateiraDigitalTef.label = TEF
|
||||
editarFormaPagoController.lblCateiraDigitalTpi.label = TPI
|
||||
editarFormaPagoController.lblCateiraDigitalTrocoSimples.label = Troco Simples
|
||||
|
@ -7318,15 +7314,8 @@ estacionServiceImpl.msg.macDuplicado = Mac ou IMEI já cadastrado para outra est
|
|||
estacionServiceImpl.msg.macDuplicado.descricaoEstacao = Nome Estação:
|
||||
estacionServiceImpl.msg.macDuplicado.numeroCaixa = Número Caixa:
|
||||
estacionServiceImpl.msg.noChequeFolioPreimpresos = A empresa solicitada para configuração de Impressora Fiscal já possui estoque para a estação. Operação cancelada.
|
||||
expresoController.MSG.asuntoCorreoCotizacion = Solicitação expressa cotada
|
||||
expresoController.MSG.cuerpoCorreoCotizacion = Prezado {0}, o pedido expresso foi cotado, no link a seguir {1} você pode aceitar o orçamento e efetuar o pagamento.
|
||||
expresoController.MSG.emailNoEnviado = Houve um problema. Verifique os registros
|
||||
expresoController.MSG.errorArchivo = Arquivo inválido ou nulo
|
||||
expresosController.lbl.asignarBus = Atribuir ônibus
|
||||
expresosController.lbl.btnVerContrato = Ver Contrato
|
||||
expresosController.lbl.btnVerFuec = Veja FUEC/Formulário
|
||||
expresosController.lbl.btnVerListaPasajeros = Veja lista de passageiros
|
||||
expresosController.lbl.btnVerPlanilla = Ver Formulário
|
||||
expresosController.lbl.cargarFluec = Anexar FLUEC
|
||||
expresosController.lbl.cargarPlaca = Anexar Placa
|
||||
expresosController.lbl.idaVuelta = Ida
|
||||
|
@ -7594,75 +7583,6 @@ indexController.mnEquivalencia.label = Equivalencia
|
|||
indexController.mnEsquemaOperacional.label = Esquema Operacional
|
||||
#Expressos
|
||||
indexController.mnExpressos.label = Expresso
|
||||
indexController.mniExpressosPorCotizar.label = Expresso a ser cotado
|
||||
indexController.mniExpressosCargaContrato.label = Taxa de contrato
|
||||
indexController.mniExpressosProgramacionVehiculos.label = Programação de veículos
|
||||
|
||||
verDetalleExpreso.window.title =Detalhe expresso
|
||||
expresosPorCotizarCotizar.window.title = Cotação Expressa
|
||||
|
||||
expressosPorCotizarFechaInicioController.lblDesc.label = Data de início
|
||||
expressosPorCotizarFechaFinController.lblDesc.label = Data final
|
||||
expressosPorCotizarEmpresaController.lblDesc.label = Empresa
|
||||
expressosPorCotizarServiciosInactivosController.lblDesc.label = Serviços inativos
|
||||
expressosPorCotizarController.btnPesquisa.label = Pesquisa
|
||||
expressosPorCotizarController.lhNumSolicitud.label = # Aplicativo
|
||||
expressosPorCotizarController.lhFechaSolicitud.label = Data da inscrição
|
||||
expressosPorCotizarController.lhRuta.label = Rota
|
||||
expressosPorCotizarController.lhIdaRegreso.label = Ida e volta
|
||||
expressosPorCotizarController.lhFechaIda.label = Data de partida
|
||||
expressosPorCotizarController.lhFechaRegreso.label = Data de retorno
|
||||
expressosPorCotizarController.lhSitioRecogidaIda.label = Local de coleta unidirecional
|
||||
expressosPorCotizarController.lhSitioRecogidaRegreso.label = Devolução de retirada no local
|
||||
expressosPorCotizarController.lhEstadiaConductor.label = Estadia do motorista
|
||||
expressosPorCotizarBuscarController.lblDesc.label = Pesquisa
|
||||
expressosPorCotizarVerDetalleController.lblDesc.label = Ver detalhe
|
||||
expressosPorCotizarPagoCreditoController.lblDesc.label = Pagamento de crédito
|
||||
indexController.mniExpressosPorCotizar.label = Expresso a ser cotado
|
||||
expresosPorCotizarPagoCredito.window.title = Pagamento de crédito
|
||||
expressosPorCotizarCotizarController.lblDesc.label = Cotação
|
||||
expressosPorCotizarController.lhCantidadPasajeros.label = Número de passageiros
|
||||
expressosPorCotizarController.lhAdjuntarCotizacion.label = Anexar orçamento
|
||||
expressosPorCotizarController.lhCantidadVehiculos.label = Quantidade de veículos
|
||||
expressosPorCotizarController.lhValorTrayecto.label = Valor da viagem
|
||||
expressosPorCotizarController.lblOrigen.label = Origem
|
||||
expressosPorCotizarController.lblDestino.label = Destino
|
||||
expressosPorCotizarController.lblAgregarTrayecto.label = Adicionar viagem
|
||||
cargarContratoController.lhAdjuntarContrato.label = Anexar Contrato
|
||||
expressosPorCotizarController.lhTrayecto.label = trajetória
|
||||
expressosPorCotizarController.lhCodigoViaje.label = Código de viagem
|
||||
expressosPorCotizarController.lhPlacaVehiculo.label = Placa
|
||||
expressosPorCotizarController.lhFluecPlanilla.label = FLUEC - Retorno Ocasional
|
||||
asignarBusExpreso.window.title = Viagem Expressa
|
||||
expresosController.lbl.cargarFluec = Anexar FLUEC
|
||||
expresosController.lbl.cargarPlaca = Anexar Placa
|
||||
|
||||
indexController.mniExpressosDocumentos.label = Documentos
|
||||
|
||||
expresosController.lbl.verDetalle = Ver detalhe
|
||||
expresosController.lbl.asignarBus = Atribuir ônibus
|
||||
expresosController.lbl.pagadoCredito = Pagado a Crédito
|
||||
expresosController.lbl.idaVuelta = Ida e volta
|
||||
expresosController.lbl.idaVuelta = Ida
|
||||
|
||||
expresoController.MSG.errorArchivo = Arquivo inválido ou nulo
|
||||
cargaContratoController.MSG.errorExpresoNull = Selecione Expresso para Associar Contrato
|
||||
cotizarExpresoController.MSG.emailEnviado = Cotação Expressa Correta
|
||||
expresoController.MSG.emailNoEnviado = Houve um problema. Verifique os registros
|
||||
expresoController.MSG.asuntoCorreoCotizacion = Solicitação expressa cotada
|
||||
expresoController.MSG.cuerpoCorreoCotizacion = Prezado {0}, o pedido expresso foi cotado, no link a seguir {1} você pode aceitar o orçamento e efetuar o pagamento.
|
||||
|
||||
expresosController.lbl.btnVerContrato = Ver Contrato
|
||||
expresosController.lbl.btnVerFuec = Veja FUEC/Formulário
|
||||
expresosController.lbl.btnVerListaPasajeros = Veja lista de passageiros
|
||||
|
||||
indexController.mniExpressosCumplimientoServicio.label = Conformidade de serviço
|
||||
expressosPorCotizarController.lhEstado.label = Estado
|
||||
expresosController.lbl.btnCargarCumplimientoServicio = Anexar documento
|
||||
expresosController.lbl.estadoSolicitado = Obrigatório
|
||||
expresosController.lbl.estadoEnviado = Enviado
|
||||
expresosController.lbl.estadoAceptado = Aceito
|
||||
expresosController.lbl.estadoRechazado = Recusado
|
||||
#GR
|
||||
indexController.mnGR.label = Estoque de Passagem
|
||||
#Gestao de Pricing
|
||||
|
@ -7935,6 +7855,7 @@ indexController.mniRelatorioDepositosDetalhados.label = Depósitos Detalhados
|
|||
indexController.mniRelatorioDescontoPorCupom.label = Relatório Desconto Por Cupom
|
||||
indexController.mniRelatorioDescontos.label = Vendas com Desconto
|
||||
indexController.mniRelatorioDesempenhoPorLinha.label = Desempenho por Linha
|
||||
indexController.mniRelatorioDetalheContrato.label = Relatório Detalhes do Contrato
|
||||
indexController.mniRelatorioDevolucaoBilhetes.label = Bilhetes Devolvidos
|
||||
indexController.mniRelatorioDiferencasTransferencias.label = Diferenças em Transferências
|
||||
indexController.mniRelatorioDocumentosFiscais.label = Relatório Documentos Fiscais
|
||||
|
@ -7998,6 +7919,7 @@ indexController.mniRelatorioResumoLinhas.label = Resumo de Linhas
|
|||
indexController.mniRelatorioResumoVendaOrgaoConcedente.label = Relatorio Resumo Venda Órgao Concedente
|
||||
# Retorno Bancario
|
||||
indexController.mniRelatorioRetornoBancario.label = Retorno Bancário
|
||||
indexController.mniRelatorioSaldosContratos.label = Relatório Saldos de Contratos
|
||||
indexController.mniRelatorioSap.label = SAP
|
||||
indexController.mniRelatorioSegundaVia.label = Segunda Via
|
||||
indexController.mniRelatorioServicoBloqueadoVendaInternet.label = Serviço Bloqueado na Venda Internet
|
||||
|
@ -8188,7 +8110,6 @@ label.classePagamento.credito = À vista
|
|||
label.classeServico = Tipo Classe
|
||||
label.clienteCorporativo = Cliente Corporativo
|
||||
label.complemento = Complemento
|
||||
label.configuracaoIziPay = IziPay
|
||||
label.credito = Crédito
|
||||
label.criacao = Criação
|
||||
label.dataFinal = Data Final
|
||||
|
@ -8262,7 +8183,6 @@ label.tipoTarifa = Tipo Tarifa
|
|||
label.tipoTarifa.fixa = Fixa
|
||||
label.tipoTarifa.variavel = Variável
|
||||
label.transportadora = Transportadora
|
||||
label.url = URL
|
||||
label.valor = Valor
|
||||
label.valorContrato = Valor Contrato
|
||||
label.valorLegalizado = Valor Legalizado
|
||||
|
@ -8942,6 +8862,18 @@ relatorioDesempenhoPorLinhaController.lbPuntoVenta.value = Agência
|
|||
relatorioDesempenhoPorLinhaController.linha = Relatório por Linha
|
||||
relatorioDesempenhoPorLinhaController.trecho = Relatório por Trecho
|
||||
relatorioDesempenhoPorLinhaController.window.title = Relatório de Aproveitamento Financeiro
|
||||
relatorioDetalheContratoController.lblCriacao.value = Criação
|
||||
relatorioDetalheContratoController.lblCriacaoLegalizacao.value = Criação/legalização
|
||||
relatorioDetalheContratoController.lblDataFinal.value = Data Final
|
||||
relatorioDetalheContratoController.lblDataInicial.value = Data Inicial
|
||||
relatorioDetalheContratoController.lblEstadoBilhete.value = Estado Bilhete
|
||||
relatorioDetalheContratoController.lblFaturado.value = Faturado
|
||||
relatorioDetalheContratoController.lblLegalizacao.value = Legalização
|
||||
relatorioDetalheContratoController.lblNaoFaturado.value = Não Faturado
|
||||
relatorioDetalheContratoController.lblNumContrato.value = Num. Contrato
|
||||
relatorioDetalheContratoController.lblSaldoContrato.value = Saldo do Contrato
|
||||
relatorioDetalheContratoController.lblTodos.value = Todos
|
||||
relatorioDetalheContratoController.window.title = Relatório Detalhes Contrato
|
||||
relatorioDevolucaoBilhetesAgenciaController.btnLimpar.label = Limpar Seleção
|
||||
relatorioDevolucaoBilhetesAgenciaController.btnPesquisa.label = Pesquisar
|
||||
relatorioDevolucaoBilhetesAgenciaController.chkDesconsideraMes.label = Desconsiderar devoluções no mês/ano da emissão
|
||||
|
@ -9837,6 +9769,15 @@ relatorioRetornoBancario.MSG.extensaoInvalida = Somente arquivos no formato de r
|
|||
relatorioRetornoBancario.fileupload.label = Selecionar Arquivo...
|
||||
relatorioRetornoBancario.lbEmpresa.value = Empresa
|
||||
relatorioRetornoBancario.window.title = Processamento de Retorno Bancário
|
||||
relatorioSaldosContratosController.lblDataFinal.value = Data Final
|
||||
relatorioSaldosContratosController.lblDataInicial.value = Data Inicial
|
||||
relatorioSaldosContratosController.lblEstadoBilhete.value = Estado Bilhete
|
||||
relatorioSaldosContratosController.lblFaturado.value = Faturado
|
||||
relatorioSaldosContratosController.lblGrupoContrato.value = Grupo Contrato
|
||||
relatorioSaldosContratosController.lblNaoFaturado.value = Não Faturado
|
||||
relatorioSaldosContratosController.lblNumContrato.value = Num. Contrato
|
||||
relatorioSaldosContratosController.lblTodos.value = Todos
|
||||
relatorioSaldosContratosController.window.title = Relatório Saldos de Contratos
|
||||
relatorioSapController.MGS.alertaArquivoRemessaNaoGerado = Arquivo de remessa não pôde ser criado, favor entrar em contato com o suporte.
|
||||
relatorioSapController.MGS.alertaCNABSemItens = Não há itens fechamento a enviar para esta empresa
|
||||
relatorioSapController.MGS.erroIntegraManual = Execução manual de integração com SAP
|
||||
|
|
|
@ -0,0 +1,64 @@
|
|||
<?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="winFiltroRelatorioDetalheContrato"?>
|
||||
<?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c"?>
|
||||
|
||||
<zk xmlns="http://www.zkoss.org/2005/zul">
|
||||
<window id="winFiltroRelatorioDetalheContrato"
|
||||
apply="${relatorioDetalheContratoController}" contentStyle="overflow:auto"
|
||||
width="400px" border="normal">
|
||||
|
||||
<grid fixedLayout="true">
|
||||
<columns>
|
||||
<column width="30%" />
|
||||
<column width="70%" />
|
||||
</columns>
|
||||
<rows>
|
||||
<row>
|
||||
<label
|
||||
value="${c:l('relatorioDetalheContratoController.lblDataInicial.value')}" />
|
||||
<datebox id="datInicial" width="100%" mold="rounded"
|
||||
format="dd/MM/yyyy" maxlength="10" />
|
||||
</row>
|
||||
<row >
|
||||
<label
|
||||
value="${c:l('relatorioDetalheContratoController.lblDataFinal.value')}" />
|
||||
<datebox id="datFinal" width="100%" mold="rounded"
|
||||
format="dd/MM/yyyy" maxlength="10" />
|
||||
</row>
|
||||
<row >
|
||||
<label
|
||||
value="${c:l('relatorioDetalheContratoController.lblCriacaoLegalizacao.value')}" />
|
||||
<radiogroup Id="legalizacao">
|
||||
<radio id="rdbCriacao" label="${c:l('relatorioDetalheContratoController.lblCriacao.value')}" selected="true"/>
|
||||
<radio id="rdbLegalizacao" label="${c:l('relatorioDetalheContratoController.lblLegalizacao.value')}" />
|
||||
</radiogroup>
|
||||
</row>
|
||||
<row >
|
||||
<label
|
||||
value="${c:l('relatorioDetalheContratoController.lblEstadoBilhete.value')}" />
|
||||
<radiogroup Id="satus">
|
||||
<radio id="rdbFaturado" label="${c:l('relatorioDetalheContratoController.lblFaturado.value')}" selected="true"/>
|
||||
<radio id="rdbNaoFaturado" label="${c:l('relatorioDetalheContratoController.lblNaoFaturado.value')}" />
|
||||
<radio id="rdbTodos" label="${c:l('relatorioDetalheContratoController.lblTodos.value')}" />
|
||||
</radiogroup>
|
||||
</row>
|
||||
<row spans="1,3">
|
||||
<label
|
||||
value="${c:l('relatorioDetalheContratoController.lblNumContrato.value')}" />
|
||||
<textbox id="txtNumContrato" maxlength="10" width="100%" use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"/>
|
||||
</row>
|
||||
<row spans="1,3">
|
||||
<label
|
||||
value="${c:l('relatorioDetalheContratoController.lblSaldoContrato.value')}" />
|
||||
<checkbox id="cbxSaldoContrato"/>
|
||||
</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