fixes bug mantis #6798
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@49698 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
3eeb7971bf
commit
9c78a30cec
|
@ -0,0 +1,143 @@
|
||||||
|
package com.rjconsultores.ventaboletos.relatorios.impl;
|
||||||
|
|
||||||
|
import java.sql.Connection;
|
||||||
|
import java.sql.ResultSet;
|
||||||
|
import java.sql.SQLException;
|
||||||
|
import java.text.ParseException;
|
||||||
|
import java.util.ArrayList;
|
||||||
|
import java.util.Date;
|
||||||
|
import java.util.List;
|
||||||
|
import java.util.Map;
|
||||||
|
|
||||||
|
import org.apache.log4j.Logger;
|
||||||
|
|
||||||
|
import com.rjconsultores.ventaboletos.relatorios.utilitarios.DataSource;
|
||||||
|
import com.rjconsultores.ventaboletos.relatorios.utilitarios.Relatorio;
|
||||||
|
import com.rjconsultores.ventaboletos.vo.comissao.LogConferenciaVO;
|
||||||
|
import com.rjconsultores.ventaboletos.web.utilerias.NamedParameterStatement;
|
||||||
|
|
||||||
|
import net.sf.jasperreports.engine.data.JRBeanCollectionDataSource;
|
||||||
|
|
||||||
|
public class RelatorioObservacaoBilhetes extends Relatorio {
|
||||||
|
|
||||||
|
private static Logger log = Logger.getLogger(RelatorioObservacaoBilhetes.class);
|
||||||
|
private Integer empresaId;
|
||||||
|
private Integer puntoventaId;
|
||||||
|
private Date dataInicial;
|
||||||
|
private Date dataFinal;
|
||||||
|
|
||||||
|
public RelatorioObservacaoBilhetes(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();
|
||||||
|
definirFiltros(this.relatorio.getParametros());
|
||||||
|
List<LogConferenciaVO> lsDadosRelatorio = processarRelatorio(conexao);
|
||||||
|
setLsDadosRelatorio(lsDadosRelatorio);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
private List<LogConferenciaVO> processarRelatorio(Connection conexao) throws ParseException {
|
||||||
|
List<LogConferenciaVO> lsDadosRelatorio = new ArrayList<LogConferenciaVO>();
|
||||||
|
ResultSet rset = null;
|
||||||
|
NamedParameterStatement stmt = null;
|
||||||
|
try {
|
||||||
|
StringBuilder sQuery = new StringBuilder();
|
||||||
|
sQuery.append("SELECT PV.NOMBPUNTOVENTA, C.DATAMOVIMENTO, LOG.STATUS, LOG.OBSERVACAO, B.NUMFOLIOSISTEMA, CAT.DESCCATEGORIA, LOG.PRECO, LOG.FECMODIF, LOG.INDCREDITO, B.TIPOVENTA_ID, U.NOMBUSUARIO ")
|
||||||
|
.append("FROM LOG_CONFERENCIA LOG ")
|
||||||
|
.append("INNER JOIN CONFERENCIA C ON C.CONFERENCIA_ID = LOG.CONFERENCIA_ID ")
|
||||||
|
.append("INNER JOIN EMPRESA E ON E.EMPRESA_ID = C.EMPRESA_ID ")
|
||||||
|
.append("INNER JOIN PUNTO_VENTA PV ON PV.PUNTOVENTA_ID = C.PUNTOVENTA_ID ")
|
||||||
|
.append("INNER JOIN USUARIO U ON U.USUARIO_ID = LOG.USUARIO_ID ")
|
||||||
|
.append("INNER JOIN BOLETO B ON B.BOLETO_ID = LOG.BOLETO_ID ")
|
||||||
|
.append("INNER JOIN CATEGORIA CAT ON CAT.CATEGORIA_ID = B.CATEGORIA_ID ")
|
||||||
|
.append("WHERE LOG.ACTIVO = 1 ")
|
||||||
|
.append("AND C.DATAMOVIMENTO BETWEEN :dataInicial AND :dataFinal ");
|
||||||
|
|
||||||
|
if(empresaId != null) {
|
||||||
|
sQuery.append("AND C.EMPRESA_ID = :empresaId ");
|
||||||
|
}
|
||||||
|
|
||||||
|
if(puntoventaId != null) {
|
||||||
|
sQuery.append("AND PV.PUNTOVENTA_ID = :puntoventaId ");
|
||||||
|
}
|
||||||
|
|
||||||
|
sQuery.append("ORDER BY C.DATAMOVIMENTO");
|
||||||
|
|
||||||
|
log.info(sQuery.toString());
|
||||||
|
|
||||||
|
stmt = new NamedParameterStatement(conexao, sQuery.toString());
|
||||||
|
if(empresaId != null) {
|
||||||
|
stmt.setInt("empresaId", empresaId);
|
||||||
|
}
|
||||||
|
|
||||||
|
if(puntoventaId != null) {
|
||||||
|
stmt.setInt("puntoventaId", puntoventaId);
|
||||||
|
}
|
||||||
|
stmt.setDate("dataInicial", new java.sql.Date(dataInicial.getTime()));
|
||||||
|
stmt.setDate("dataFinal", new java.sql.Date(dataFinal.getTime()));
|
||||||
|
|
||||||
|
rset = stmt.executeQuery();
|
||||||
|
|
||||||
|
while (rset.next()) {
|
||||||
|
LogConferenciaVO logConferencia = new LogConferenciaVO();
|
||||||
|
logConferencia.setDatamovimento(rset.getDate("datamovimento"));
|
||||||
|
logConferencia.setNombpuntoventa(rset.getString("nombpuntoventa"));
|
||||||
|
logConferencia.setStatus(rset.getInt("status"));
|
||||||
|
logConferencia.setNumfoliosistema(rset.getString("numfoliosistema"));
|
||||||
|
logConferencia.setTipoventa(rset.getInt("tipoventa_id"));
|
||||||
|
logConferencia.setObservacao(rset.getString("observacao"));
|
||||||
|
logConferencia.setDesccategoria(rset.getString("desccategoria"));
|
||||||
|
logConferencia.setFecmodif(rset.getDate("fecmodif"));
|
||||||
|
logConferencia.setIndcredito(rset.getBoolean("indcredito"));
|
||||||
|
logConferencia.setNombusuario(rset.getString("nombusuario"));
|
||||||
|
logConferencia.setPreco(rset.getBigDecimal("preco"));
|
||||||
|
|
||||||
|
lsDadosRelatorio.add(logConferencia);
|
||||||
|
}
|
||||||
|
|
||||||
|
return lsDadosRelatorio;
|
||||||
|
} catch (Exception e) {
|
||||||
|
log.error(e.getMessage(), e);
|
||||||
|
} finally {
|
||||||
|
try {
|
||||||
|
if(rset != null) {
|
||||||
|
rset.close();
|
||||||
|
}
|
||||||
|
if(stmt != null) {
|
||||||
|
stmt.close();
|
||||||
|
}
|
||||||
|
} catch (SQLException e) {
|
||||||
|
log.error(e.getMessage(), e);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setLsDadosRelatorio(List<LogConferenciaVO> lsDadosRelatorio) {
|
||||||
|
this.setCollectionDataSource(new JRBeanCollectionDataSource(lsDadosRelatorio));
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected void processaParametros() throws Exception {
|
||||||
|
}
|
||||||
|
|
||||||
|
private void definirFiltros(Map<String, Object> parametros) throws ParseException {
|
||||||
|
Integer puntoventaId = (Integer) parametros.get("puntoventaId");
|
||||||
|
Integer empresaId = (Integer) parametros.get("empresaId");
|
||||||
|
this.dataInicial = (Date) parametros.get("dataFiltroInicial");
|
||||||
|
this.dataFinal = (Date) parametros.get("dataFiltroFinal");
|
||||||
|
|
||||||
|
if(empresaId != null) {
|
||||||
|
this.empresaId = empresaId;
|
||||||
|
}
|
||||||
|
if(puntoventaId != null) {
|
||||||
|
this.puntoventaId = puntoventaId;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
|
@ -0,0 +1,142 @@
|
||||||
|
package com.rjconsultores.ventaboletos.relatorios.impl;
|
||||||
|
|
||||||
|
import java.sql.Connection;
|
||||||
|
import java.sql.ResultSet;
|
||||||
|
import java.sql.SQLException;
|
||||||
|
import java.text.ParseException;
|
||||||
|
import java.util.ArrayList;
|
||||||
|
import java.util.Date;
|
||||||
|
import java.util.List;
|
||||||
|
import java.util.Map;
|
||||||
|
|
||||||
|
import org.apache.log4j.Logger;
|
||||||
|
|
||||||
|
import com.rjconsultores.ventaboletos.relatorios.utilitarios.DataSource;
|
||||||
|
import com.rjconsultores.ventaboletos.relatorios.utilitarios.Relatorio;
|
||||||
|
import com.rjconsultores.ventaboletos.vo.comissao.LogConferenciaVO;
|
||||||
|
import com.rjconsultores.ventaboletos.web.utilerias.NamedParameterStatement;
|
||||||
|
|
||||||
|
import net.sf.jasperreports.engine.data.JRBeanCollectionDataSource;
|
||||||
|
|
||||||
|
public class RelatorioObservacaoEventosFinanceiros extends Relatorio {
|
||||||
|
|
||||||
|
private static Logger log = Logger.getLogger(RelatorioObservacaoEventosFinanceiros.class);
|
||||||
|
private Integer empresaId;
|
||||||
|
private Integer puntoventaId;
|
||||||
|
private Date dataInicial;
|
||||||
|
private Date dataFinal;
|
||||||
|
|
||||||
|
public RelatorioObservacaoEventosFinanceiros(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();
|
||||||
|
definirFiltros(this.relatorio.getParametros());
|
||||||
|
List<LogConferenciaVO> lsDadosRelatorio = processarRelatorio(conexao);
|
||||||
|
setLsDadosRelatorio(lsDadosRelatorio);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
private List<LogConferenciaVO> processarRelatorio(Connection conexao) throws ParseException {
|
||||||
|
List<LogConferenciaVO> lsDadosRelatorio = new ArrayList<LogConferenciaVO>();
|
||||||
|
ResultSet rset = null;
|
||||||
|
NamedParameterStatement stmt = null;
|
||||||
|
try {
|
||||||
|
StringBuilder sQuery = new StringBuilder();
|
||||||
|
sQuery.append("SELECT PV.NOMBPUNTOVENTA, C.DATAMOVIMENTO, LOG.STATUS, LOG.OBSERVACAO, EE.DESCINFO, TEE.DESCTIPOEVENTO, LOG.PRECO, LOG.FECMODIF, LOG.INDCREDITO, U.NOMBUSUARIO ")
|
||||||
|
.append("FROM LOG_CONFERENCIA LOG ")
|
||||||
|
.append("INNER JOIN CONFERENCIA C ON C.CONFERENCIA_ID = LOG.CONFERENCIA_ID ")
|
||||||
|
.append("INNER JOIN EMPRESA E ON E.EMPRESA_ID = C.EMPRESA_ID ")
|
||||||
|
.append("INNER JOIN PUNTO_VENTA PV ON PV.PUNTOVENTA_ID = C.PUNTOVENTA_ID ")
|
||||||
|
.append("INNER JOIN USUARIO U ON U.USUARIO_ID = LOG.USUARIO_ID ")
|
||||||
|
.append("INNER JOIN EVENTO_EXTRA EE ON EE.EVENTOEXTRA_ID = LOG.EVENTOEXTRA_ID ")
|
||||||
|
.append("INNER JOIN TIPO_EVENTO_EXTRA TEE ON TEE.TIPOEVENTOEXTRA_ID = EE.TIPOEVENTOEXTRA_ID ")
|
||||||
|
.append("WHERE LOG.ACTIVO = 1 ")
|
||||||
|
.append("AND C.DATAMOVIMENTO BETWEEN :dataInicial AND :dataFinal ");
|
||||||
|
|
||||||
|
if(empresaId != null) {
|
||||||
|
sQuery.append("AND C.EMPRESA_ID = :empresaId ");
|
||||||
|
}
|
||||||
|
|
||||||
|
if(puntoventaId != null) {
|
||||||
|
sQuery.append("AND PV.PUNTOVENTA_ID = :puntoventaId ");
|
||||||
|
}
|
||||||
|
|
||||||
|
sQuery.append("ORDER BY C.DATAMOVIMENTO");
|
||||||
|
|
||||||
|
log.info(sQuery.toString());
|
||||||
|
|
||||||
|
stmt = new NamedParameterStatement(conexao, sQuery.toString());
|
||||||
|
if(empresaId != null) {
|
||||||
|
stmt.setInt("empresaId", empresaId);
|
||||||
|
}
|
||||||
|
|
||||||
|
if(puntoventaId != null) {
|
||||||
|
stmt.setInt("puntoventaId", puntoventaId);
|
||||||
|
}
|
||||||
|
stmt.setDate("dataInicial", new java.sql.Date(dataInicial.getTime()));
|
||||||
|
stmt.setDate("dataFinal", new java.sql.Date(dataFinal.getTime()));
|
||||||
|
|
||||||
|
rset = stmt.executeQuery();
|
||||||
|
|
||||||
|
while (rset.next()) {
|
||||||
|
LogConferenciaVO logConferencia = new LogConferenciaVO();
|
||||||
|
logConferencia.setDatamovimento(rset.getDate("datamovimento"));
|
||||||
|
logConferencia.setNombpuntoventa(rset.getString("nombpuntoventa"));
|
||||||
|
logConferencia.setStatus(rset.getInt("status"));
|
||||||
|
logConferencia.setDescinfoevento(rset.getString("descinfo"));
|
||||||
|
logConferencia.setDesctipoevento(rset.getString("desctipoevento"));
|
||||||
|
logConferencia.setObservacao(rset.getString("observacao"));
|
||||||
|
logConferencia.setFecmodif(rset.getDate("fecmodif"));
|
||||||
|
logConferencia.setIndcredito(rset.getBoolean("indcredito"));
|
||||||
|
logConferencia.setNombusuario(rset.getString("nombusuario"));
|
||||||
|
logConferencia.setPreco(rset.getBigDecimal("preco"));
|
||||||
|
|
||||||
|
lsDadosRelatorio.add(logConferencia);
|
||||||
|
}
|
||||||
|
|
||||||
|
return lsDadosRelatorio;
|
||||||
|
} catch (Exception e) {
|
||||||
|
log.error(e.getMessage(), e);
|
||||||
|
} finally {
|
||||||
|
try {
|
||||||
|
if(rset != null) {
|
||||||
|
rset.close();
|
||||||
|
}
|
||||||
|
if(stmt != null) {
|
||||||
|
stmt.close();
|
||||||
|
}
|
||||||
|
} catch (SQLException e) {
|
||||||
|
log.error(e.getMessage(), e);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setLsDadosRelatorio(List<LogConferenciaVO> lsDadosRelatorio) {
|
||||||
|
this.setCollectionDataSource(new JRBeanCollectionDataSource(lsDadosRelatorio));
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected void processaParametros() throws Exception {
|
||||||
|
}
|
||||||
|
|
||||||
|
private void definirFiltros(Map<String, Object> parametros) throws ParseException {
|
||||||
|
Integer puntoventaId = (Integer) parametros.get("puntoventaId");
|
||||||
|
Integer empresaId = (Integer) parametros.get("empresaId");
|
||||||
|
this.dataInicial = (Date) parametros.get("dataFiltroInicial");
|
||||||
|
this.dataFinal = (Date) parametros.get("dataFiltroFinal");
|
||||||
|
|
||||||
|
if(empresaId != null) {
|
||||||
|
this.empresaId = empresaId;
|
||||||
|
}
|
||||||
|
if(puntoventaId != null) {
|
||||||
|
this.puntoventaId = puntoventaId;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
|
@ -0,0 +1,27 @@
|
||||||
|
#geral
|
||||||
|
msg.noData=Não foi possivel obter dados com os parâmetros informados.
|
||||||
|
|
||||||
|
#Labels cabeçalho
|
||||||
|
cabecalho.nome=Relatório Observações Bilhetes
|
||||||
|
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:
|
||||||
|
cabecalho.usuario=Usuário:
|
||||||
|
cabecalho.puntoventa=Punto Venta:
|
||||||
|
cabecalho.empresa=Empresa:
|
||||||
|
label.puntoventa=Punto Venta
|
||||||
|
label.usuario=Usuário
|
||||||
|
label.datamovimento=Data Mov.
|
||||||
|
label.statusDescricao=Situação
|
||||||
|
label.numfoliosistema=Nº Bilhete
|
||||||
|
label.desccategoria=Categoria
|
||||||
|
label.observacao=Observação
|
||||||
|
label.preco=Valor
|
||||||
|
label.debitoCredito=D/C
|
||||||
|
label.fecmodif=Dt. Alt.
|
||||||
|
label.tipoventa=Tipo Venta
|
|
@ -0,0 +1,27 @@
|
||||||
|
#geral
|
||||||
|
msg.noData=Não foi possivel obter dados com os parâmetros informados.
|
||||||
|
|
||||||
|
#Labels cabeçalho
|
||||||
|
cabecalho.nome=Relatório Observações Bilhetes
|
||||||
|
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:
|
||||||
|
cabecalho.usuario=Usuário:
|
||||||
|
cabecalho.puntoventa=Punto Venta:
|
||||||
|
cabecalho.empresa=Empresa:
|
||||||
|
label.puntoventa=Punto Venta
|
||||||
|
label.usuario=Usuário
|
||||||
|
label.datamovimento=Data Mov.
|
||||||
|
label.statusDescricao=Situação
|
||||||
|
label.numfoliosistema=Nº Bilhete
|
||||||
|
label.desccategoria=Categoria
|
||||||
|
label.observacao=Observação
|
||||||
|
label.preco=Valor
|
||||||
|
label.debitoCredito=D/C
|
||||||
|
label.fecmodif=Dt. Alt.
|
||||||
|
label.tipoventa=Tipo Venta
|
|
@ -0,0 +1,26 @@
|
||||||
|
#geral
|
||||||
|
msg.noData=Não foi possivel obter dados com os parâmetros informados.
|
||||||
|
|
||||||
|
#Labels cabeçalho
|
||||||
|
cabecalho.nome=Relatório Observações Eventos Financeiros
|
||||||
|
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:
|
||||||
|
cabecalho.usuario=Usuário:
|
||||||
|
cabecalho.puntoventa=Punto Venta:
|
||||||
|
cabecalho.empresa=Empresa:
|
||||||
|
label.puntoventa=Punto Venta
|
||||||
|
label.usuario=Usuário
|
||||||
|
label.datamovimento=Data Mov.
|
||||||
|
label.statusDescricao=Situação
|
||||||
|
label.desctipoevento=Tipo Evento
|
||||||
|
label.descinfoevento=Evento Extra
|
||||||
|
label.observacao=Observação
|
||||||
|
label.preco=Valor
|
||||||
|
label.debitoCredito=D/C
|
||||||
|
label.fecmodif=Dt. Alt.
|
|
@ -0,0 +1,26 @@
|
||||||
|
#geral
|
||||||
|
msg.noData=Não foi possivel obter dados com os parâmetros informados.
|
||||||
|
|
||||||
|
#Labels cabeçalho
|
||||||
|
cabecalho.nome=Relatório Observações Eventos Financeiros
|
||||||
|
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:
|
||||||
|
cabecalho.usuario=Usuário:
|
||||||
|
cabecalho.puntoventa=Punto Venta:
|
||||||
|
cabecalho.empresa=Empresa:
|
||||||
|
label.puntoventa=Punto Venta
|
||||||
|
label.usuario=Usuário
|
||||||
|
label.datamovimento=Data Mov.
|
||||||
|
label.statusDescricao=Situação
|
||||||
|
label.desctipoevento=Tipo Evento
|
||||||
|
label.descinfoevento=Evento Extra
|
||||||
|
label.observacao=Observação
|
||||||
|
label.preco=Valor
|
||||||
|
label.debitoCredito=D/C
|
||||||
|
label.fecmodif=Dt. Alt.
|
Binary file not shown.
|
@ -0,0 +1,265 @@
|
||||||
|
<?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="RelatorioObservacaoBilhetes" pageWidth="842" pageHeight="595" orientation="Landscape" whenNoDataType="NoDataSection" columnWidth="822" leftMargin="10" rightMargin="10" topMargin="20" bottomMargin="20" uuid="84b9dfcf-8ec5-4f51-80cc-7339e3b158b4">
|
||||||
|
<property name="ireport.zoom" value="2.0"/>
|
||||||
|
<property name="ireport.x" value="0"/>
|
||||||
|
<property name="ireport.y" value="11"/>
|
||||||
|
<style name="Crosstab Data Text" hAlign="Center"/>
|
||||||
|
<parameter name="empresa" class="java.lang.String"/>
|
||||||
|
<parameter name="noDataRelatorio" class="java.lang.String"/>
|
||||||
|
<parameter name="usuario" class="java.lang.String"/>
|
||||||
|
<parameter name="competencia" class="java.lang.String"/>
|
||||||
|
<parameter name="puntoventa" class="java.lang.String"/>
|
||||||
|
<parameter name="fecFinal" class="java.lang.String"/>
|
||||||
|
<parameter name="fecInicio" class="java.lang.String"/>
|
||||||
|
<queryString>
|
||||||
|
<![CDATA[]]>
|
||||||
|
</queryString>
|
||||||
|
<field name="datamovimento" class="java.util.Date"/>
|
||||||
|
<field name="nombpuntoventa" class="java.lang.String"/>
|
||||||
|
<field name="desccategoria" class="java.lang.String"/>
|
||||||
|
<field name="preco" class="java.math.BigDecimal"/>
|
||||||
|
<field name="numfoliosistema" class="java.lang.String"/>
|
||||||
|
<field name="nombusuario" class="java.lang.String"/>
|
||||||
|
<field name="statusDescricao" class="java.lang.String"/>
|
||||||
|
<field name="debitoCredito" class="java.lang.String"/>
|
||||||
|
<field name="observacao" class="java.lang.String"/>
|
||||||
|
<field name="fecmodif" class="java.util.Date"/>
|
||||||
|
<field name="descricaoTipoventa" class="java.lang.String"/>
|
||||||
|
<background>
|
||||||
|
<band splitType="Stretch"/>
|
||||||
|
</background>
|
||||||
|
<title>
|
||||||
|
<band height="102" splitType="Stretch">
|
||||||
|
<textField>
|
||||||
|
<reportElement x="0" y="0" width="637" height="20" uuid="43b2c28d-4760-4890-b00d-25e931e79c74"/>
|
||||||
|
<textElement markup="none">
|
||||||
|
<font size="14" isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$R{cabecalho.nome}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField pattern="dd/MM/yyyy HH:mm">
|
||||||
|
<reportElement x="637" y="0" width="164" height="20" uuid="4d1bcd65-c9a6-44b4-8dca-cc3c4c20c9a5"/>
|
||||||
|
<textElement textAlignment="Right">
|
||||||
|
<font isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isBlankWhenNull="true">
|
||||||
|
<reportElement x="0" y="60" width="637" height="20" uuid="a16eb33b-78ca-4fb4-80c2-f5c85a0d09c3"/>
|
||||||
|
<textElement>
|
||||||
|
<font isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$R{cabecalho.puntoventa} + " " + $P{puntoventa}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isBlankWhenNull="true">
|
||||||
|
<reportElement x="0" y="80" width="801" height="20" uuid="979b7126-0e47-4885-8a07-d8f9aa75a204"/>
|
||||||
|
<textElement>
|
||||||
|
<font isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$R{cabecalho.usuario} + " " + $P{usuario}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isBlankWhenNull="true">
|
||||||
|
<reportElement x="0" y="40" width="637" height="20" uuid="90cdfa43-be94-4edc-b974-e267d2c5e82a"/>
|
||||||
|
<textElement>
|
||||||
|
<font isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$R{cabecalho.empresa} + " " + $P{empresa}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isBlankWhenNull="true">
|
||||||
|
<reportElement x="0" y="20" width="637" height="20" uuid="f75c1624-725f-4ed7-9db7-7d396221d505"/>
|
||||||
|
<textElement>
|
||||||
|
<font isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$R{cabecalho.periodo} + " " + $P{fecInicio} + " " + $R{cabecalho.periodoA} + " " + $P{fecFinal}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
</band>
|
||||||
|
</title>
|
||||||
|
<pageHeader>
|
||||||
|
<band height="21" splitType="Stretch">
|
||||||
|
<line>
|
||||||
|
<reportElement x="0" y="19" width="802" height="1" uuid="4f39b5b4-849a-4fe2-9365-06930866fbaa"/>
|
||||||
|
</line>
|
||||||
|
<textField>
|
||||||
|
<reportElement x="637" y="0" width="164" height="20" uuid="6a8a0843-7236-40a3-98ae-5fbf59b4cfec"/>
|
||||||
|
<textElement textAlignment="Right">
|
||||||
|
<font isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$R{cabecalho.pagina} + " " + $V{PAGE_NUMBER}+ " " + $R{cabecalho.de} + " " + $V{PAGE_NUMBER}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
</band>
|
||||||
|
</pageHeader>
|
||||||
|
<columnHeader>
|
||||||
|
<band height="21" splitType="Stretch">
|
||||||
|
<textField isBlankWhenNull="true">
|
||||||
|
<reportElement x="0" y="0" width="127" height="20" uuid="80c03aaa-6fb0-469c-bcb7-5a17b81a8225"/>
|
||||||
|
<textElement>
|
||||||
|
<font size="8" isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$R{label.puntoventa}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isBlankWhenNull="true">
|
||||||
|
<reportElement x="127" y="0" width="70" height="20" uuid="dbbded57-3522-4d36-9199-d4c516687979"/>
|
||||||
|
<textElement>
|
||||||
|
<font size="8" isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$R{label.datamovimento}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isBlankWhenNull="true">
|
||||||
|
<reportElement x="197" y="0" width="72" height="20" uuid="6b1e0531-657a-4396-8503-39d61e553428"/>
|
||||||
|
<textElement>
|
||||||
|
<font size="8" isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$R{label.statusDescricao}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isBlankWhenNull="true">
|
||||||
|
<reportElement x="331" y="0" width="81" height="20" uuid="070180f3-95a3-49f0-8a58-d2fd75d60f72"/>
|
||||||
|
<textElement>
|
||||||
|
<font size="8" isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$R{label.numfoliosistema}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isBlankWhenNull="true">
|
||||||
|
<reportElement x="476" y="0" width="36" height="20" uuid="98a0828f-7276-4457-a5bf-422089374096"/>
|
||||||
|
<textElement>
|
||||||
|
<font size="8" isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$R{label.debitoCredito}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isBlankWhenNull="true">
|
||||||
|
<reportElement x="512" y="0" width="99" height="20" uuid="642c2617-1ecc-48aa-8828-d6317a8ac47e"/>
|
||||||
|
<textElement>
|
||||||
|
<font size="8" isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$R{label.observacao}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isBlankWhenNull="true">
|
||||||
|
<reportElement x="611" y="0" width="68" height="20" uuid="e8553a29-c9fd-4f2b-a2aa-fc46e666e7fe"/>
|
||||||
|
<textElement>
|
||||||
|
<font size="8" isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$R{label.preco}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isBlankWhenNull="true">
|
||||||
|
<reportElement x="679" y="0" width="76" height="20" uuid="1ad0e243-a38f-48c3-83e8-34704e50a8ef"/>
|
||||||
|
<textElement>
|
||||||
|
<font size="8" isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$R{label.usuario}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isBlankWhenNull="true">
|
||||||
|
<reportElement x="412" y="0" width="64" height="20" uuid="97236380-537f-4946-a32f-0b7f551f3fa2"/>
|
||||||
|
<textElement>
|
||||||
|
<font size="8" isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$R{label.desccategoria}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isBlankWhenNull="true">
|
||||||
|
<reportElement x="755" y="1" width="67" height="20" uuid="ff685125-9afe-47d5-a02d-d527738e399e"/>
|
||||||
|
<textElement>
|
||||||
|
<font size="8" isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$R{label.fecmodif}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isBlankWhenNull="true">
|
||||||
|
<reportElement x="269" y="0" width="62" height="20" uuid="ea3ae2af-f9f3-41a3-9b09-ae4fc2e5b6f8"/>
|
||||||
|
<textElement>
|
||||||
|
<font size="8" isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$R{label.tipoventa}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
</band>
|
||||||
|
</columnHeader>
|
||||||
|
<detail>
|
||||||
|
<band height="22">
|
||||||
|
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||||
|
<reportElement stretchType="RelativeToTallestObject" x="197" y="1" width="72" height="20" uuid="fbd0605d-7d74-4154-8687-db3e7cf1fb4f"/>
|
||||||
|
<textElement>
|
||||||
|
<font size="8" isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$F{statusDescricao}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||||
|
<reportElement stretchType="RelativeToTallestObject" x="412" y="1" width="64" height="20" uuid="7522ad78-b626-48f1-9f4d-527ee669e543"/>
|
||||||
|
<textElement>
|
||||||
|
<font size="8" isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$F{desccategoria}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||||
|
<reportElement stretchType="RelativeToTallestObject" x="476" y="1" width="36" height="20" uuid="78cf32de-cc90-48c0-bae4-986d660833d6"/>
|
||||||
|
<textElement>
|
||||||
|
<font size="8" isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$F{debitoCredito}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||||
|
<reportElement stretchType="RelativeToTallestObject" x="679" y="1" width="76" height="20" uuid="037c8a6d-8837-42c7-9764-80348f63540c"/>
|
||||||
|
<textElement>
|
||||||
|
<font size="8" isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$F{nombusuario}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isStretchWithOverflow="true" pattern="dd/MM/yyyy" isBlankWhenNull="true">
|
||||||
|
<reportElement stretchType="RelativeToTallestObject" x="127" y="1" width="70" height="20" uuid="f411db37-6c4a-4f34-ab06-2480245395c0"/>
|
||||||
|
<textElement>
|
||||||
|
<font size="8" isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$F{datamovimento}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
|
||||||
|
<reportElement stretchType="RelativeToTallestObject" x="611" y="1" width="68" height="20" uuid="a6a5ccae-e320-4efa-a456-463c89ff2ad7"/>
|
||||||
|
<textElement>
|
||||||
|
<font size="8" isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$F{preco}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||||
|
<reportElement stretchType="RelativeToTallestObject" x="0" y="1" width="127" height="20" uuid="8d4629c3-6aaf-471d-9038-d6cf9e7e2e46"/>
|
||||||
|
<textElement>
|
||||||
|
<font size="8" isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$F{nombpuntoventa}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||||
|
<reportElement stretchType="RelativeToTallestObject" isPrintRepeatedValues="false" x="512" y="1" width="99" height="20" uuid="d1baff93-b9bd-4e66-8826-37f87ab01fd3"/>
|
||||||
|
<textElement>
|
||||||
|
<font size="8" isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$F{observacao}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||||
|
<reportElement stretchType="RelativeToTallestObject" x="331" y="1" width="81" height="20" uuid="1cd47c3e-cf69-4937-bb6c-a2cb26aac0d6"/>
|
||||||
|
<textElement>
|
||||||
|
<font size="8" isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$F{numfoliosistema}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isStretchWithOverflow="true" pattern="dd/MM/yyyy" isBlankWhenNull="true">
|
||||||
|
<reportElement stretchType="RelativeToTallestObject" x="755" y="0" width="67" height="20" uuid="9e392ba6-8364-4a57-8104-eef84a963725"/>
|
||||||
|
<textElement>
|
||||||
|
<font size="8" isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$F{fecmodif}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||||
|
<reportElement stretchType="RelativeToTallestObject" x="269" y="1" width="62" height="20" uuid="3f72b9eb-7e6b-42b8-8cc6-d3e21912b976"/>
|
||||||
|
<textElement>
|
||||||
|
<font size="8" isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$F{descricaoTipoventa}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
</band>
|
||||||
|
</detail>
|
||||||
|
<pageFooter>
|
||||||
|
<band splitType="Stretch"/>
|
||||||
|
</pageFooter>
|
||||||
|
<noData>
|
||||||
|
<band height="35">
|
||||||
|
<textField isBlankWhenNull="true">
|
||||||
|
<reportElement positionType="Float" x="0" y="0" width="555" height="20" isPrintWhenDetailOverflows="true" uuid="d7df66c6-4dc0-4f3b-88f4-b22094d29091"/>
|
||||||
|
<textElement verticalAlignment="Middle"/>
|
||||||
|
<textFieldExpression><![CDATA[$R{msg.noData}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
</band>
|
||||||
|
</noData>
|
||||||
|
</jasperReport>
|
Binary file not shown.
|
@ -0,0 +1,250 @@
|
||||||
|
<?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="RelatorioObservacaoBilhetes" pageWidth="842" pageHeight="595" orientation="Landscape" whenNoDataType="NoDataSection" columnWidth="822" leftMargin="10" rightMargin="10" topMargin="20" bottomMargin="20" uuid="84b9dfcf-8ec5-4f51-80cc-7339e3b158b4">
|
||||||
|
<property name="ireport.zoom" value="1.5"/>
|
||||||
|
<property name="ireport.x" value="0"/>
|
||||||
|
<property name="ireport.y" value="24"/>
|
||||||
|
<style name="Crosstab Data Text" hAlign="Center"/>
|
||||||
|
<parameter name="empresa" class="java.lang.String"/>
|
||||||
|
<parameter name="noDataRelatorio" class="java.lang.String"/>
|
||||||
|
<parameter name="usuario" class="java.lang.String"/>
|
||||||
|
<parameter name="competencia" class="java.lang.String"/>
|
||||||
|
<parameter name="puntoventa" class="java.lang.String"/>
|
||||||
|
<parameter name="fecFinal" class="java.lang.String"/>
|
||||||
|
<parameter name="fecInicio" class="java.lang.String"/>
|
||||||
|
<queryString>
|
||||||
|
<![CDATA[]]>
|
||||||
|
</queryString>
|
||||||
|
<field name="datamovimento" class="java.util.Date"/>
|
||||||
|
<field name="nombpuntoventa" class="java.lang.String"/>
|
||||||
|
<field name="descinfoevento" class="java.lang.String"/>
|
||||||
|
<field name="preco" class="java.math.BigDecimal"/>
|
||||||
|
<field name="desctipoevento" class="java.lang.String"/>
|
||||||
|
<field name="nombusuario" class="java.lang.String"/>
|
||||||
|
<field name="statusDescricao" class="java.lang.String"/>
|
||||||
|
<field name="debitoCredito" class="java.lang.String"/>
|
||||||
|
<field name="observacao" class="java.lang.String"/>
|
||||||
|
<field name="fecmodif" class="java.util.Date"/>
|
||||||
|
<background>
|
||||||
|
<band splitType="Stretch"/>
|
||||||
|
</background>
|
||||||
|
<title>
|
||||||
|
<band height="102" splitType="Stretch">
|
||||||
|
<textField>
|
||||||
|
<reportElement x="0" y="0" width="637" height="20" uuid="43b2c28d-4760-4890-b00d-25e931e79c74"/>
|
||||||
|
<textElement markup="none">
|
||||||
|
<font size="14" isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$R{cabecalho.nome}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField pattern="dd/MM/yyyy HH:mm">
|
||||||
|
<reportElement x="637" y="0" width="164" height="20" uuid="4d1bcd65-c9a6-44b4-8dca-cc3c4c20c9a5"/>
|
||||||
|
<textElement textAlignment="Right">
|
||||||
|
<font isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isBlankWhenNull="true">
|
||||||
|
<reportElement x="0" y="60" width="637" height="20" uuid="a16eb33b-78ca-4fb4-80c2-f5c85a0d09c3"/>
|
||||||
|
<textElement>
|
||||||
|
<font isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$R{cabecalho.puntoventa} + " " + $P{puntoventa}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isBlankWhenNull="true">
|
||||||
|
<reportElement x="0" y="80" width="801" height="20" uuid="979b7126-0e47-4885-8a07-d8f9aa75a204"/>
|
||||||
|
<textElement>
|
||||||
|
<font isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$R{cabecalho.usuario} + " " + $P{usuario}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isBlankWhenNull="true">
|
||||||
|
<reportElement x="0" y="40" width="637" height="20" uuid="90cdfa43-be94-4edc-b974-e267d2c5e82a"/>
|
||||||
|
<textElement>
|
||||||
|
<font isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$R{cabecalho.empresa} + " " + $P{empresa}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isBlankWhenNull="true">
|
||||||
|
<reportElement x="0" y="20" width="637" height="20" uuid="f75c1624-725f-4ed7-9db7-7d396221d505"/>
|
||||||
|
<textElement>
|
||||||
|
<font isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$R{cabecalho.periodo} + " " + $P{fecInicio} + " " + $R{cabecalho.periodoA} + " " + $P{fecFinal}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
</band>
|
||||||
|
</title>
|
||||||
|
<pageHeader>
|
||||||
|
<band height="21" splitType="Stretch">
|
||||||
|
<line>
|
||||||
|
<reportElement x="0" y="19" width="802" height="1" uuid="4f39b5b4-849a-4fe2-9365-06930866fbaa"/>
|
||||||
|
</line>
|
||||||
|
<textField>
|
||||||
|
<reportElement x="637" y="0" width="164" height="20" uuid="6a8a0843-7236-40a3-98ae-5fbf59b4cfec"/>
|
||||||
|
<textElement textAlignment="Right">
|
||||||
|
<font isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$R{cabecalho.pagina} + " " + $V{PAGE_NUMBER}+ " " + $R{cabecalho.de} + " " + $V{PAGE_NUMBER}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
</band>
|
||||||
|
</pageHeader>
|
||||||
|
<columnHeader>
|
||||||
|
<band height="21" splitType="Stretch">
|
||||||
|
<textField isBlankWhenNull="true">
|
||||||
|
<reportElement x="0" y="0" width="127" height="20" uuid="80c03aaa-6fb0-469c-bcb7-5a17b81a8225"/>
|
||||||
|
<textElement>
|
||||||
|
<font size="8" isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$R{label.puntoventa}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isBlankWhenNull="true">
|
||||||
|
<reportElement x="127" y="0" width="70" height="20" uuid="dbbded57-3522-4d36-9199-d4c516687979"/>
|
||||||
|
<textElement>
|
||||||
|
<font size="8" isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$R{label.datamovimento}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isBlankWhenNull="true">
|
||||||
|
<reportElement x="197" y="0" width="89" height="20" uuid="6b1e0531-657a-4396-8503-39d61e553428"/>
|
||||||
|
<textElement>
|
||||||
|
<font size="8" isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$R{label.statusDescricao}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isBlankWhenNull="true">
|
||||||
|
<reportElement x="286" y="0" width="81" height="20" uuid="070180f3-95a3-49f0-8a58-d2fd75d60f72"/>
|
||||||
|
<textElement>
|
||||||
|
<font size="8" isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$R{label.desctipoevento}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isBlankWhenNull="true">
|
||||||
|
<reportElement x="452" y="0" width="36" height="20" uuid="98a0828f-7276-4457-a5bf-422089374096"/>
|
||||||
|
<textElement>
|
||||||
|
<font size="8" isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$R{label.debitoCredito}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isBlankWhenNull="true">
|
||||||
|
<reportElement x="488" y="0" width="123" height="20" uuid="642c2617-1ecc-48aa-8828-d6317a8ac47e"/>
|
||||||
|
<textElement>
|
||||||
|
<font size="8" isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$R{label.observacao}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isBlankWhenNull="true">
|
||||||
|
<reportElement x="611" y="0" width="68" height="20" uuid="e8553a29-c9fd-4f2b-a2aa-fc46e666e7fe"/>
|
||||||
|
<textElement>
|
||||||
|
<font size="8" isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$R{label.preco}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isBlankWhenNull="true">
|
||||||
|
<reportElement x="679" y="0" width="76" height="20" uuid="1ad0e243-a38f-48c3-83e8-34704e50a8ef"/>
|
||||||
|
<textElement>
|
||||||
|
<font size="8" isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$R{label.usuario}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isBlankWhenNull="true">
|
||||||
|
<reportElement x="367" y="0" width="85" height="20" uuid="97236380-537f-4946-a32f-0b7f551f3fa2"/>
|
||||||
|
<textElement>
|
||||||
|
<font size="8" isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$R{label.desceventoinfo}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isBlankWhenNull="true">
|
||||||
|
<reportElement x="755" y="1" width="67" height="20" uuid="ff685125-9afe-47d5-a02d-d527738e399e"/>
|
||||||
|
<textElement>
|
||||||
|
<font size="8" isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$R{label.fecmodif}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
</band>
|
||||||
|
</columnHeader>
|
||||||
|
<detail>
|
||||||
|
<band height="22">
|
||||||
|
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||||
|
<reportElement stretchType="RelativeToTallestObject" x="197" y="1" width="89" height="20" uuid="fbd0605d-7d74-4154-8687-db3e7cf1fb4f"/>
|
||||||
|
<textElement>
|
||||||
|
<font size="8" isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$F{statusDescricao}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||||
|
<reportElement stretchType="RelativeToTallestObject" x="367" y="1" width="85" height="20" uuid="7522ad78-b626-48f1-9f4d-527ee669e543"/>
|
||||||
|
<textElement>
|
||||||
|
<font size="8" isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$F{descinfoevento}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||||
|
<reportElement stretchType="RelativeToTallestObject" x="452" y="1" width="36" height="20" uuid="78cf32de-cc90-48c0-bae4-986d660833d6"/>
|
||||||
|
<textElement>
|
||||||
|
<font size="8" isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$F{debitoCredito}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||||
|
<reportElement stretchType="RelativeToTallestObject" x="679" y="1" width="76" height="20" uuid="037c8a6d-8837-42c7-9764-80348f63540c"/>
|
||||||
|
<textElement>
|
||||||
|
<font size="8" isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$F{nombusuario}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isStretchWithOverflow="true" pattern="dd/MM/yyyy" isBlankWhenNull="true">
|
||||||
|
<reportElement stretchType="RelativeToTallestObject" x="127" y="1" width="70" height="20" uuid="f411db37-6c4a-4f34-ab06-2480245395c0"/>
|
||||||
|
<textElement>
|
||||||
|
<font size="8" isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$F{datamovimento}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
|
||||||
|
<reportElement stretchType="RelativeToTallestObject" x="611" y="1" width="68" height="20" uuid="a6a5ccae-e320-4efa-a456-463c89ff2ad7"/>
|
||||||
|
<textElement>
|
||||||
|
<font size="8" isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$F{preco}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||||
|
<reportElement stretchType="RelativeToTallestObject" x="0" y="1" width="127" height="20" uuid="8d4629c3-6aaf-471d-9038-d6cf9e7e2e46"/>
|
||||||
|
<textElement>
|
||||||
|
<font size="8" isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$F{nombpuntoventa}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||||
|
<reportElement stretchType="RelativeToTallestObject" isPrintRepeatedValues="false" x="488" y="1" width="123" height="20" uuid="d1baff93-b9bd-4e66-8826-37f87ab01fd3"/>
|
||||||
|
<textElement>
|
||||||
|
<font size="8" isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$F{observacao}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||||
|
<reportElement stretchType="RelativeToTallestObject" x="286" y="1" width="81" height="20" uuid="1cd47c3e-cf69-4937-bb6c-a2cb26aac0d6"/>
|
||||||
|
<textElement>
|
||||||
|
<font size="8" isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$F{desctipoevento}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isStretchWithOverflow="true" pattern="dd/MM/yyyy" isBlankWhenNull="true">
|
||||||
|
<reportElement stretchType="RelativeToTallestObject" x="755" y="0" width="67" height="20" uuid="9e392ba6-8364-4a57-8104-eef84a963725"/>
|
||||||
|
<textElement>
|
||||||
|
<font size="8" isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$F{fecmodif}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
</band>
|
||||||
|
</detail>
|
||||||
|
<pageFooter>
|
||||||
|
<band splitType="Stretch"/>
|
||||||
|
</pageFooter>
|
||||||
|
<noData>
|
||||||
|
<band height="35">
|
||||||
|
<textField isBlankWhenNull="true">
|
||||||
|
<reportElement positionType="Float" x="0" y="0" width="555" height="20" isPrintWhenDetailOverflows="true" uuid="d7df66c6-4dc0-4f3b-88f4-b22094d29091"/>
|
||||||
|
<textElement verticalAlignment="Middle"/>
|
||||||
|
<textFieldExpression><![CDATA[$R{msg.noData}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
</band>
|
||||||
|
</noData>
|
||||||
|
</jasperReport>
|
|
@ -0,0 +1,94 @@
|
||||||
|
package com.rjconsultores.ventaboletos.web.gui.controladores.relatorios;
|
||||||
|
|
||||||
|
import java.util.HashMap;
|
||||||
|
import java.util.Map;
|
||||||
|
|
||||||
|
import javax.sql.DataSource;
|
||||||
|
|
||||||
|
import org.slf4j.Logger;
|
||||||
|
import org.slf4j.LoggerFactory;
|
||||||
|
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.Datebox;
|
||||||
|
|
||||||
|
import com.rjconsultores.ventaboletos.entidad.Empresa;
|
||||||
|
import com.rjconsultores.ventaboletos.entidad.PuntoVenta;
|
||||||
|
import com.rjconsultores.ventaboletos.relatorios.impl.RelatorioObservacaoBilhetes;
|
||||||
|
import com.rjconsultores.ventaboletos.relatorios.utilitarios.Relatorio;
|
||||||
|
import com.rjconsultores.ventaboletos.utilerias.DateUtil;
|
||||||
|
import com.rjconsultores.ventaboletos.utilerias.UsuarioLogado;
|
||||||
|
import com.rjconsultores.ventaboletos.web.utilerias.MyGenericForwardComposer;
|
||||||
|
|
||||||
|
@Scope("prototype")
|
||||||
|
@Controller("relatorioObservacaoBilhetesController")
|
||||||
|
public class RelatorioObservacaoBilhetesController extends MyGenericForwardComposer {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
private static final Logger log = LoggerFactory.getLogger(RelatorioObservacaoBilhetesController.class);
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
private DataSource dataSourceRead;
|
||||||
|
|
||||||
|
private Datebox dataInicial;
|
||||||
|
private Datebox dataFinal;
|
||||||
|
|
||||||
|
private PuntoVenta puntoVenta;
|
||||||
|
private Empresa empresa;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void doAfterCompose(Component comp) throws Exception {
|
||||||
|
super.doAfterCompose(comp);
|
||||||
|
}
|
||||||
|
|
||||||
|
public void onClick$btnRelatorio(Event ev) {
|
||||||
|
try {
|
||||||
|
Map<String, Object> parametros = new HashMap<String, Object>();
|
||||||
|
parametros.put("empresaId", empresa.getEmpresaId());
|
||||||
|
parametros.put("empresa", empresa.getNombempresa());
|
||||||
|
parametros.put("usuario", UsuarioLogado.getUsuarioLogado().getNombmaterno());
|
||||||
|
parametros.put("fecInicio", DateUtil.getStringDate(dataInicial.getValue(), "dd/MM/yyyy"));
|
||||||
|
parametros.put("fecFinal", DateUtil.getStringDate(dataFinal.getValue(), "dd/MM/yyyy"));
|
||||||
|
parametros.put("dataFiltroInicial", dataInicial.getValue());
|
||||||
|
parametros.put("dataFiltroFinal", dataFinal.getValue());
|
||||||
|
|
||||||
|
if(puntoVenta != null) {
|
||||||
|
parametros.put("puntoventaId", puntoVenta.getPuntoventaId());
|
||||||
|
parametros.put("puntoventa", puntoVenta.getNombpuntoventa());
|
||||||
|
} else {
|
||||||
|
parametros.put("puntoventa", "Todos");
|
||||||
|
}
|
||||||
|
|
||||||
|
Relatorio relatorio = new RelatorioObservacaoBilhetes(parametros, dataSourceRead.getConnection());
|
||||||
|
|
||||||
|
Map<String, Object> args = new HashMap<String, Object>();
|
||||||
|
args.put("relatorio", relatorio);
|
||||||
|
|
||||||
|
openWindow("/component/reportView.zul",
|
||||||
|
Labels.getLabel("relatorioObservacaoBilhetesController.window.title"), args, MODAL);
|
||||||
|
} catch (Exception e) {
|
||||||
|
log.error(e.getMessage(), e);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public PuntoVenta getPuntoVenta() {
|
||||||
|
return puntoVenta;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setPuntoVenta(PuntoVenta puntoVenta) {
|
||||||
|
this.puntoVenta = puntoVenta;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Empresa getEmpresa() {
|
||||||
|
return empresa;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setEmpresa(Empresa empresa) {
|
||||||
|
this.empresa = empresa;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
|
@ -0,0 +1,94 @@
|
||||||
|
package com.rjconsultores.ventaboletos.web.gui.controladores.relatorios;
|
||||||
|
|
||||||
|
import java.util.HashMap;
|
||||||
|
import java.util.Map;
|
||||||
|
|
||||||
|
import javax.sql.DataSource;
|
||||||
|
|
||||||
|
import org.slf4j.Logger;
|
||||||
|
import org.slf4j.LoggerFactory;
|
||||||
|
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.Datebox;
|
||||||
|
|
||||||
|
import com.rjconsultores.ventaboletos.entidad.Empresa;
|
||||||
|
import com.rjconsultores.ventaboletos.entidad.PuntoVenta;
|
||||||
|
import com.rjconsultores.ventaboletos.relatorios.impl.RelatorioObservacaoEventosFinanceiros;
|
||||||
|
import com.rjconsultores.ventaboletos.relatorios.utilitarios.Relatorio;
|
||||||
|
import com.rjconsultores.ventaboletos.utilerias.DateUtil;
|
||||||
|
import com.rjconsultores.ventaboletos.utilerias.UsuarioLogado;
|
||||||
|
import com.rjconsultores.ventaboletos.web.utilerias.MyGenericForwardComposer;
|
||||||
|
|
||||||
|
@Scope("prototype")
|
||||||
|
@Controller("relatorioObservacaoEventosFinanceirosController")
|
||||||
|
public class RelatorioObservacaoEventosFinaneirosController extends MyGenericForwardComposer {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
private static final Logger log = LoggerFactory.getLogger(RelatorioObservacaoEventosFinaneirosController.class);
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
private DataSource dataSourceRead;
|
||||||
|
|
||||||
|
private Datebox dataInicial;
|
||||||
|
private Datebox dataFinal;
|
||||||
|
|
||||||
|
private PuntoVenta puntoVenta;
|
||||||
|
private Empresa empresa;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void doAfterCompose(Component comp) throws Exception {
|
||||||
|
super.doAfterCompose(comp);
|
||||||
|
}
|
||||||
|
|
||||||
|
public void onClick$btnRelatorio(Event ev) {
|
||||||
|
try {
|
||||||
|
Map<String, Object> parametros = new HashMap<String, Object>();
|
||||||
|
parametros.put("empresaId", empresa.getEmpresaId());
|
||||||
|
parametros.put("empresa", empresa.getNombempresa());
|
||||||
|
parametros.put("usuario", UsuarioLogado.getUsuarioLogado().getNombmaterno());
|
||||||
|
parametros.put("fecInicio", DateUtil.getStringDate(dataInicial.getValue(), "dd/MM/yyyy"));
|
||||||
|
parametros.put("fecFinal", DateUtil.getStringDate(dataFinal.getValue(), "dd/MM/yyyy"));
|
||||||
|
parametros.put("dataFiltroInicial", dataInicial.getValue());
|
||||||
|
parametros.put("dataFiltroFinal", dataFinal.getValue());
|
||||||
|
|
||||||
|
if(puntoVenta != null) {
|
||||||
|
parametros.put("puntoventaId", puntoVenta.getPuntoventaId());
|
||||||
|
parametros.put("puntoventa", puntoVenta.getNombpuntoventa());
|
||||||
|
} else {
|
||||||
|
parametros.put("puntoventa", "Todos");
|
||||||
|
}
|
||||||
|
|
||||||
|
Relatorio relatorio = new RelatorioObservacaoEventosFinanceiros(parametros, dataSourceRead.getConnection());
|
||||||
|
|
||||||
|
Map<String, Object> args = new HashMap<String, Object>();
|
||||||
|
args.put("relatorio", relatorio);
|
||||||
|
|
||||||
|
openWindow("/component/reportView.zul",
|
||||||
|
Labels.getLabel("relatorioObservacaoEventosFinanceirosController.window.title"), args, MODAL);
|
||||||
|
} catch (Exception e) {
|
||||||
|
log.error(e.getMessage(), e);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public PuntoVenta getPuntoVenta() {
|
||||||
|
return puntoVenta;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setPuntoVenta(PuntoVenta puntoVenta) {
|
||||||
|
this.puntoVenta = puntoVenta;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Empresa getEmpresa() {
|
||||||
|
return empresa;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setEmpresa(Empresa empresa) {
|
||||||
|
this.empresa = empresa;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
|
@ -0,0 +1,25 @@
|
||||||
|
package com.rjconsultores.ventaboletos.web.utilerias.menu.item.relatorios;
|
||||||
|
|
||||||
|
import org.zkoss.util.resource.Labels;
|
||||||
|
|
||||||
|
import com.rjconsultores.ventaboletos.web.utilerias.PantallaUtileria;
|
||||||
|
import com.rjconsultores.ventaboletos.web.utilerias.menu.DefaultItemMenuSistema;
|
||||||
|
|
||||||
|
public class ItemMenuRelatorioObservacaoBilhetes extends DefaultItemMenuSistema {
|
||||||
|
|
||||||
|
public ItemMenuRelatorioObservacaoBilhetes() {
|
||||||
|
super("indexController.mniRelatorioObservacaoBilhetes.label");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String getClaveMenu() {
|
||||||
|
return "COM.RJCONSULTORES.ADMINISTRACION.GUI.RELATORIOS.MENU.RELATORIOOBSERVACAOBILHETES";
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void ejecutar() {
|
||||||
|
PantallaUtileria.openWindow("/gui/relatorios/filtroRelatorioObservacaoBilhetes.zul",
|
||||||
|
Labels.getLabel("relatorioObservacaoBilhetesController.window.title"), getArgs(), desktop);
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,25 @@
|
||||||
|
package com.rjconsultores.ventaboletos.web.utilerias.menu.item.relatorios;
|
||||||
|
|
||||||
|
import org.zkoss.util.resource.Labels;
|
||||||
|
|
||||||
|
import com.rjconsultores.ventaboletos.web.utilerias.PantallaUtileria;
|
||||||
|
import com.rjconsultores.ventaboletos.web.utilerias.menu.DefaultItemMenuSistema;
|
||||||
|
|
||||||
|
public class ItemMenuRelatorioObservacaoEventosFinanceiros extends DefaultItemMenuSistema {
|
||||||
|
|
||||||
|
public ItemMenuRelatorioObservacaoEventosFinanceiros() {
|
||||||
|
super("indexController.mniRelatorioObservacaoEventosFinanceiros.label");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String getClaveMenu() {
|
||||||
|
return "COM.RJCONSULTORES.ADMINISTRACION.GUI.RELATORIOS.MENU.RELATORIOOBSERVACAOEVENTOSFINANCEIROS";
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void ejecutar() {
|
||||||
|
PantallaUtileria.openWindow("/gui/relatorios/filtroRelatorioObservacaoEventosFinanceiros.zul",
|
||||||
|
Labels.getLabel("relatorioObservacaoEventosFinanceirosController.window.title"), getArgs(), desktop);
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
|
@ -257,6 +257,8 @@ indexController.mniRelatorioVendasPacotesFaturamento.label = Ventas de Pacotes -
|
||||||
indexController.mniRelatorioDiferencasTransferencias.label = Relatório de Diferenças em Transferências
|
indexController.mniRelatorioDiferencasTransferencias.label = Relatório de Diferenças em Transferências
|
||||||
indexController.mniRelatorioVendasComissao.label = Relatório de Vendas de Comissão
|
indexController.mniRelatorioVendasComissao.label = Relatório de Vendas de Comissão
|
||||||
indexController.mniRelatorioMovimentosAtraso.label = Relatório de Movimentos em Atraso
|
indexController.mniRelatorioMovimentosAtraso.label = Relatório de Movimentos em Atraso
|
||||||
|
indexController.mniRelatorioObservacaoBilhetes.label = Relatório Observação Bilhetes
|
||||||
|
indexController.mniRelatorioObservacaoEventosFinanceiros.label = Relatório Observação Eventos Financeiros
|
||||||
|
|
||||||
indexController.mniSubMenuClientePacote.label=Pacote
|
indexController.mniSubMenuClientePacote.label=Pacote
|
||||||
indexController.mniManutencaoPacote.label=Manutenção Pacote
|
indexController.mniManutencaoPacote.label=Manutenção Pacote
|
||||||
|
@ -5953,3 +5955,21 @@ relatorioMovimentosAtrasoController.lbCompetencia.label = Competencia
|
||||||
relatorioMovimentosAtrasoController.lbCompetenciaLayout.label = (MM/YYYY)
|
relatorioMovimentosAtrasoController.lbCompetenciaLayout.label = (MM/YYYY)
|
||||||
relatorioMovimentosAtrasoController.lbEmpresa.value = Empresa
|
relatorioMovimentosAtrasoController.lbEmpresa.value = Empresa
|
||||||
relatorioMovimentosAtrasoController.lbPuntoVenta.value = Punto venta
|
relatorioMovimentosAtrasoController.lbPuntoVenta.value = Punto venta
|
||||||
|
|
||||||
|
# Relatorio Observacao Bilhetes
|
||||||
|
relatorioObservacaoBilhetesController.window.title = Relatório Observações Bilhetes
|
||||||
|
relatorioObservacaoBilhetesController.btnCerrar.tooltiptext = Cerrar
|
||||||
|
relatorioObservacaoBilhetesController.btnPesquisa.label = Búsqueda
|
||||||
|
relatorioObservacaoBilhetesController.lbDataIni.value = Fecha Inicio
|
||||||
|
relatorioObservacaoBilhetesController.lbDataFin.value = Fecha Final
|
||||||
|
relatorioObservacaoBilhetesController.lbEmpresa.value = Empresa
|
||||||
|
relatorioObservacaoBilhetesController.lbPuntoVenta.value = Punto venta
|
||||||
|
|
||||||
|
# Relatorio Observações Eventos Financeiros
|
||||||
|
relatorioObservacaoEventosFinanceirosController.window.title = Relatório Observações Eventos Financeiros
|
||||||
|
relatorioObservacaoEventosFinanceirosController.btnCerrar.tooltiptext = Cerrar
|
||||||
|
relatorioObservacaoEventosFinanceirosController.btnPesquisa.label = Búsqueda
|
||||||
|
relatorioObservacaoEventosFinanceirosController.lbDataIni.value = Fecha Inicio
|
||||||
|
relatorioObservacaoEventosFinanceirosController.lbDataFin.value = Fecha Final
|
||||||
|
relatorioObservacaoEventosFinanceirosController.lbEmpresa.value = Empresa
|
||||||
|
relatorioObservacaoEventosFinanceirosController.lbPuntoVenta.value = Punto venta
|
|
@ -262,6 +262,8 @@ indexController.mniRelatorioVendasPacotesFaturamento.label = Vendas de Pacotes -
|
||||||
indexController.mniRelatorioDiferencasTransferencias.label = Relatório de Diferenças em Transferências
|
indexController.mniRelatorioDiferencasTransferencias.label = Relatório de Diferenças em Transferências
|
||||||
indexController.mniRelatorioVendasComissao.label = Relatório de Vendas de Comissão
|
indexController.mniRelatorioVendasComissao.label = Relatório de Vendas de Comissão
|
||||||
indexController.mniRelatorioMovimentosAtraso.label = Relatório de Movimentos em Atraso
|
indexController.mniRelatorioMovimentosAtraso.label = Relatório de Movimentos em Atraso
|
||||||
|
indexController.mniRelatorioObservacaoBilhetes.label = Relatório Observação Bilhetes
|
||||||
|
indexController.mniRelatorioObservacaoEventosFinanceiros.label = Relatório Observação Eventos Financeiros
|
||||||
|
|
||||||
indexController.mnSubMenuImpressaoFiscal.label=Impressão Fiscal
|
indexController.mnSubMenuImpressaoFiscal.label=Impressão Fiscal
|
||||||
indexController.mnSubMenuRelatorioImpressaoFiscal.label=Relatório Impressão Fiscal
|
indexController.mnSubMenuRelatorioImpressaoFiscal.label=Relatório Impressão Fiscal
|
||||||
|
@ -6089,9 +6091,24 @@ relatorioDepositosController.lbPendentes.value=Filtrar Pendentes
|
||||||
|
|
||||||
# Relatorio Movimentos em Atraso
|
# Relatorio Movimentos em Atraso
|
||||||
relatorioMovimentosAtrasoController.window.title = Relatório Movimentos em Atraso
|
relatorioMovimentosAtrasoController.window.title = Relatório Movimentos em Atraso
|
||||||
relatorioMovimentosAtrasoController.btnCerrar.tooltiptext = Cerrar
|
relatorioMovimentosAtrasoController.btnCerrar.tooltiptext = Fechar
|
||||||
relatorioMovimentosAtrasoController.btnPesquisa.label = Búsqueda
|
|
||||||
relatorioMovimentosAtrasoController.lbCompetencia.label = Competencia
|
relatorioMovimentosAtrasoController.lbCompetencia.label = Competencia
|
||||||
relatorioMovimentosAtrasoController.lbCompetenciaLayout.label = (MM/YYYY)
|
relatorioMovimentosAtrasoController.lbCompetenciaLayout.label = (MM/YYYY)
|
||||||
relatorioMovimentosAtrasoController.lbEmpresa.value = Empresa
|
relatorioMovimentosAtrasoController.lbEmpresa.value = Empresa
|
||||||
relatorioMovimentosAtrasoController.lbPuntoVenta.value = Ponto de venda
|
relatorioMovimentosAtrasoController.lbPuntoVenta.value = Ponto de venda
|
||||||
|
|
||||||
|
# Relatorio Observacao Bilhetes
|
||||||
|
relatorioObservacaoBilhetesController.window.title = Relatório Observações Bilhetes
|
||||||
|
relatorioObservacaoBilhetesController.btnCerrar.tooltiptext = Fechar
|
||||||
|
relatorioObservacaoBilhetesController.lbDataIni.value = Data Inicio
|
||||||
|
relatorioObservacaoBilhetesController.lbDataFin.value = Data Final
|
||||||
|
relatorioObservacaoBilhetesController.lbEmpresa.value = Empresa
|
||||||
|
relatorioObservacaoBilhetesController.lbPuntoVenta.value = Punto venta
|
||||||
|
|
||||||
|
# Relatorio Observações Eventos Financeiros
|
||||||
|
relatorioObservacaoEventosFinanceirosController.window.title = Relatório Observações Eventos Financeiros
|
||||||
|
relatorioObservacaoEventosFinanceirosController.btnCerrar.tooltiptext = Fechar
|
||||||
|
relatorioObservacaoEventosFinanceirosController.lbDataIni.value = Data Inicio
|
||||||
|
relatorioObservacaoEventosFinanceirosController.lbDataFin.value = Data Final
|
||||||
|
relatorioObservacaoEventosFinanceirosController.lbEmpresa.value = Empresa
|
||||||
|
relatorioObservacaoEventosFinanceirosController.lbPuntoVenta.value = Punto venta
|
|
@ -0,0 +1,77 @@
|
||||||
|
<?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="winRelatorioObservacaoBilhetes"?>
|
||||||
|
<?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c"?>
|
||||||
|
|
||||||
|
<zk xmlns="http://www.zkoss.org/2005/zul">
|
||||||
|
<window id="winRelatorioObservacaoBilhetes"
|
||||||
|
title="${c:l('relatorioObservacaoBilhetesController.window.title')}"
|
||||||
|
apply="${relatorioObservacaoBilhetesController}"
|
||||||
|
contentStyle="overflow:auto"
|
||||||
|
height="190px"
|
||||||
|
width="500px"
|
||||||
|
border="normal" >
|
||||||
|
<toolbar>
|
||||||
|
<button id="btnCerrar"
|
||||||
|
onClick="winRelatorioObservacaoBilhetes.detach()"
|
||||||
|
image="/gui/img/exit.png"
|
||||||
|
width="35px"
|
||||||
|
tooltiptext="${c:l('relatorioObservacaoBilhetesController.btnCerrar.tooltiptext')}"/>
|
||||||
|
</toolbar>
|
||||||
|
|
||||||
|
<grid fixedLayout="true">
|
||||||
|
<columns>
|
||||||
|
<column width="20%" />
|
||||||
|
<column width="30%" />
|
||||||
|
<column width="20%" />
|
||||||
|
<column width="30%" />
|
||||||
|
</columns>
|
||||||
|
<rows>
|
||||||
|
<row>
|
||||||
|
<label value="${c:l('relatorioObservacaoBilhetesController.lbDataIni.value')}" />
|
||||||
|
<datebox id="dataInicial"
|
||||||
|
width="100%"
|
||||||
|
mold="rounded"
|
||||||
|
format="dd/MM/yyyy"
|
||||||
|
lenient="false"
|
||||||
|
constraint="no empty"
|
||||||
|
maxlength="10" />
|
||||||
|
<label value="${c:l('relatorioObservacaoBilhetesController.lbDataFin.value')}" />
|
||||||
|
<datebox id="dataFinal"
|
||||||
|
width="100%"
|
||||||
|
mold="rounded"
|
||||||
|
format="dd/MM/yyyy"
|
||||||
|
lenient="false"
|
||||||
|
constraint="no empty"
|
||||||
|
maxlength="10" />
|
||||||
|
</row>
|
||||||
|
<row spans="1,3">
|
||||||
|
<label value="${c:l('relatorioObservacaoBilhetesController.lbEmpresa.value')}" />
|
||||||
|
<combobox id="cmbEmpresa"
|
||||||
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEmpresa"
|
||||||
|
constraint="no empty"
|
||||||
|
mold="rounded"
|
||||||
|
buttonVisible="true"
|
||||||
|
width="90%"
|
||||||
|
selectedItem="@{winRelatorioObservacaoBilhetes$composer.empresa}" />
|
||||||
|
</row>
|
||||||
|
<row spans="1,3">
|
||||||
|
<label value="${c:l('relatorioObservacaoBilhetesController.lbPuntoVenta.value')}" />
|
||||||
|
<combobox id="cmbPuntoVenta"
|
||||||
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxPuntoVenta"
|
||||||
|
mold="rounded"
|
||||||
|
buttonVisible="true"
|
||||||
|
width="90%"
|
||||||
|
selectedItem="@{winRelatorioObservacaoBilhetes$composer.puntoVenta}" />
|
||||||
|
</row>
|
||||||
|
</rows>
|
||||||
|
</grid>
|
||||||
|
|
||||||
|
<toolbar>
|
||||||
|
<button id="btnRelatorio"
|
||||||
|
image="/gui/img/find.png"
|
||||||
|
label="${c:l('relatorio.lb.btnExecutarRelatorio')}"/>
|
||||||
|
</toolbar>
|
||||||
|
</window>
|
||||||
|
</zk>
|
|
@ -0,0 +1,77 @@
|
||||||
|
<?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="winRelatorioObservacaoBilhetes"?>
|
||||||
|
<?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c"?>
|
||||||
|
|
||||||
|
<zk xmlns="http://www.zkoss.org/2005/zul">
|
||||||
|
<window id="winRelatorioObservacaoBilhetes"
|
||||||
|
title="${c:l('relatorioObservacaoEventosFinanceirosController.window.title')}"
|
||||||
|
apply="${relatorioObservacaoEventosFinanceirosController}"
|
||||||
|
contentStyle="overflow:auto"
|
||||||
|
height="190px"
|
||||||
|
width="500px"
|
||||||
|
border="normal" >
|
||||||
|
<toolbar>
|
||||||
|
<button id="btnCerrar"
|
||||||
|
onClick="winRelatorioObservacaoBilhetes.detach()"
|
||||||
|
image="/gui/img/exit.png"
|
||||||
|
width="35px"
|
||||||
|
tooltiptext="${c:l('relatorioObservacaoEventosFinanceirosController.btnCerrar.tooltiptext')}"/>
|
||||||
|
</toolbar>
|
||||||
|
|
||||||
|
<grid fixedLayout="true">
|
||||||
|
<columns>
|
||||||
|
<column width="20%" />
|
||||||
|
<column width="30%" />
|
||||||
|
<column width="20%" />
|
||||||
|
<column width="30%" />
|
||||||
|
</columns>
|
||||||
|
<rows>
|
||||||
|
<row>
|
||||||
|
<label value="${c:l('relatorioObservacaoEventosFinanceirosController.lbDataIni.value')}" />
|
||||||
|
<datebox id="dataInicial"
|
||||||
|
width="100%"
|
||||||
|
mold="rounded"
|
||||||
|
format="dd/MM/yyyy"
|
||||||
|
lenient="false"
|
||||||
|
constraint="no empty"
|
||||||
|
maxlength="10" />
|
||||||
|
<label value="${c:l('relatorioObservacaoEventosFinanceirosController.lbDataFin.value')}" />
|
||||||
|
<datebox id="dataFinal"
|
||||||
|
width="100%"
|
||||||
|
mold="rounded"
|
||||||
|
format="dd/MM/yyyy"
|
||||||
|
lenient="false"
|
||||||
|
constraint="no empty"
|
||||||
|
maxlength="10" />
|
||||||
|
</row>
|
||||||
|
<row spans="1,3">
|
||||||
|
<label value="${c:l('relatorioObservacaoEventosFinanceirosController.lbEmpresa.value')}" />
|
||||||
|
<combobox id="cmbEmpresa"
|
||||||
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEmpresa"
|
||||||
|
constraint="no empty"
|
||||||
|
mold="rounded"
|
||||||
|
buttonVisible="true"
|
||||||
|
width="90%"
|
||||||
|
selectedItem="@{winRelatorioObservacaoBilhetes$composer.empresa}" />
|
||||||
|
</row>
|
||||||
|
<row spans="1,3">
|
||||||
|
<label value="${c:l('relatorioObservacaoEventosFinanceirosController.lbPuntoVenta.value')}" />
|
||||||
|
<combobox id="cmbPuntoVenta"
|
||||||
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxPuntoVenta"
|
||||||
|
mold="rounded"
|
||||||
|
buttonVisible="true"
|
||||||
|
width="90%"
|
||||||
|
selectedItem="@{winRelatorioObservacaoBilhetes$composer.puntoVenta}" />
|
||||||
|
</row>
|
||||||
|
</rows>
|
||||||
|
</grid>
|
||||||
|
|
||||||
|
<toolbar>
|
||||||
|
<button id="btnRelatorio"
|
||||||
|
image="/gui/img/find.png"
|
||||||
|
label="${c:l('relatorio.lb.btnExecutarRelatorio')}"/>
|
||||||
|
</toolbar>
|
||||||
|
</window>
|
||||||
|
</zk>
|
Loading…
Reference in New Issue