fixes bug#AL-4727
parent
1bee32e0d2
commit
2f714cc36f
2
pom.xml
2
pom.xml
|
@ -4,7 +4,7 @@
|
|||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>br.com.rjconsultores</groupId>
|
||||
<artifactId>ventaboletosadm</artifactId>
|
||||
<version>1.73.0</version>
|
||||
<version>1.74.0</version>
|
||||
<packaging>war</packaging>
|
||||
|
||||
<properties>
|
||||
|
|
|
@ -0,0 +1,213 @@
|
|||
package com.rjconsultores.ventaboletos.relatorios.impl;
|
||||
|
||||
import java.sql.Connection;
|
||||
import java.sql.ResultSet;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import org.apache.commons.lang.StringUtils;
|
||||
|
||||
import com.rjconsultores.ventaboletos.entidad.PuntoVenta;
|
||||
import com.rjconsultores.ventaboletos.relatorios.utilitarios.DataSource;
|
||||
import com.rjconsultores.ventaboletos.relatorios.utilitarios.IndOrdenacion;
|
||||
import com.rjconsultores.ventaboletos.relatorios.utilitarios.Relatorio;
|
||||
import com.rjconsultores.ventaboletos.relatorios.utilitarios.RelatorioOCDBean;
|
||||
import com.rjconsultores.ventaboletos.utilerias.OcdUtil;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.NamedParameterStatement;
|
||||
|
||||
import net.sf.jasperreports.engine.data.JRBeanCollectionDataSource;
|
||||
|
||||
public class RelatorioOCDReembolsoPix extends Relatorio {
|
||||
|
||||
private List<RelatorioOCDReembolsoPixBean> lsDadosRelatorio;
|
||||
|
||||
public RelatorioOCDReembolsoPix(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();
|
||||
|
||||
String fecInicio = parametros.get("fecInicio") != null ? parametros.get("fecInicio").toString() + " 00:00" : null;
|
||||
String fecFinal = parametros.get("fecFinal") != null ? parametros.get("fecFinal").toString() + " 23:59" : null;
|
||||
String fecPagoInicio = parametros.get("fecPagoInicio") != null ? parametros.get("fecPagoInicio").toString() + " 00:00" : null;
|
||||
String fecPagoFinal = parametros.get("fecPagoFinal") != null ? parametros.get("fecPagoFinal").toString() + " 23:59" : null;
|
||||
List<PuntoVenta> lsPuntoVenta = parametros.get("puntoventas") == null ? new ArrayList<PuntoVenta>() : (ArrayList<PuntoVenta>) parametros.get("puntoventas");
|
||||
|
||||
String puntoVentas = null;
|
||||
for (PuntoVenta pv : lsPuntoVenta) {
|
||||
if (lsPuntoVenta.indexOf(pv) == 0) {
|
||||
puntoVentas = "" + pv.getPuntoventaId();
|
||||
} else {
|
||||
puntoVentas += ", " + pv.getPuntoventaId();
|
||||
}
|
||||
}
|
||||
|
||||
String localizador = parametros.get("numOperacao").toString();
|
||||
String numoperacion = null;
|
||||
Long ocdId = null;
|
||||
if(OcdUtil.validarLocalizadorOcd(localizador)) {
|
||||
numoperacion = OcdUtil.getNumOcdByLocalizadorOcd(localizador);
|
||||
ocdId = OcdUtil.getOcdIdByLocalizadorOcd(localizador);
|
||||
}
|
||||
|
||||
Integer empresaId = parametros.get("empresa") != null ? Integer.parseInt(parametros.get("empresa").toString()) : null;
|
||||
|
||||
IndOrdenacion ordenacion = (IndOrdenacion) parametros.get("ordenacion");
|
||||
|
||||
String sql = getSql(fecInicio, fecFinal, empresaId, ordenacion, numoperacion, ocdId, fecPagoInicio, fecPagoFinal, puntoVentas);
|
||||
|
||||
NamedParameterStatement stmt = new NamedParameterStatement(conexao, sql);
|
||||
ResultSet rset = null;
|
||||
|
||||
if(StringUtils.isNotBlank(fecInicio)) {
|
||||
stmt.setString("fecInicio", fecInicio);
|
||||
}
|
||||
|
||||
if(StringUtils.isNotBlank(fecFinal)) {
|
||||
stmt.setString("fecFinal", fecFinal);
|
||||
}
|
||||
|
||||
if(StringUtils.isNotBlank(fecPagoInicio)) {
|
||||
stmt.setString("fecPagoInicio", fecPagoInicio);
|
||||
}
|
||||
|
||||
if(StringUtils.isNotBlank(fecPagoFinal)) {
|
||||
stmt.setString("fecPagoFinal", fecPagoFinal);
|
||||
}
|
||||
|
||||
if (empresaId != null) {
|
||||
stmt.setInt("empresaId", empresaId);
|
||||
}
|
||||
|
||||
if(ocdId != null){
|
||||
stmt.setLong("ocdId", ocdId);
|
||||
}
|
||||
|
||||
rset = stmt.executeQuery();
|
||||
|
||||
lsDadosRelatorio = new ArrayList<RelatorioOCDReembolsoPixBean>();
|
||||
|
||||
while (rset.next()) {
|
||||
// RelatorioOCDBean ocdBean = new RelatorioOCDBean();
|
||||
RelatorioOCDReembolsoPixBean ocdBean = new RelatorioOCDReembolsoPixBean();
|
||||
|
||||
ocdBean.setFecinc(rset.getDate("FECINC"));
|
||||
ocdBean.setFechorventa(rset.getDate("FECHORVENTA"));
|
||||
ocdBean.setEmpresa(rset.getString("NOMBEMPRESA"));
|
||||
ocdBean.setNombpuntoventa(rset.getString("PV_VENDA") != null ? rset.getString("PV_VENDA") : "");
|
||||
ocdBean.setNombpuntoventainc(rset.getString("PV_OCD") != null ? rset.getString("PV_OCD") : "");
|
||||
ocdBean.setNombusuarioinc(rset.getString("USUARIOINC") != null ? rset.getString("USUARIOINC") : "");
|
||||
ocdBean.setNumoperacion(rset.getString("NUMOPERACION"));
|
||||
ocdBean.setPenalizacion(rset.getBigDecimal("PENALIZACION"));
|
||||
ocdBean.setValorOcd(rset.getBigDecimal("VALOR_OCD"));
|
||||
ocdBean.setAsiento(rset.getString("NUMASIENTO"));
|
||||
ocdBean.setOrigem(rset.getString("ORIGEM"));
|
||||
ocdBean.setDestino(rset.getString("DESTINO"));
|
||||
ocdBean.setNumfoliosistema(rset.getString("NUMFOLIOSISTEMA"));
|
||||
ocdBean.setFeccorrida(rset.getDate("FECCORRIDA"));
|
||||
ocdBean.setOcdId(rset.getLong("OCD_ID"));
|
||||
ocdBean.setMotivocancelacionId(rset.getInt("MOTIVOCANCELACION_ID"));
|
||||
ocdBean.setTotalBilhete(rset.getBigDecimal("TOTAL_BILHETE"));
|
||||
ocdBean.setNumoperacion(OcdUtil.generaLocalizadorOCD(ocdBean.getNumoperacion(), ocdBean.getOcdId()));
|
||||
ocdBean.setNomePix(rset.getString("NOME_PIX"));
|
||||
ocdBean.setCpfCnpjPix(rset.getString("CPF_CNPJ_PIX"));
|
||||
ocdBean.setTelefonePix(rset.getString("TELEFONE_PIX"));
|
||||
ocdBean.setTipoChavePix(rset.getString("TIPO_CHAVE_PIX"));
|
||||
ocdBean.setChavePix(rset.getString("CHAVE_PIX"));
|
||||
lsDadosRelatorio.add(ocdBean);
|
||||
}
|
||||
|
||||
if (lsDadosRelatorio.size() > 0) {
|
||||
|
||||
setLsDadosRelatorio(lsDadosRelatorio);
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
public void setLsDadosRelatorio(List<RelatorioOCDReembolsoPixBean> lsDadosRelatorio) {
|
||||
this.setCollectionDataSource(new JRBeanCollectionDataSource(lsDadosRelatorio));
|
||||
this.lsDadosRelatorio = lsDadosRelatorio;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void processaParametros() throws Exception {
|
||||
}
|
||||
|
||||
private String getSql(String fecInicio, String fecFinal, Integer empresaId, IndOrdenacion ordenacion, String numoperacion, Long ocdId,
|
||||
String fecPagoInicio, String fecPagoFinal, String puntoVentas) {
|
||||
StringBuffer sql = new StringBuffer();
|
||||
|
||||
sql.append("SELECT O.OCD_ID, O.NUMOPERACION, E.NOMBEMPRESA, B.NUMFOLIOSISTEMA, ");
|
||||
sql.append("O.FECINC, PVO.NOMBPUNTOVENTA AS PV_OCD, O.PENALIZACION, O.VALOR_ESTORNO_PIX AS VALOR_OCD, ");
|
||||
sql.append("PVV.NOMBPUNTOVENTA AS PV_VENDA, B.FECHORVENTA, B.FECCORRIDA, ORI.DESCPARADA AS ORIGEM, DES.DESCPARADA AS DESTINO, B.NUMASIENTO, ");
|
||||
sql.append("B.MOTIVOCANCELACION_ID, ");
|
||||
sql.append("UI.CVEUSUARIO AS USUARIOINC, ");
|
||||
sql.append("NVL(B.PRECIOPAGADO,0) + NVL(B.IMPORTETAXAEMBARQUE,0) + NVL(B.IMPORTEOUTROS,0) + NVL(B.IMPORTEPEDAGIO,0) + NVL(B.IMPORTESEGURO,0) AS TOTAL_BILHETE, ");
|
||||
sql.append("ECP.NOME AS NOME_PIX, ECP.CPF_CNPJ AS CPF_CNPJ_PIX, ECP.TELEFONE AS TELEFONE_PIX, ECP.TIPO_CHAVE_PIX AS TIPO_CHAVE_PIX, ECP.CHAVE_PIX AS CHAVE_PIX " );
|
||||
sql.append("FROM OCD O ");
|
||||
sql.append("JOIN ESTORNO_OCD_PIX ECP ON ECP.OCD_ID=O.OCD_ID ");
|
||||
sql.append("JOIN BOLETO B ON B.BOLETO_ID = O.BOLETO_ID ");
|
||||
sql.append("JOIN MARCA M ON B.MARCA_ID = M.MARCA_ID ");
|
||||
sql.append("JOIN EMPRESA E ON E.EMPRESA_ID = M.EMPRESA_ID ");
|
||||
sql.append("JOIN PUNTO_VENTA PVO ON PVO.PUNTOVENTA_ID = O.PUNTOVENTA_ID ");
|
||||
sql.append("LEFT JOIN PARADA ORI ON ORI.PARADA_ID = B.ORIGEN_ID ");
|
||||
sql.append("LEFT JOIN PARADA DES ON DES.PARADA_ID = B.DESTINO_ID ");
|
||||
sql.append("LEFT JOIN PUNTO_VENTA PVV ON PVV.PUNTOVENTA_ID = B.PUNTOVENTA_ID ");
|
||||
sql.append("LEFT JOIN USUARIO UI ON UI.USUARIO_ID = O.USUARIO_ID ");
|
||||
sql.append("WHERE O.ACTIVO = 1 ");
|
||||
|
||||
sql.append(puntoVentas == null ? "" : "AND PVO.PUNTOVENTA_ID IN (" + puntoVentas + ") ");
|
||||
|
||||
if(StringUtils.isNotBlank(fecInicio)) {
|
||||
sql.append("AND O.FECINC >= TO_DATE(:fecInicio,'DD/MM/YYYY HH24:MI') ");
|
||||
}
|
||||
|
||||
if(StringUtils.isNotBlank(fecFinal)) {
|
||||
sql.append("AND O.FECINC <= TO_DATE(:fecFinal,'DD/MM/YYYY HH24:MI') ");
|
||||
}
|
||||
|
||||
if(StringUtils.isNotBlank(fecPagoInicio)) {
|
||||
sql.append("AND O.FECPAGO >= TO_DATE(:fecPagoInicio,'DD/MM/YYYY HH24:MI') ");
|
||||
}
|
||||
|
||||
if(StringUtils.isNotBlank(fecPagoFinal)) {
|
||||
sql.append("AND O.FECPAGO <= TO_DATE(:fecPagoFinal,'DD/MM/YYYY HH24:MI') ");
|
||||
}
|
||||
|
||||
if (empresaId != null) {
|
||||
sql.append(" and M.EMPRESA_ID = :empresaId ");
|
||||
}
|
||||
|
||||
if(StringUtils.isNotBlank(numoperacion)){
|
||||
sql.append(" and O.NUMOPERACION like '%"+numoperacion+"%' ");
|
||||
}
|
||||
|
||||
if(ocdId != null){
|
||||
sql.append(" and O.OCD_ID = :ocdId ");
|
||||
}
|
||||
sql.append(" ORDER BY ");
|
||||
switch (ordenacion) {
|
||||
case NUM_OPERACION:
|
||||
sql.append(" O.NUMOPERACION ");
|
||||
break;
|
||||
case FECHA_CREACION:
|
||||
sql.append(" O.FECINC ");
|
||||
break;
|
||||
case FECHA_PAGAMENTO:
|
||||
sql.append(" O.FECPAGO ");
|
||||
break;
|
||||
default:
|
||||
sql.append(" B.NUMFOLIOSISTEMA ");
|
||||
break;
|
||||
}
|
||||
|
||||
return sql.toString();
|
||||
}
|
||||
}
|
|
@ -0,0 +1,203 @@
|
|||
package com.rjconsultores.ventaboletos.relatorios.impl;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
import com.rjconsultores.ventaboletos.constantes.Constantes;
|
||||
|
||||
public class RelatorioOCDReembolsoPixBean {
|
||||
private Long ocdId;
|
||||
|
||||
private Long boletoId;
|
||||
|
||||
private String numoperacion;
|
||||
private String numfoliosistema;
|
||||
|
||||
private Date fechorventa;
|
||||
|
||||
private BigDecimal valorOcd;
|
||||
private BigDecimal penalizacion;
|
||||
private Date fecinc;
|
||||
private String empresa;
|
||||
private String nombusuario;
|
||||
private String nombusuarioinc;
|
||||
private String nombpuntoventa;
|
||||
private String nombpuntoventainc;
|
||||
private String origem;
|
||||
private String destino;
|
||||
private String asiento;
|
||||
private Date feccorrida;
|
||||
private BigDecimal totalBilhete;
|
||||
private Integer motivocancelacionId;
|
||||
private String nomePix;
|
||||
private String cpfCnpjPix;
|
||||
private String telefonePix;
|
||||
private String tipoChavePix;
|
||||
private String chavePix;
|
||||
public Long getOcdId() {
|
||||
return ocdId;
|
||||
}
|
||||
public void setOcdId(Long ocdId) {
|
||||
this.ocdId = ocdId;
|
||||
}
|
||||
public Long getBoletoId() {
|
||||
return boletoId;
|
||||
}
|
||||
public void setBoletoId(Long boletoId) {
|
||||
this.boletoId = boletoId;
|
||||
}
|
||||
public String getNumoperacion() {
|
||||
return numoperacion;
|
||||
}
|
||||
public void setNumoperacion(String numoperacion) {
|
||||
this.numoperacion = numoperacion;
|
||||
}
|
||||
public String getNumfoliosistema() {
|
||||
return numfoliosistema;
|
||||
}
|
||||
public void setNumfoliosistema(String numfoliosistema) {
|
||||
this.numfoliosistema = numfoliosistema;
|
||||
}
|
||||
public Date getFechorventa() {
|
||||
return fechorventa;
|
||||
}
|
||||
public void setFechorventa(Date fechorventa) {
|
||||
this.fechorventa = fechorventa;
|
||||
}
|
||||
public BigDecimal getValorOcd() {
|
||||
return valorOcd;
|
||||
}
|
||||
public void setValorOcd(BigDecimal valorOcd) {
|
||||
this.valorOcd = valorOcd;
|
||||
}
|
||||
public BigDecimal getPenalizacion() {
|
||||
return penalizacion;
|
||||
}
|
||||
public void setPenalizacion(BigDecimal penalizacion) {
|
||||
this.penalizacion = penalizacion;
|
||||
}
|
||||
public Date getFecinc() {
|
||||
return fecinc;
|
||||
}
|
||||
public void setFecinc(Date fecinc) {
|
||||
this.fecinc = fecinc;
|
||||
}
|
||||
public String getEmpresa() {
|
||||
return empresa;
|
||||
}
|
||||
public void setEmpresa(String empresa) {
|
||||
this.empresa = empresa;
|
||||
}
|
||||
public String getNombusuario() {
|
||||
return nombusuario;
|
||||
}
|
||||
public void setNombusuario(String nombusuario) {
|
||||
this.nombusuario = nombusuario;
|
||||
}
|
||||
public String getNombusuarioinc() {
|
||||
return nombusuarioinc;
|
||||
}
|
||||
public void setNombusuarioinc(String nombusuarioinc) {
|
||||
this.nombusuarioinc = nombusuarioinc;
|
||||
}
|
||||
public String getNombpuntoventa() {
|
||||
return nombpuntoventa;
|
||||
}
|
||||
public void setNombpuntoventa(String nombpuntoventa) {
|
||||
this.nombpuntoventa = nombpuntoventa;
|
||||
}
|
||||
public String getNombpuntoventainc() {
|
||||
return nombpuntoventainc;
|
||||
}
|
||||
public void setNombpuntoventainc(String nombpuntoventainc) {
|
||||
this.nombpuntoventainc = nombpuntoventainc;
|
||||
}
|
||||
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 getAsiento() {
|
||||
return asiento;
|
||||
}
|
||||
public void setAsiento(String asiento) {
|
||||
this.asiento = asiento;
|
||||
}
|
||||
public Date getFeccorrida() {
|
||||
return feccorrida;
|
||||
}
|
||||
public void setFeccorrida(Date feccorrida) {
|
||||
this.feccorrida = feccorrida;
|
||||
}
|
||||
public BigDecimal getTotalBilhete() {
|
||||
return totalBilhete;
|
||||
}
|
||||
public void setTotalBilhete(BigDecimal totalBilhete) {
|
||||
this.totalBilhete = totalBilhete;
|
||||
}
|
||||
public Integer getMotivocancelacionId() {
|
||||
return motivocancelacionId;
|
||||
}
|
||||
public void setMotivocancelacionId(Integer motivocancelacionId) {
|
||||
this.motivocancelacionId = motivocancelacionId;
|
||||
}
|
||||
public String getNomePix() {
|
||||
return nomePix;
|
||||
}
|
||||
public void setNomePix(String nomePix) {
|
||||
this.nomePix = nomePix;
|
||||
}
|
||||
public String getCpfCnpjPix() {
|
||||
return cpfCnpjPix;
|
||||
}
|
||||
public void setCpfCnpjPix(String cpfCnpjPix) {
|
||||
this.cpfCnpjPix = cpfCnpjPix;
|
||||
}
|
||||
|
||||
public String getTelefonePix() {
|
||||
return telefonePix;
|
||||
}
|
||||
public void setTelefonePix(String telefonePix) {
|
||||
this.telefonePix = telefonePix;
|
||||
}
|
||||
public String getTipoChavePix() {
|
||||
return tipoChavePix;
|
||||
}
|
||||
public void setTipoChavePix(String tipoChavePix) {
|
||||
this.tipoChavePix = tipoChavePix;
|
||||
}
|
||||
public String getChavePix() {
|
||||
return chavePix;
|
||||
}
|
||||
public void setChavePix(String chavePix) {
|
||||
this.chavePix = chavePix;
|
||||
}
|
||||
|
||||
public String getMotivo() {
|
||||
if(motivocancelacionId != null && Constantes.MVO_CANCEL_GERACAO_OCD.intValue() == motivocancelacionId.intValue()) {
|
||||
return "Geração OCD";
|
||||
} else if(motivocancelacionId != null && Constantes.MVO_CANCEL_TRANSFERENCIA.intValue() == motivocancelacionId.intValue()) {
|
||||
return "Transferência";
|
||||
} else if(motivocancelacionId != null && Constantes.MVO_CANCEL_TROCA.intValue() == motivocancelacionId.intValue()) {
|
||||
return "Troca";
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public BigDecimal getMulta() {
|
||||
if(motivocancelacionId != null && Constantes.MVO_CANCEL_GERACAO_OCD.intValue() == motivocancelacionId.intValue()) {
|
||||
return getTotalBilhete().subtract(getValorOcd());
|
||||
}
|
||||
return BigDecimal.ZERO;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
|
@ -0,0 +1,49 @@
|
|||
#geral
|
||||
msg.noData=No se pudo obtener datos con los parámetros reportados.
|
||||
msg.a=à
|
||||
|
||||
#Labels header
|
||||
label.periodo=Período
|
||||
label.ate=até
|
||||
label.de=de
|
||||
label.filtros=Fitros:
|
||||
label.dataHora=Emitido em:
|
||||
label.impressorPor=Emitido Por:
|
||||
label.pagina=Página:
|
||||
detail.periodoFecpago=Data Pagamento:
|
||||
detail.periodoFecinc=Data OCD:
|
||||
|
||||
#Labels detail
|
||||
|
||||
detail.numfoliosistema=Boleto
|
||||
detail.numoperacion=Num. Operacion
|
||||
detail.fecvenda=Fecha Venta
|
||||
detail.valorOcd=Valor OCD
|
||||
detail.penalizacion=Penalizacion
|
||||
detail.multa=Multa
|
||||
detail.motivo=Motivo
|
||||
detail.nombusuarioinc=Usuário Inc.
|
||||
|
||||
detail.fecinc=Fecha OCD
|
||||
detail.nombempresa=Empresa
|
||||
detail.nombusuario=Usuário
|
||||
detail.nombpuntoventainc=Punto Venta Emissão
|
||||
detail.nombpuntoventa=Punto Venta
|
||||
|
||||
detail.origem=Origem
|
||||
detail.destino=Destino
|
||||
detail.feccorrida=Data Viagem
|
||||
detail.Asiento=Asientos
|
||||
detail.dadosOcd=Dados OCD
|
||||
detail.dadosVenda=Dados da Venda/Passagem
|
||||
detail.totalBilhete=Valor Total
|
||||
detail.total=Total
|
||||
|
||||
detail.dadosPix=Dados do Pix para Reembolso
|
||||
detail.nomePix=Nome
|
||||
detail.cpfCnpjPix= Cpf/Cnpj
|
||||
detail.telefonePix=Telefone
|
||||
detail.tipoChavePix=Tipo da Chave
|
||||
detail.chavePix=Chave
|
||||
|
||||
linhas=Líneas
|
|
@ -0,0 +1,52 @@
|
|||
#geral
|
||||
msg.noData=Não foi possivel obter dados com os parâmetros informados.
|
||||
msg.a=à
|
||||
|
||||
#Labels header
|
||||
label.periodo=Período
|
||||
label.ate=até
|
||||
label.de=de
|
||||
label.filtros=Fitros:
|
||||
label.dataHora=Emitido em:
|
||||
label.impressorPor=Emitido Por:
|
||||
label.pagina=Página:
|
||||
detail.periodoFecpago=Data Pagamento:
|
||||
detail.periodoFecinc=Data OCD:
|
||||
|
||||
#Labels detail
|
||||
|
||||
detail.numfoliosistema=Nº Bilhete
|
||||
detail.numoperacion=Localizador
|
||||
detail.fecpago=Data Pagamento
|
||||
detail.fecvenda=Data Venda
|
||||
detail.valorOcd=Valor OCD
|
||||
detail.penalizacion=Penalização
|
||||
detail.multa=Multa
|
||||
detail.motivo=Motivo
|
||||
detail.nombusuarioinc=Usuário Geração
|
||||
|
||||
detail.fecinc=Data OCD
|
||||
detail.nombempresa=Empresa
|
||||
detail.nombusuario=Usuário
|
||||
detail.nombpuntoventainc=Agência Emissão
|
||||
detail.nombpuntoventa=Agência Venda
|
||||
|
||||
|
||||
detail.origem=Origem
|
||||
detail.destino=Destino
|
||||
detail.feccorrida=Data Viagem
|
||||
detail.asiento=Assento
|
||||
detail.dadosOcd=Dados OCD
|
||||
detail.dadosVenda=Dados da Venda/Passagem
|
||||
detail.totalBilhete=Valor Total
|
||||
detail.total=Total
|
||||
|
||||
|
||||
detail.dadosPix=Dados do Pix para Reembolso
|
||||
detail.nomePix=Nome
|
||||
detail.cpfCnpjPix= Cpf/Cnpj
|
||||
detail.telefonePix=Telefone
|
||||
detail.tipoChavePix=Tipo da Chave
|
||||
detail.chavePix=Chave
|
||||
|
||||
linhas=Linhas
|
Binary file not shown.
|
@ -0,0 +1,596 @@
|
|||
<?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="RelatorioOCDNaoResgatadaEmpresa" pageWidth="1800" pageHeight="594" orientation="Landscape" whenNoDataType="NoDataSection" columnWidth="1760" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" resourceBundle="RelatorioOCDNaoResgatadaEmpresa" whenResourceMissingType="Empty" uuid="94834362-0ecc-46da-b0a2-5cdee355da3e">
|
||||
<property name="ireport.zoom" value="1.5"/>
|
||||
<property name="ireport.x" value="1573"/>
|
||||
<property name="ireport.y" value="0"/>
|
||||
<parameter name="fecInicio" class="java.lang.String">
|
||||
<defaultValueExpression><![CDATA[]]></defaultValueExpression>
|
||||
</parameter>
|
||||
<parameter name="fecFinal" class="java.lang.String"/>
|
||||
<parameter name="TITULO" class="java.lang.String"/>
|
||||
<parameter name="fecPagoInicio" class="java.lang.String"/>
|
||||
<parameter name="fecPagoFinal" class="java.lang.String"/>
|
||||
<parameter name="filtros" class="java.lang.String"/>
|
||||
<parameter name="usuario" class="java.lang.String"/>
|
||||
<queryString>
|
||||
<![CDATA[]]>
|
||||
</queryString>
|
||||
<field name="nombpuntoventa" class="java.lang.String"/>
|
||||
<field name="numoperacion" class="java.lang.String"/>
|
||||
<field name="fechorventa" class="java.util.Date"/>
|
||||
<field name="valorOcd" class="java.math.BigDecimal"/>
|
||||
<field name="penalizacion" class="java.math.BigDecimal"/>
|
||||
<field name="nombusuarioinc" class="java.lang.String"/>
|
||||
<field name="fecinc" class="java.util.Date"/>
|
||||
<field name="empresa" class="java.lang.String"/>
|
||||
<field name="nombusuario" class="java.lang.String"/>
|
||||
<field name="origem" class="java.lang.String"/>
|
||||
<field name="destino" class="java.lang.String"/>
|
||||
<field name="feccorrida" class="java.util.Date"/>
|
||||
<field name="asiento" class="java.lang.String"/>
|
||||
<field name="nombpuntoventainc" class="java.lang.String"/>
|
||||
<field name="totalBilhete" class="java.math.BigDecimal"/>
|
||||
<field name="numfoliosistema" class="java.lang.String"/>
|
||||
<field name="motivo" class="java.lang.String"/>
|
||||
<field name="multa" class="java.math.BigDecimal"/>
|
||||
<field name="nomePix" class="java.lang.String"/>
|
||||
<field name="cpfCnpjPix" class="java.lang.String"/>
|
||||
<field name="telefonePix" class="java.lang.String"/>
|
||||
<field name="tipoChavePix" class="java.lang.String"/>
|
||||
<field name="chavePix" class="java.lang.String"/>
|
||||
<variable name="vValorOcd" class="java.math.BigDecimal" calculation="Sum">
|
||||
<variableExpression><![CDATA[$F{valorOcd}]]></variableExpression>
|
||||
</variable>
|
||||
<variable name="vTotalBilhete" class="java.math.BigDecimal" calculation="Sum">
|
||||
<variableExpression><![CDATA[$F{totalBilhete}]]></variableExpression>
|
||||
</variable>
|
||||
<variable name="vMulta" class="java.math.BigDecimal" calculation="Sum">
|
||||
<variableExpression><![CDATA[$F{multa}]]></variableExpression>
|
||||
</variable>
|
||||
<group name="empresa" isReprintHeaderOnEachPage="true">
|
||||
<groupExpression><![CDATA[$F{empresa}]]></groupExpression>
|
||||
<groupHeader>
|
||||
<band height="66" splitType="Stretch">
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement uuid="09306494-79f1-44dd-9eed-c39684384bbf" x="0" y="1" width="590" height="17"/>
|
||||
<textElement verticalAlignment="Middle">
|
||||
<font size="9" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{empresa}]]></textFieldExpression>
|
||||
</textField>
|
||||
<line>
|
||||
<reportElement uuid="c274c839-42a9-4922-aa19-515055e260e5" x="0" y="0" width="1760" height="1"/>
|
||||
</line>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement uuid="e8355048-a037-4837-866b-e6cf7a3e90ed" positionType="Float" stretchType="RelativeToTallestObject" x="1" y="39" width="116" height="17"/>
|
||||
<textElement textAlignment="Left" verticalAlignment="Top" markup="none">
|
||||
<font size="9"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{detail.numoperacion}]]></textFieldExpression>
|
||||
</textField>
|
||||
<line>
|
||||
<reportElement uuid="effe0475-3353-4fa6-b092-117faf5720f0" x="0" y="38" width="1760" height="1"/>
|
||||
</line>
|
||||
<line>
|
||||
<reportElement uuid="ee1ab24d-cffb-48ce-91b7-b70c6e5365cf" stretchType="RelativeToTallestObject" x="1328" y="19" width="1" height="17" isPrintWhenDetailOverflows="true"/>
|
||||
</line>
|
||||
<line>
|
||||
<reportElement uuid="bf554b75-fcd8-4ec4-b22b-feba28af1121" x="1" y="18" width="1760" height="1"/>
|
||||
</line>
|
||||
<line>
|
||||
<reportElement uuid="ce5f4c0a-2708-4579-93d9-abbf86bcc233" stretchType="RelativeToTallestObject" x="753" y="19" width="1" height="17"/>
|
||||
</line>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement uuid="1fe5ca9e-e6e9-4df2-aacc-005c2f28e693" positionType="Float" stretchType="RelativeToTallestObject" x="1" y="20" width="748" height="17"/>
|
||||
<textElement textAlignment="Center" markup="none">
|
||||
<font size="9" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{detail.dadosOcd}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement uuid="649dd349-256f-4fe7-a9f1-808de180a1ab" positionType="Float" stretchType="RelativeToTallestObject" x="117" y="39" width="63" height="17"/>
|
||||
<textElement textAlignment="Left" verticalAlignment="Top" markup="none">
|
||||
<font size="9"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{detail.numfoliosistema}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement uuid="da2cd81f-cb67-48b6-be99-86ff55a07d34" positionType="Float" stretchType="RelativeToTallestObject" x="181" y="39" width="78" height="17"/>
|
||||
<textElement textAlignment="Left" verticalAlignment="Top" markup="none">
|
||||
<font size="9"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{detail.fecinc}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement uuid="c8628b7b-0e19-43b7-9f98-389d17e5a282" positionType="Float" stretchType="RelativeToTallestObject" x="260" y="39" width="120" height="17"/>
|
||||
<textElement textAlignment="Left" verticalAlignment="Top" markup="none">
|
||||
<font size="9"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{detail.nombpuntoventainc}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement uuid="eb2ccbfe-c2fb-4ce8-b761-9b0f8345ff69" positionType="Float" stretchType="RelativeToTallestObject" x="381" y="39" width="64" height="17"/>
|
||||
<textElement textAlignment="Right" verticalAlignment="Top" markup="none">
|
||||
<font size="9"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{detail.penalizacion}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement uuid="71d0b0b6-6d01-4a2f-8b98-1a84c228f71a" positionType="Float" stretchType="RelativeToTallestObject" x="445" y="39" width="64" height="17"/>
|
||||
<textElement textAlignment="Right" verticalAlignment="Top" markup="none">
|
||||
<font size="9"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{detail.multa}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement uuid="7c50e28f-a386-4198-8d7b-f8ebbb1e511d" positionType="Float" stretchType="RelativeToTallestObject" x="510" y="39" width="78" height="17"/>
|
||||
<textElement textAlignment="Right" verticalAlignment="Top" markup="none">
|
||||
<font size="9"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{detail.valorOcd}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement uuid="bf29febc-9749-47dd-ab2f-1aade759ba55" positionType="Float" stretchType="RelativeToTallestObject" x="590" y="39" width="75" height="17"/>
|
||||
<textElement verticalAlignment="Top" markup="none">
|
||||
<font size="9"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{detail.motivo}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement uuid="3b9cbef3-2245-4a64-a15f-dd10dd9eb71c" positionType="Float" stretchType="RelativeToTallestObject" x="666" y="39" width="85" height="17"/>
|
||||
<textElement verticalAlignment="Top" markup="none">
|
||||
<font size="9"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{detail.nombusuarioinc}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement uuid="966df6cf-5e89-4cf7-9e74-d080e1a20287" positionType="Float" stretchType="RelativeToTallestObject" x="752" y="39" width="120" height="17"/>
|
||||
<textElement verticalAlignment="Top" markup="none">
|
||||
<font size="9"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{detail.nombpuntoventa}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement uuid="59c4bcbf-cfac-4174-8bfa-53f32c6487fe" positionType="Float" stretchType="RelativeToTallestObject" x="873" y="39" width="80" height="17"/>
|
||||
<textElement verticalAlignment="Top" markup="none">
|
||||
<font size="9"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{detail.fecvenda}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement uuid="00106961-62a1-476e-add9-1e3ab30d3dbd" positionType="Float" stretchType="RelativeToTallestObject" x="955" y="41" width="80" height="17"/>
|
||||
<textElement verticalAlignment="Top" markup="none">
|
||||
<font size="9"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{detail.feccorrida}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement uuid="287d9c50-50a1-424d-bdd3-f43feb98f966" positionType="Float" stretchType="RelativeToTallestObject" x="1035" y="41" width="90" height="17"/>
|
||||
<textElement verticalAlignment="Top" markup="none">
|
||||
<font size="9"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{detail.origem}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement uuid="c9774dae-3bea-4319-9ce1-c129b9c7c183" positionType="Float" stretchType="RelativeToTallestObject" x="1125" y="41" width="90" height="17"/>
|
||||
<textElement verticalAlignment="Top" markup="none">
|
||||
<font size="9"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{detail.destino}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement uuid="eabdff4f-be15-4d8c-9adf-fac8acf4bfac" positionType="Float" stretchType="RelativeToTallestObject" x="1215" y="41" width="40" height="17"/>
|
||||
<textElement verticalAlignment="Top" markup="none">
|
||||
<font size="9"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{detail.asiento}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement uuid="fd50b974-6842-4748-8632-28c4246740b0" positionType="Float" stretchType="RelativeToTallestObject" x="1255" y="41" width="71" height="17"/>
|
||||
<textElement textAlignment="Right" verticalAlignment="Top" markup="none">
|
||||
<font size="9"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{detail.totalBilhete}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement uuid="1bc24d64-bdc3-4ef4-b231-5f518b0c878d" positionType="Float" stretchType="RelativeToTallestObject" x="1328" y="41" width="100" height="17"/>
|
||||
<textElement textAlignment="Center" verticalAlignment="Top" markup="none">
|
||||
<font size="9"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{detail.nomePix}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement uuid="b5b172ee-cb45-44f2-a744-bc70dcfbd50c" positionType="Float" stretchType="RelativeToTallestObject" x="1428" y="41" width="60" height="17"/>
|
||||
<textElement verticalAlignment="Top" markup="none">
|
||||
<font size="9"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{detail.cpfCnpjPix}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement uuid="fc818daf-484a-41fd-b1a9-2d8796c96af0" positionType="Float" stretchType="RelativeToTallestObject" x="1489" y="41" width="60" height="17"/>
|
||||
<textElement verticalAlignment="Top" markup="none">
|
||||
<font size="9"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{detail.telefonePix}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement uuid="2c53bd34-6be3-419c-9c70-6e0d6c048220" positionType="Float" stretchType="RelativeToTallestObject" x="1550" y="41" width="88" height="17"/>
|
||||
<textElement textAlignment="Center" verticalAlignment="Top" markup="none">
|
||||
<font size="9"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{detail.tipoChavePix}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement uuid="4cbf0ac8-539a-419f-8b3a-04c65e9e12b6" positionType="Float" stretchType="RelativeToTallestObject" x="757" y="20" width="632" height="17"/>
|
||||
<textElement textAlignment="Center" markup="none">
|
||||
<font size="9" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{detail.dadosVenda}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement uuid="8df7e98f-ea60-4266-927e-a26b7c4392cc" positionType="Float" stretchType="RelativeToTallestObject" x="1329" y="20" width="428" height="17"/>
|
||||
<textElement textAlignment="Center" markup="none">
|
||||
<font size="9" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{detail.dadosPix}]]></textFieldExpression>
|
||||
</textField>
|
||||
<line>
|
||||
<reportElement uuid="3e8dcfa1-5b79-47ef-9574-e2e281799206" positionType="FixRelativeToBottom" x="0" y="60" width="1760" height="1"/>
|
||||
</line>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement uuid="2dd4a0d4-eb13-4a7d-9f47-0587157c2e31" positionType="Float" stretchType="RelativeToTallestObject" x="1638" y="41" width="121" height="17"/>
|
||||
<textElement verticalAlignment="Top" markup="none">
|
||||
<font size="9"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{detail.chavePix}]]></textFieldExpression>
|
||||
</textField>
|
||||
</band>
|
||||
</groupHeader>
|
||||
<groupFooter>
|
||||
<band splitType="Stretch"/>
|
||||
</groupFooter>
|
||||
</group>
|
||||
<background>
|
||||
<band splitType="Stretch"/>
|
||||
</background>
|
||||
<pageHeader>
|
||||
<band height="78" splitType="Stretch">
|
||||
<textField>
|
||||
<reportElement uuid="66b2d0f6-2bf1-4bc7-9ec0-a34444e04d60" x="1559" y="0" width="107" height="20"/>
|
||||
<textElement textAlignment="Right">
|
||||
<font size="9"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{label.dataHora}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="be1692e9-f130-4d08-9173-6ca3e4699030" x="1559" y="20" width="179" height="20"/>
|
||||
<textElement textAlignment="Right">
|
||||
<font size="9"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{label.pagina}+ " "+$V{PAGE_NUMBER}+ " "+ $R{label.de}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="652312bd-292a-424d-a234-5f157e3699c6" x="0" y="0" width="661" height="20"/>
|
||||
<textElement>
|
||||
<font size="9"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$P{TITULO}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="dd/MM/yyyy HH:mm">
|
||||
<reportElement uuid="6f671365-868e-41a6-81ee-a308d1d91e1d" x="1666" y="0" width="93" height="20"/>
|
||||
<textElement textAlignment="Right">
|
||||
<font size="9"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="" isBlankWhenNull="false">
|
||||
<reportElement uuid="67707009-6d28-47b1-a56f-90988944ebe9" mode="Transparent" x="1559" y="40" width="199" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<font fontName="SansSerif" size="9" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||
<paragraph lineSpacing="Single"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{label.impressorPor}+" "+$P{usuario}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" pattern="dd/MM/yyyy" isBlankWhenNull="true">
|
||||
<reportElement uuid="a40e9084-b96c-491b-a46d-91988faed32c" mode="Transparent" x="162" y="35" width="51" height="14" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||
<paragraph lineSpacing="Single"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$P{fecFinal}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="" isBlankWhenNull="false">
|
||||
<reportElement uuid="a64c4af0-d672-4986-a4cc-1e66ace67bf1" mode="Transparent" x="143" y="49" width="19" height="14" forecolor="#000000" backcolor="#FFFFFF">
|
||||
<printWhenExpression><![CDATA[$P{fecPagoFinal} != null]]></printWhenExpression>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||
<paragraph lineSpacing="Single"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{label.ate}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" pattern="dd/MM/yyyy" isBlankWhenNull="true">
|
||||
<reportElement uuid="5516e4d8-6ba3-44eb-a5d1-a32105eb3ef3" mode="Transparent" x="162" y="49" width="51" height="14" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||
<paragraph lineSpacing="Single"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$P{fecPagoFinal}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="" isBlankWhenNull="false">
|
||||
<reportElement uuid="c314206b-e02c-4b47-bcbd-1454e8a39d05" mode="Transparent" x="0" y="35" width="92" height="14" forecolor="#000000" backcolor="#FFFFFF">
|
||||
<printWhenExpression><![CDATA[$P{fecInicio} != null || $P{fecFinal} != null]]></printWhenExpression>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||
<paragraph lineSpacing="Single"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{detail.periodoFecinc}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="" isBlankWhenNull="false">
|
||||
<reportElement uuid="4799a221-2e64-4dd1-918c-691239a81c27" mode="Transparent" x="143" y="35" width="19" height="14" forecolor="#000000" backcolor="#FFFFFF">
|
||||
<printWhenExpression><![CDATA[$P{fecFinal} != null]]></printWhenExpression>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||
<paragraph lineSpacing="Single"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{label.ate}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" pattern="dd/MM/yyyy" isBlankWhenNull="true">
|
||||
<reportElement uuid="3e58413a-d674-4804-a917-8dd69fc72eef" mode="Transparent" x="92" y="49" width="51" height="14" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||
<paragraph lineSpacing="Single"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$P{fecPagoInicio}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="58a3181f-f459-409b-831b-16c82c85d3de" mode="Transparent" x="0" y="20" width="66" height="14" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||
<paragraph lineSpacing="Single"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{label.periodo}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" pattern="dd/MM/yyyy" isBlankWhenNull="true">
|
||||
<reportElement uuid="62d2d885-0343-4136-8ed3-16b290d122a0" mode="Transparent" x="92" y="35" width="51" height="14" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||
<paragraph lineSpacing="Single"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$P{fecInicio}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="" isBlankWhenNull="false">
|
||||
<reportElement uuid="1966f6a7-007a-48b6-878c-a115a01fe474" mode="Transparent" x="0" y="49" width="92" height="14" forecolor="#000000" backcolor="#FFFFFF">
|
||||
<printWhenExpression><![CDATA[$P{fecPagoInicio} != null || $P{fecPagoFinal} != null]]></printWhenExpression>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||
<paragraph lineSpacing="Single"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{detail.periodoFecpago}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement uuid="f26cad4a-e3b4-43f5-a480-f5e0deebdc62" stretchType="RelativeToTallestObject" x="45" y="64" width="756" height="14"/>
|
||||
<textElement verticalAlignment="Top">
|
||||
<font size="9"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$P{filtros}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="1d307d0c-7a9d-4cb2-9de6-2f1c700603d6" stretchType="RelativeToTallestObject" mode="Transparent" x="0" y="64" width="43" height="14" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||
<paragraph lineSpacing="Single"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{label.filtros}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField evaluationTime="Report">
|
||||
<reportElement uuid="ad9def9c-3df2-429c-af5b-904cacbf592e" x="1740" y="20" width="19" height="20"/>
|
||||
<textElement>
|
||||
<font size="9"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
|
||||
</textField>
|
||||
</band>
|
||||
</pageHeader>
|
||||
<columnHeader>
|
||||
<band splitType="Stretch"/>
|
||||
</columnHeader>
|
||||
<detail>
|
||||
<band height="20" splitType="Stretch">
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement uuid="b8ce6eb6-8b05-4936-9980-6a5e83806e36" stretchType="RelativeToTallestObject" x="1035" y="1" width="90" height="17"/>
|
||||
<textElement>
|
||||
<font size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{origem}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement uuid="f008db4d-9791-4c96-aa15-1c9f0e73f11a" stretchType="RelativeToTallestObject" x="1550" y="1" width="88" height="17"/>
|
||||
<textElement textAlignment="Center" markup="none">
|
||||
<font size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{tipoChavePix}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement uuid="35602dab-1999-4ae5-a7d1-e38665a9f994" stretchType="RelativeToTallestObject" x="1328" y="1" width="100" height="17"/>
|
||||
<textElement textAlignment="Center" markup="none">
|
||||
<font size="8" isStrikeThrough="false"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{nomePix}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" pattern="###0.00" isBlankWhenNull="true">
|
||||
<reportElement uuid="d4894786-20fc-45c7-8fe6-a336a8736d24" stretchType="RelativeToTallestObject" x="381" y="1" width="64" height="17"/>
|
||||
<textElement textAlignment="Right" markup="none">
|
||||
<font size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{penalizacion}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement uuid="0a25139e-ca2e-404a-aad0-fece352398b5" stretchType="RelativeToTallestObject" x="1125" y="1" width="90" height="17"/>
|
||||
<textElement>
|
||||
<font size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{destino}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" pattern="dd/MM/yyyy" isBlankWhenNull="true">
|
||||
<reportElement uuid="0a3ebc26-ba0f-4b3a-9d61-88db7600e339" stretchType="RelativeToTallestObject" x="873" y="1" width="80" height="17"/>
|
||||
<textElement>
|
||||
<font size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{fechorventa}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement uuid="3f2de0d3-e1e1-4c38-abe4-539529605c34" stretchType="RelativeToTallestObject" x="1" y="1" width="116" height="17"/>
|
||||
<textElement textAlignment="Left" markup="none">
|
||||
<font size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{numoperacion}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" pattern="###0.00" isBlankWhenNull="true">
|
||||
<reportElement uuid="c328f3f3-1a66-4982-93b4-b0e362cb61b5" stretchType="RelativeToTallestObject" x="510" y="1" width="78" height="17"/>
|
||||
<textElement textAlignment="Right" markup="none">
|
||||
<font size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{valorOcd}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
|
||||
<reportElement uuid="d7502c86-2676-4410-ba9a-55ebadb6b4df" stretchType="RelativeToTallestObject" x="1428" y="1" width="60" height="17"/>
|
||||
<textElement textAlignment="Left" markup="none">
|
||||
<font size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{cpfCnpjPix}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" pattern="dd/MM/yyyy" isBlankWhenNull="true">
|
||||
<reportElement uuid="c520480c-7f98-4b47-bb87-8191fa1cdd02" stretchType="RelativeToTallestObject" x="181" y="1" width="78" height="17"/>
|
||||
<textElement>
|
||||
<font size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{fecinc}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement uuid="03cbf7cd-b765-45ab-9080-b21790795f4b" stretchType="RelativeToTallestObject" x="260" y="1" width="120" height="17"/>
|
||||
<textElement textAlignment="Left" markup="none">
|
||||
<font size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{nombpuntoventainc}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement uuid="144ab2b8-ee60-44cf-8f5c-afe0f4c7637e" stretchType="RelativeToTallestObject" x="752" y="1" width="120" height="17"/>
|
||||
<textElement textAlignment="Left" markup="none">
|
||||
<font size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{nombpuntoventa}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" pattern="dd/MM/yyyy" isBlankWhenNull="true">
|
||||
<reportElement uuid="b7a9e1e0-9dbb-4bce-bdae-4c30531459d7" stretchType="RelativeToTallestObject" x="955" y="1" width="80" height="17"/>
|
||||
<textElement>
|
||||
<font size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{feccorrida}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement uuid="ff5e5392-4eab-4156-b84d-fdfac82f4894" stretchType="RelativeToTallestObject" x="1215" y="1" width="40" height="17"/>
|
||||
<textElement textAlignment="Center">
|
||||
<font size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{asiento}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
|
||||
<reportElement uuid="b5f027c0-7c01-419c-9fdf-177f572bd8d7" stretchType="RelativeToTallestObject" x="1255" y="1" width="71" height="17"/>
|
||||
<textElement textAlignment="Right" markup="none">
|
||||
<font size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{totalBilhete}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement uuid="46aef176-b305-445b-ae66-5742f2137410" stretchType="RelativeToTallestObject" x="666" y="1" width="85" height="17"/>
|
||||
<textElement textAlignment="Left" markup="none">
|
||||
<font size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{nombusuarioinc}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
|
||||
<reportElement uuid="c041aa5f-dc75-492d-a011-5627ae88bd99" stretchType="RelativeToTallestObject" x="1489" y="1" width="60" height="17"/>
|
||||
<textElement textAlignment="Right" markup="none">
|
||||
<font size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{telefonePix}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement uuid="75b6b257-4bb0-4616-8cce-649721eda8eb" positionType="Float" stretchType="RelativeToTallestObject" x="117" y="1" width="63" height="17"/>
|
||||
<textElement textAlignment="Left" markup="none">
|
||||
<font size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{numfoliosistema}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement uuid="31a8246e-0538-47df-a63f-0133cbcf3261" stretchType="RelativeToTallestObject" x="590" y="1" width="75" height="17"/>
|
||||
<textElement textAlignment="Left" markup="none">
|
||||
<font size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{motivo}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" pattern="###0.00" isBlankWhenNull="true">
|
||||
<reportElement uuid="934ac7ca-2106-4d7c-b94f-4d27537992da" stretchType="RelativeToTallestObject" x="445" y="1" width="64" height="17"/>
|
||||
<textElement textAlignment="Right" markup="none">
|
||||
<font size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{multa}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement uuid="40899004-cf01-4ee0-9e70-371258650127" stretchType="RelativeToTallestObject" x="1638" y="1" width="121" height="17"/>
|
||||
<textElement textAlignment="Left" markup="none">
|
||||
<font size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{chavePix}]]></textFieldExpression>
|
||||
</textField>
|
||||
</band>
|
||||
</detail>
|
||||
<summary>
|
||||
<band height="18">
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement uuid="77b4e176-4bb8-43ed-9613-8fca4f220283" positionType="Float" stretchType="RelativeToTallestObject" x="325" y="1" width="120" height="17"/>
|
||||
<textElement textAlignment="Right" markup="none">
|
||||
<font size="8" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{detail.total}]]></textFieldExpression>
|
||||
</textField>
|
||||
<line>
|
||||
<reportElement uuid="a59c2ca7-4e06-4b21-8a48-afc891b7477c" x="0" y="0" width="1760" height="1"/>
|
||||
</line>
|
||||
<textField isStretchWithOverflow="true" pattern="###0.00" isBlankWhenNull="true">
|
||||
<reportElement uuid="1e9d6567-f7b6-42b1-9047-a0ca627dfafb" stretchType="RelativeToTallestObject" x="445" y="1" width="64" height="17"/>
|
||||
<textElement textAlignment="Right" markup="none">
|
||||
<font size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$V{vMulta}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" pattern="###0.00" isBlankWhenNull="true">
|
||||
<reportElement uuid="c2abd914-b7a9-4ecd-91c1-94bd9066d0c8" stretchType="RelativeToTallestObject" x="510" y="1" width="78" height="17"/>
|
||||
<textElement textAlignment="Right" markup="none">
|
||||
<font size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$V{vValorOcd}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
|
||||
<reportElement uuid="f2e744b8-edda-48cf-858d-cbfadaa79049" stretchType="RelativeToTallestObject" x="1255" y="1" width="71" height="17"/>
|
||||
<textElement textAlignment="Right" markup="none">
|
||||
<font size="8" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$V{vTotalBilhete}]]></textFieldExpression>
|
||||
</textField>
|
||||
</band>
|
||||
</summary>
|
||||
<noData>
|
||||
<band height="20">
|
||||
<textField>
|
||||
<reportElement uuid="5a6c1b7b-2242-4cf1-b957-723b906ee620" x="0" y="0" width="811" height="20"/>
|
||||
<textElement/>
|
||||
<textFieldExpression><![CDATA[$R{msg.noData}]]></textFieldExpression>
|
||||
</textField>
|
||||
</band>
|
||||
</noData>
|
||||
</jasperReport>
|
|
@ -16,16 +16,19 @@ import org.zkoss.util.resource.Labels;
|
|||
import org.zkoss.zhtml.Messagebox;
|
||||
import org.zkoss.zk.ui.Component;
|
||||
import org.zkoss.zk.ui.event.Event;
|
||||
import org.zkoss.zul.Checkbox;
|
||||
import org.zkoss.zul.Combobox;
|
||||
import org.zkoss.zul.Comboitem;
|
||||
import org.zkoss.zul.Datebox;
|
||||
import org.zkoss.zul.Paging;
|
||||
import org.zkoss.zul.Radio;
|
||||
import org.zkoss.zul.Row;
|
||||
import org.zkoss.zul.Textbox;
|
||||
|
||||
import com.rjconsultores.ventaboletos.entidad.Empresa;
|
||||
import com.rjconsultores.ventaboletos.entidad.PuntoVenta;
|
||||
import com.rjconsultores.ventaboletos.relatorios.impl.RelatorioOCDNaoResgatadaEmpresa;
|
||||
import com.rjconsultores.ventaboletos.relatorios.impl.RelatorioOCDReembolsoPix;
|
||||
import com.rjconsultores.ventaboletos.relatorios.utilitarios.IndOrdenacion;
|
||||
import com.rjconsultores.ventaboletos.relatorios.utilitarios.Relatorio;
|
||||
import com.rjconsultores.ventaboletos.utilerias.UsuarioLogado;
|
||||
|
@ -67,6 +70,9 @@ public class RelatorioOCDController extends MyGenericForwardComposer {
|
|||
private MyTextbox txtNumOperacao;
|
||||
|
||||
private IndOrdenacion ordenacion;
|
||||
|
||||
private Checkbox chOcdReembolsoPix;
|
||||
private Row rowStatusOCD;
|
||||
|
||||
private void executarRelatorio() throws Exception {
|
||||
|
||||
|
@ -130,9 +136,13 @@ public class RelatorioOCDController extends MyGenericForwardComposer {
|
|||
|
||||
parametros.put("usuario", UsuarioLogado.getUsuarioLogado().getClaveUsuario());
|
||||
parametros.put("filtros", filtro.toString());
|
||||
|
||||
Relatorio relatorio = new RelatorioOCDNaoResgatadaEmpresa(parametros, dataSourceRead.getConnection());
|
||||
Relatorio relatorio =null;
|
||||
if(chOcdReembolsoPix.isChecked()) {
|
||||
relatorio = new RelatorioOCDReembolsoPix(parametros, dataSourceRead.getConnection());
|
||||
|
||||
}else {
|
||||
relatorio = new RelatorioOCDNaoResgatadaEmpresa(parametros, dataSourceRead.getConnection());
|
||||
}
|
||||
Map<String, Object> args = new HashMap<String, Object>();
|
||||
args.put("relatorio", relatorio);
|
||||
|
||||
|
@ -169,6 +179,14 @@ public class RelatorioOCDController extends MyGenericForwardComposer {
|
|||
executarRelatorio();
|
||||
}
|
||||
|
||||
public void onClick$chOcdReembolsoPix(Event ev) throws Exception {
|
||||
if(chOcdReembolsoPix.isChecked()) {
|
||||
rowStatusOCD.setVisible(false);
|
||||
}else {
|
||||
rowStatusOCD.setVisible(true);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private boolean validarDatas(Date dataInicial, Date dataFinal) {
|
||||
boolean isDataInicial = dataInicial != null;
|
||||
|
|
|
@ -9837,4 +9837,5 @@ winMovimentacionBilhetesPuntoVenta.tipoMovimentacion.label = Natureza
|
|||
editarEmpresaController.imprimirCupomEmbarqueSimplificado=Deseja Imprimir o cupom de embarque simplificado
|
||||
editarEmpresaController.imprimirCupomEmbarqueSimplificado.ajuda=A marcar esse campo, o cumpom de embarque impresso, será o cumpom simplificado
|
||||
editarPuntoVentaController.lbMotivoBloqueio.value=Motivo do Bloqueio
|
||||
editarPuntoVentaController.lbMotivo.value=Motivo
|
||||
editarPuntoVentaController.lbMotivo.value=Motivo
|
||||
relatorioOCDController.chOcdReembolsoPix.value=Exibir OCD com reembolso PIX
|
|
@ -9979,3 +9979,4 @@ editarEmpresaController.imprimirCupomEmbarqueSimplificado=Deseja Imprimir o cupo
|
|||
editarEmpresaController.imprimirCupomEmbarqueSimplificado.ajuda=A marcar esse campo, o cumpom de embarque impresso, será o cumpom simplificado
|
||||
editarPuntoVentaController.lbMotivo.value=Motivo
|
||||
editarPuntoVentaController.lbMotivoBloqueio.value=Motivo do Bloqueio
|
||||
relatorioOCDController.chOcdReembolsoPix.value=Exibir OCD com reembolso PIX
|
||||
|
|
|
@ -9950,4 +9950,5 @@ winMovimentacionBilhetesPuntoVenta.tipoMovimentacion.label = Nature
|
|||
editarEmpresaController.imprimirCupomEmbarqueSimplificado=Deseja Imprimir o cupom de embarque simplificado
|
||||
editarEmpresaController.imprimirCupomEmbarqueSimplificado.ajuda=A marcar esse campo, o cumpom de embarque impresso, será o cumpom simplificado
|
||||
editarPuntoVentaController.lbMotivo.value=Motivo
|
||||
editarPuntoVentaController.lbMotivoBloqueio.value=Motivo do Bloqueio
|
||||
editarPuntoVentaController.lbMotivoBloqueio.value=Motivo do Bloqueio
|
||||
relatorioOCDController.chOcdReembolsoPix.value=Exibir OCD com reembolso PIX
|
|
@ -10845,4 +10845,5 @@ abastoService.msg.semOrigem=Abasto Origem, não encontrado
|
|||
detAbastoService.msg.semOrigem=DetAbasto Origem, não encontrado
|
||||
editarPuntoVentaController.lbMotivo.value=Motivo
|
||||
editarPuntoVentaController.lbMotivoBloqueio.value=Motivo do Bloqueio
|
||||
relatorioOCDController.chOcdReembolsoPix.value=Exibir OCD com reembolso PIX
|
||||
|
||||
|
|
|
@ -111,7 +111,13 @@
|
|||
</borderlayout>
|
||||
</cell>
|
||||
</row>
|
||||
<row spans="1,4">
|
||||
<row spans="1,4" >
|
||||
<label
|
||||
value="${c:l('relatorioOCDController.chOcdReembolsoPix.value')}" />
|
||||
<checkbox id="chOcdReembolsoPix"
|
||||
checked="false" />
|
||||
</row>
|
||||
<row spans="1,4" id="rowStatusOCD">
|
||||
<label value="${c:l('relatorioOCDController.indStatusOCD.value')}" />
|
||||
<radiogroup Id="indStatusOCD">
|
||||
<radio id="radPendente" label="${c:l('relatorioOCDController.radPendente.value')}"
|
||||
|
@ -130,7 +136,9 @@
|
|||
<radio id="radFecPagamento" label="${c:l('relatorioOCDController.radFecPagamento.value')}" />
|
||||
</radiogroup>
|
||||
</row>
|
||||
|
||||
</rows>
|
||||
|
||||
</grid>
|
||||
<toolbar>
|
||||
<button id="btnExecutarRelatorio" image="/gui/img/find.png"
|
||||
|
|
Loading…
Reference in New Issue