13764: Relatório Venda Embarcada
bug#13764 dev:valdir qua:jose git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@92304 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
e9689f8d9a
commit
22f264899e
|
@ -0,0 +1,439 @@
|
||||||
|
package com.rjconsultores.ventaboletos.relatorios.impl;
|
||||||
|
|
||||||
|
import java.sql.Connection;
|
||||||
|
import java.sql.ResultSet;
|
||||||
|
import java.sql.SQLException;
|
||||||
|
import java.text.SimpleDateFormat;
|
||||||
|
import java.util.Date;
|
||||||
|
import java.util.HashMap;
|
||||||
|
import java.util.Map;
|
||||||
|
|
||||||
|
import org.apache.commons.lang.StringUtils;
|
||||||
|
import org.apache.log4j.Logger;
|
||||||
|
|
||||||
|
import com.rjconsultores.ventaboletos.constantes.Constantes.FiltroEnviadosSefaz;
|
||||||
|
import com.rjconsultores.ventaboletos.relatorios.utilitarios.ArrayDataSource;
|
||||||
|
import com.rjconsultores.ventaboletos.relatorios.utilitarios.Relatorio;
|
||||||
|
import com.rjconsultores.ventaboletos.utilerias.DateUtil;
|
||||||
|
import com.rjconsultores.ventaboletos.web.utilerias.NamedParameterStatement;
|
||||||
|
|
||||||
|
public class RelatorioVendaEmbarcada extends Relatorio {
|
||||||
|
|
||||||
|
private Date datInicial;
|
||||||
|
private Date datFinal;
|
||||||
|
private Integer estadoId;
|
||||||
|
private Integer empresaId;
|
||||||
|
private Integer puntoVendaId;
|
||||||
|
private String serie;
|
||||||
|
private String numBpe;
|
||||||
|
private Boolean bloqueado;
|
||||||
|
private FiltroEnviadosSefaz envioSefaz;
|
||||||
|
private FiltroEnviadosSefaz vendaEmbarcada;
|
||||||
|
private Boolean quebraSequencia;
|
||||||
|
private Boolean ultimoBpe;
|
||||||
|
|
||||||
|
private static Logger log = Logger.getLogger(RelatorioVendaEmbarcada.class);
|
||||||
|
|
||||||
|
public RelatorioVendaEmbarcada(Map<String, Object> parametros, Connection conexao) throws Exception {
|
||||||
|
super(parametros, conexao);
|
||||||
|
|
||||||
|
this.setCustomDataSource(new ArrayDataSource(this) {
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void initDados() throws Exception {
|
||||||
|
try {
|
||||||
|
SimpleDateFormat sdf = new SimpleDateFormat("dd/MM/yyyy HH:mm:ss");
|
||||||
|
|
||||||
|
Connection conexao = this.relatorio.getConexao();
|
||||||
|
|
||||||
|
Map<String, Object> parametros = this.relatorio.getParametros();
|
||||||
|
|
||||||
|
estadoId = (Integer)parametros.get("ESTADO_ID");
|
||||||
|
empresaId = (Integer)parametros.get("EMPRESA_ID");
|
||||||
|
puntoVendaId = (Integer)parametros.get("PUNTOVENTA_ID");
|
||||||
|
serie = (String)parametros.get("SERIE");
|
||||||
|
numBpe = (String)parametros.get("NUMBPE");
|
||||||
|
bloqueado = (Boolean)parametros.get("BLOQUEADO");
|
||||||
|
envioSefaz = (FiltroEnviadosSefaz)parametros.get("ENVIOSEFAZ");
|
||||||
|
vendaEmbarcada = (FiltroEnviadosSefaz)parametros.get("VENDAEMBARCADA");
|
||||||
|
quebraSequencia = (Boolean)parametros.get("QUEBRASEQ");
|
||||||
|
ultimoBpe = (Boolean)parametros.get("ULTIMOBPE");
|
||||||
|
|
||||||
|
String sql = getSql();
|
||||||
|
|
||||||
|
Date dtInicio = sdf.parse(DateUtil.getStringDate((Date) parametros.get("DATA_INICIAL"), "dd/MM/yyyy") + " 00:00:00");
|
||||||
|
Date dtFim = sdf.parse(DateUtil.getStringDate((Date) parametros.get("DATA_FINAL"), "dd/MM/yyyy") + " 23:59:59");
|
||||||
|
|
||||||
|
NamedParameterStatement ps = new NamedParameterStatement(conexao, sql.toString());
|
||||||
|
ps.setDate("fecInicio", new java.sql.Date(dtInicio.getTime()));
|
||||||
|
ps.setDate("fecFinal", new java.sql.Date(dtFim.getTime()));
|
||||||
|
|
||||||
|
if (estadoId != null){
|
||||||
|
ps.setLong("estadoId", estadoId);
|
||||||
|
}
|
||||||
|
if (empresaId != null){
|
||||||
|
ps.setLong("empresaId", empresaId);
|
||||||
|
}
|
||||||
|
if (puntoVendaId != null){
|
||||||
|
ps.setLong("puntoventaId", puntoVendaId);
|
||||||
|
}
|
||||||
|
if (StringUtils.isNotBlank(serie)){
|
||||||
|
ps.setString("serie", serie);
|
||||||
|
}
|
||||||
|
if (StringUtils.isNotBlank(numBpe)){
|
||||||
|
ps.setString("bpe", numBpe);
|
||||||
|
}
|
||||||
|
if (bloqueado != null && bloqueado){
|
||||||
|
ps.setInt("bloqueado", 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
ResultSet rset = ps.executeQuery();
|
||||||
|
|
||||||
|
Map<String, Object> dataResult = null;
|
||||||
|
Map<String, Object> aux = null;
|
||||||
|
while (rset.next()) {
|
||||||
|
if (ultimoBpe){
|
||||||
|
if (dataResult == null){
|
||||||
|
dataResult = extractRow(rset);
|
||||||
|
} else {
|
||||||
|
aux = extractRow(rset);
|
||||||
|
if (aux.get("cveestado").equals(dataResult.get("cveestado"))){
|
||||||
|
if (aux.get("numserie_bpe").equals(dataResult.get("numserie_bpe"))){
|
||||||
|
if (Integer.parseInt(aux.get("num_bpe").toString()) > Integer.parseInt(dataResult.get("num_bpe").toString())){
|
||||||
|
dataResult = aux;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
this.dados.add(dataResult);
|
||||||
|
dataResult = aux;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
this.dados.add(dataResult);
|
||||||
|
dataResult = aux;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
dataResult = extractRow(rset);
|
||||||
|
this.dados.add(dataResult);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
} catch (Exception e){
|
||||||
|
log.error("", e);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
private Map<String, Object> extractRow(ResultSet rset) throws SQLException{
|
||||||
|
Map<String, Object> dataResult = new HashMap<String, Object>();
|
||||||
|
|
||||||
|
|
||||||
|
dataResult.put("nombempresa", rset.getString("nombempresa"));
|
||||||
|
dataResult.put("puntoventa_id", rset.getString("puntoventa_id"));
|
||||||
|
dataResult.put("nombpuntoventa", rset.getString("nombpuntoventa"));
|
||||||
|
dataResult.put("cveusuario", rset.getString("cveusuario"));
|
||||||
|
dataResult.put("nombusuario", rset.getString("nombusuario"));
|
||||||
|
dataResult.put("feccorte", rset.getString("feccorte"));
|
||||||
|
dataResult.put("numserie_bpe", rset.getString("numserie_bpe"));
|
||||||
|
dataResult.put("num_bpe", rset.getString("num_bpe"));
|
||||||
|
dataResult.put("cveestado", rset.getString("cveestado"));
|
||||||
|
dataResult.put("ruta_id", rset.getString("ruta_id"));
|
||||||
|
dataResult.put("numruta", rset.getString("numruta"));
|
||||||
|
dataResult.put("descruta", rset.getString("descruta"));
|
||||||
|
dataResult.put("origenId", rset.getString("origenId"));
|
||||||
|
dataResult.put("origen", rset.getString("origen"));
|
||||||
|
dataResult.put("destinoId", rset.getString("destinoId"));
|
||||||
|
dataResult.put("destino", rset.getString("destino"));
|
||||||
|
dataResult.put("fechorventa", rset.getString("fechorventa"));
|
||||||
|
dataResult.put("fechorviaje", rset.getString("fechorviaje"));
|
||||||
|
dataResult.put("corrida_id", rset.getString("corrida_id"));
|
||||||
|
dataResult.put("tarifa", rset.getDouble("tarifa"));
|
||||||
|
dataResult.put("seguro", rset.getDouble("seguro"));
|
||||||
|
dataResult.put("taxaembarque", rset.getDouble("taxaembarque"));
|
||||||
|
dataResult.put("importepedagio", rset.getDouble("importepedagio"));
|
||||||
|
dataResult.put("tpp", rset.getDouble("tpp"));
|
||||||
|
dataResult.put("total", rset.getDouble("total"));
|
||||||
|
|
||||||
|
Integer codstat = rset.getInt("statussefaz");
|
||||||
|
if (codstat == -1){
|
||||||
|
dataResult.put("statussefaz", "Pendente");
|
||||||
|
} else if (codstat == 100){
|
||||||
|
dataResult.put("statussefaz", "Enviado");
|
||||||
|
} else if (codstat == 150){
|
||||||
|
dataResult.put("statussefaz", "Enviado em contingência");
|
||||||
|
}
|
||||||
|
dataResult.put("chbpe", rset.getString("chbpe"));
|
||||||
|
dataResult.put("nprot", rset.getString("nprot"));
|
||||||
|
|
||||||
|
return dataResult;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected void processaParametros() throws Exception {
|
||||||
|
}
|
||||||
|
|
||||||
|
private String getSql() {
|
||||||
|
|
||||||
|
StringBuilder sql = new StringBuilder();
|
||||||
|
if (quebraSequencia){
|
||||||
|
sql.append("select * from ( ");
|
||||||
|
}
|
||||||
|
sql.append("select ");
|
||||||
|
sql.append(" e.nombempresa, ");
|
||||||
|
sql.append(" p.puntoventa_id, ");
|
||||||
|
sql.append(" p.nombpuntoventa, ");
|
||||||
|
sql.append(" u.cveusuario, ");
|
||||||
|
sql.append(" u.nombusuario, ");
|
||||||
|
sql.append(" c.feccorte, ");
|
||||||
|
sql.append(" b.numserie_bpe, ");
|
||||||
|
sql.append(" b.num_bpe as num_bpe, ");
|
||||||
|
sql.append(" est.cveestado, ");
|
||||||
|
sql.append(" b.ruta_id, ");
|
||||||
|
sql.append(" r.numruta, ");
|
||||||
|
sql.append(" r.descruta, ");
|
||||||
|
sql.append(" ori.parada_id origenId, ");
|
||||||
|
sql.append(" ori.descparada origen, ");
|
||||||
|
sql.append(" dest.parada_id destinoId, ");
|
||||||
|
sql.append(" dest.descparada destino, ");
|
||||||
|
sql.append(" b.fechorventa, ");
|
||||||
|
sql.append(" b.fechorviaje, ");
|
||||||
|
sql.append(" b.corrida_id, ");
|
||||||
|
sql.append(" b.preciopagado as tarifa, ");
|
||||||
|
sql.append(" b.importeseguro as seguro, ");
|
||||||
|
sql.append(" b.importetaxaembarque as taxaembarque, ");
|
||||||
|
sql.append(" b.importepedagio, ");
|
||||||
|
sql.append(" b.importetpp as tpp, ");
|
||||||
|
sql.append(" b.preciopagado + nvl(b.importeoutros,0) + nvl(b.importepedagio,0) + nvl(b.importeseguro,0) + nvl(b.importetaxaembarque,0) + nvl(b.importetpp,0) as total, ");
|
||||||
|
sql.append(" bp.codstat as statussefaz, ");
|
||||||
|
sql.append(" bp.chbpe, ");
|
||||||
|
sql.append(" bp.nprot ");
|
||||||
|
sql.append("from ");
|
||||||
|
sql.append(" boleto b ");
|
||||||
|
sql.append(" inner join marca m on m.marca_id = b.marca_id ");
|
||||||
|
sql.append(" inner join empresa e on e.empresa_id = m.empresa_id ");
|
||||||
|
sql.append(" inner join punto_venta p on p.puntoventa_id = b.puntoventa_id ");
|
||||||
|
sql.append(" inner join usuario u on u.usuario_id = b.usuario_id ");
|
||||||
|
sql.append(" inner join caja c on c.transacao_id = b.boleto_id ");
|
||||||
|
sql.append(" inner join bpe bp on bp.boleto_id = b.boleto_id ");
|
||||||
|
sql.append(" left join colonia col on col.colonia_id = p.colonia_id ");
|
||||||
|
sql.append(" left join ciudad cid on cid.ciudad_id = col.ciudad_id ");
|
||||||
|
sql.append(" left join estado est on cid.estado_id = est.estado_id ");
|
||||||
|
sql.append(" inner join ruta r on r.ruta_id = b.ruta_id ");
|
||||||
|
sql.append(" inner join parada ori on ori.parada_id = b.origen_id ");
|
||||||
|
sql.append(" inner join parada dest on dest.parada_id = b.destino_id ");
|
||||||
|
sql.append(" left join dispositivo_embarcada disp on disp.imei = b.IMEI_DISPOSITIVO_EMBARCADA ");
|
||||||
|
sql.append("where ");
|
||||||
|
sql.append(" b.fechorventa between :fecInicio and :fecFinal ");
|
||||||
|
sql.append(" and b.motivocancelacion_id is null ");
|
||||||
|
sql.append(" and bp.TIPOSUBSTITUICAO is null ");
|
||||||
|
if (empresaId != null){
|
||||||
|
sql.append(" and e.empresa_id = :empresaId ");
|
||||||
|
}
|
||||||
|
if (puntoVendaId != null){
|
||||||
|
sql.append(" and p.puntoventa_id = :puntoventaId ");
|
||||||
|
}
|
||||||
|
if (estadoId != null){
|
||||||
|
sql.append(" and est.estado_id = :estadoId ");
|
||||||
|
}
|
||||||
|
if (StringUtils.isNotBlank(serie)){
|
||||||
|
sql.append(" and b.numserie_bpe = :serie ");
|
||||||
|
}
|
||||||
|
if (StringUtils.isNotBlank(numBpe)){
|
||||||
|
sql.append(" and b.num_bpe = :bpe ");
|
||||||
|
}
|
||||||
|
if (bloqueado != null && bloqueado){
|
||||||
|
sql.append(" and disp.ind_disp_bloqueado = :bloqueado ");
|
||||||
|
} else {
|
||||||
|
sql.append(" and (disp.ind_disp_bloqueado = 0 or disp.ind_disp_bloqueado is null) ");
|
||||||
|
}
|
||||||
|
if (envioSefaz == FiltroEnviadosSefaz.SIM) {
|
||||||
|
sql.append(" and bp.codstat in (100, 150) ");
|
||||||
|
} else if (envioSefaz == FiltroEnviadosSefaz.NAO) {
|
||||||
|
sql.append(" and bp.codstat = -1 ");
|
||||||
|
} else {
|
||||||
|
sql.append(" and bp.codstat in (-1, 100,150) ");
|
||||||
|
}
|
||||||
|
if (vendaEmbarcada == FiltroEnviadosSefaz.SIM) {
|
||||||
|
sql.append(" and b.IMEI_DISPOSITIVO_EMBARCADA is not null ");
|
||||||
|
} else if (envioSefaz == FiltroEnviadosSefaz.NAO) {
|
||||||
|
sql.append(" and b.IMEI_DISPOSITIVO_EMBARCADA is null ");
|
||||||
|
}
|
||||||
|
if (quebraSequencia){
|
||||||
|
sql.append("union ");
|
||||||
|
sql.append("select ");
|
||||||
|
sql.append(" null as nombempresa, ");
|
||||||
|
sql.append(" null as puntoventa_id, ");
|
||||||
|
sql.append(" null as nombpuntoventa, ");
|
||||||
|
sql.append(" null as cveusuario, ");
|
||||||
|
sql.append(" null as nombusuario, ");
|
||||||
|
sql.append(" null as feccorte, ");
|
||||||
|
sql.append(" bd.serie as numserie_bpe, ");
|
||||||
|
sql.append(" bd.numero as num_bpe, ");
|
||||||
|
sql.append(" bd.cveestado as cveestado, ");
|
||||||
|
sql.append(" null as ruta_id, ");
|
||||||
|
sql.append(" null as numruta, ");
|
||||||
|
sql.append(" null as descruta, ");
|
||||||
|
sql.append(" null as origenId, ");
|
||||||
|
sql.append(" null as origen, ");
|
||||||
|
sql.append(" null as destinoId, ");
|
||||||
|
sql.append(" null as destino, ");
|
||||||
|
sql.append(" null as fechorventa, ");
|
||||||
|
sql.append(" null as fechorviaje, ");
|
||||||
|
sql.append(" null as corrida_id, ");
|
||||||
|
sql.append(" null as tarifa, ");
|
||||||
|
sql.append(" null as seguro, ");
|
||||||
|
sql.append(" null as taxaembarque, ");
|
||||||
|
sql.append(" null as importepedagio, ");
|
||||||
|
sql.append(" null as tpp, ");
|
||||||
|
sql.append(" null as total, ");
|
||||||
|
sql.append(" null as statussefaz, ");
|
||||||
|
sql.append(" null as chbpe, ");
|
||||||
|
sql.append(" null as nprot ");
|
||||||
|
sql.append("from ");
|
||||||
|
sql.append(" boleto b ");
|
||||||
|
sql.append(" inner join marca m on m.marca_id = b.marca_id ");
|
||||||
|
sql.append(" inner join empresa e on e.empresa_id = m.empresa_id ");
|
||||||
|
sql.append(" inner join punto_venta p on p.puntoventa_id = b.puntoventa_id ");
|
||||||
|
sql.append(" inner join usuario u on u.usuario_id = b.usuario_id ");
|
||||||
|
sql.append(" inner join caja c on c.transacao_id = b.boleto_id ");
|
||||||
|
sql.append(" inner join bpe bp on bp.boleto_id = b.boleto_id ");
|
||||||
|
sql.append(" left join colonia col on col.colonia_id = p.colonia_id ");
|
||||||
|
sql.append(" left join ciudad cid on cid.ciudad_id = col.ciudad_id ");
|
||||||
|
sql.append(" left join estado est on cid.estado_id = est.estado_id ");
|
||||||
|
sql.append(" inner join ruta r on r.ruta_id = b.ruta_id ");
|
||||||
|
sql.append(" inner join parada ori on ori.parada_id = b.origen_id ");
|
||||||
|
sql.append(" inner join parada dest on dest.parada_id = b.destino_id ");
|
||||||
|
sql.append(" left join dispositivo_embarcada disp on disp.imei = b.IMEI_DISPOSITIVO_EMBARCADA ");
|
||||||
|
sql.append(" inner join bpe_ctrl_disponibilidade bd on bd.serie = b.numserie_bpe ");
|
||||||
|
sql.append("where ");
|
||||||
|
sql.append(" b.fechorventa between :fecInicio and :fecFinal ");
|
||||||
|
sql.append(" and b.motivocancelacion_id is null ");
|
||||||
|
sql.append(" and bp.TIPOSUBSTITUICAO is null ");
|
||||||
|
if (empresaId != null){
|
||||||
|
sql.append(" and e.empresa_id = :empresaId ");
|
||||||
|
}
|
||||||
|
if (puntoVendaId != null){
|
||||||
|
sql.append(" and p.puntoventa_id = :puntoventaId ");
|
||||||
|
}
|
||||||
|
if (estadoId != null){
|
||||||
|
sql.append(" and est.estado_id = :estadoId ");
|
||||||
|
}
|
||||||
|
if (StringUtils.isNotBlank(serie)){
|
||||||
|
sql.append(" and b.numserie_bpe = :serie ");
|
||||||
|
}
|
||||||
|
if (StringUtils.isNotBlank(numBpe)){
|
||||||
|
sql.append(" and b.num_bpe = :bpe ");
|
||||||
|
}
|
||||||
|
if (bloqueado != null && bloqueado){
|
||||||
|
sql.append(" and disp.ind_disp_bloqueado = :bloqueado ");
|
||||||
|
} else {
|
||||||
|
sql.append(" and (disp.ind_disp_bloqueado = 0 or disp.ind_disp_bloqueado is null) ");
|
||||||
|
}
|
||||||
|
if (envioSefaz == FiltroEnviadosSefaz.SIM) {
|
||||||
|
sql.append(" and bp.codstat in (100, 150) ");
|
||||||
|
} else if (envioSefaz == FiltroEnviadosSefaz.NAO) {
|
||||||
|
sql.append(" and bp.codstat = -1 ");
|
||||||
|
} else {
|
||||||
|
sql.append(" and bp.codstat in (-1, 100,150) ");
|
||||||
|
}
|
||||||
|
if (vendaEmbarcada == FiltroEnviadosSefaz.SIM) {
|
||||||
|
sql.append(" and b.IMEI_DISPOSITIVO_EMBARCADA is not null ");
|
||||||
|
} else if (envioSefaz == FiltroEnviadosSefaz.NAO) {
|
||||||
|
sql.append(" and b.IMEI_DISPOSITIVO_EMBARCADA is null ");
|
||||||
|
}
|
||||||
|
sql.append(") ");
|
||||||
|
}
|
||||||
|
sql.append("order by ");
|
||||||
|
sql.append(" cveestado, ");
|
||||||
|
sql.append(" to_number(numserie_bpe), ");
|
||||||
|
sql.append(" to_number(num_bpe) ");
|
||||||
|
return sql.toString();
|
||||||
|
}
|
||||||
|
|
||||||
|
public Date getDatInicial() {
|
||||||
|
return datInicial;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setDatInicial(Date datInicial) {
|
||||||
|
this.datInicial = datInicial;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Date getDatFinal() {
|
||||||
|
return datFinal;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setDatFinal(Date datFinal) {
|
||||||
|
this.datFinal = datFinal;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getEstadoId() {
|
||||||
|
return estadoId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setEstadoId(Integer estadoId) {
|
||||||
|
this.estadoId = estadoId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getEmpresaId() {
|
||||||
|
return empresaId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setEmpresaId(Integer empresaId) {
|
||||||
|
this.empresaId = empresaId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getPuntoVendaId() {
|
||||||
|
return puntoVendaId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setPuntoVendaId(Integer puntoVendaId) {
|
||||||
|
this.puntoVendaId = puntoVendaId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getSerie() {
|
||||||
|
return serie;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setSerie(String serie) {
|
||||||
|
this.serie = serie;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getNumBpe() {
|
||||||
|
return numBpe;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setNumBpe(String numBpe) {
|
||||||
|
this.numBpe = numBpe;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Boolean getBloqueado() {
|
||||||
|
return bloqueado;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setBloqueado(Boolean bloqueado) {
|
||||||
|
this.bloqueado = bloqueado;
|
||||||
|
}
|
||||||
|
|
||||||
|
public FiltroEnviadosSefaz getEnvioSefaz() {
|
||||||
|
return envioSefaz;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setEnvioSefaz(FiltroEnviadosSefaz envioSefaz) {
|
||||||
|
this.envioSefaz = envioSefaz;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Boolean getQuebraSequencia() {
|
||||||
|
return quebraSequencia;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setQuebraSequencia(Boolean quebraSequencia) {
|
||||||
|
this.quebraSequencia = quebraSequencia;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Boolean getUltimoBpe() {
|
||||||
|
return ultimoBpe;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setUltimoBpe(Boolean ultimoBpe) {
|
||||||
|
this.ultimoBpe = ultimoBpe;
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,13 @@
|
||||||
|
#geral
|
||||||
|
msg.noData=Não foi possivel obter dados com os parâmetros informados.
|
||||||
|
|
||||||
|
|
||||||
|
#Labels cabeçalho
|
||||||
|
cabecalho.relatorio=Relatório:
|
||||||
|
cabecalho.periodo=Período:
|
||||||
|
cabecalho.periodoA=à
|
||||||
|
cabecalho.dataHora=Data/Hora:
|
||||||
|
cabecalho.impressorPor=Impressor por:
|
||||||
|
cabecalho.pagina=Página
|
||||||
|
cabecalho.de=de
|
||||||
|
cabecalho.filtros=Filtros:
|
|
@ -0,0 +1,13 @@
|
||||||
|
#geral
|
||||||
|
msg.noData=Não foi possivel obter dados com os parâmetros informados.
|
||||||
|
|
||||||
|
|
||||||
|
#Labels cabeçalho
|
||||||
|
cabecalho.relatorio=Relatório:
|
||||||
|
cabecalho.periodo=Período:
|
||||||
|
cabecalho.periodoA=à
|
||||||
|
cabecalho.dataHora=Data/Hora:
|
||||||
|
cabecalho.impressorPor=Impressor por:
|
||||||
|
cabecalho.pagina=Página
|
||||||
|
cabecalho.de=de
|
||||||
|
cabecalho.filtros=Filtros:
|
Binary file not shown.
|
@ -0,0 +1,668 @@
|
||||||
|
<?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="RelatorioVendaEmbarcada" pageWidth="1300" pageHeight="595" orientation="Landscape" whenNoDataType="NoDataSection" columnWidth="1260" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="b92fb063-a827-4619-8a69-5c78e3afbb8c">
|
||||||
|
<property name="ireport.zoom" value="2.200000000000009"/>
|
||||||
|
<property name="ireport.x" value="1864"/>
|
||||||
|
<property name="ireport.y" value="0"/>
|
||||||
|
<property name="net.sf.jasperreports.export.xls.exclude.origin.band.2" value="pageHeader"/>
|
||||||
|
<property name="net.sf.jasperreports.export.xls.exclude.origin.keep.first.band.2" value="columnHeader"/>
|
||||||
|
<property name="net.sf.jasperreports.export.xls.remove.empty.space.between.rows" value="false"/>
|
||||||
|
<property name="net.sf.jasperreports.export.xls.remove.empty.space.between.columns" value="true"/>
|
||||||
|
<style name="textStyle" isDefault="true" fontSize="6" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false"/>
|
||||||
|
<style name="table">
|
||||||
|
<box>
|
||||||
|
<pen lineWidth="1.0" lineColor="#000000"/>
|
||||||
|
</box>
|
||||||
|
</style>
|
||||||
|
<style name="table_TH" mode="Opaque" backcolor="#F0F8FF">
|
||||||
|
<box>
|
||||||
|
<pen lineWidth="0.5" lineColor="#000000"/>
|
||||||
|
</box>
|
||||||
|
</style>
|
||||||
|
<style name="table_CH" mode="Opaque" backcolor="#BFE1FF">
|
||||||
|
<box>
|
||||||
|
<pen lineWidth="0.5" lineColor="#000000"/>
|
||||||
|
</box>
|
||||||
|
</style>
|
||||||
|
<style name="table_TD" mode="Opaque" backcolor="#FFFFFF">
|
||||||
|
<box>
|
||||||
|
<pen lineWidth="0.5" lineColor="#000000"/>
|
||||||
|
</box>
|
||||||
|
</style>
|
||||||
|
<parameter name="DATA_INICIAL" class="java.util.Date"/>
|
||||||
|
<parameter name="DATA_FINAL" class="java.util.Date"/>
|
||||||
|
<parameter name="NOME_RELATORIO" class="java.lang.String"/>
|
||||||
|
<parameter name="FILTROS" class="java.lang.String"/>
|
||||||
|
<parameter name="USUARIO" class="java.lang.String"/>
|
||||||
|
<parameter name="NUMPUNTOVENTA" class="java.lang.String"/>
|
||||||
|
<parameter name="EMPRESA_ID" class="java.lang.Integer"/>
|
||||||
|
<parameter name="EMPRESA" class="java.lang.String"/>
|
||||||
|
<field name="nombempresa" class="java.lang.String"/>
|
||||||
|
<field name="puntoventa_id" class="java.lang.String"/>
|
||||||
|
<field name="nombpuntoventa" class="java.lang.String"/>
|
||||||
|
<field name="cveusuario" class="java.lang.String"/>
|
||||||
|
<field name="nombusuario" class="java.lang.String"/>
|
||||||
|
<field name="feccorte" class="java.lang.String"/>
|
||||||
|
<field name="numserie_bpe" class="java.lang.String"/>
|
||||||
|
<field name="num_bpe" class="java.lang.String"/>
|
||||||
|
<field name="cveestado" class="java.lang.String"/>
|
||||||
|
<field name="ruta_id" class="java.lang.String"/>
|
||||||
|
<field name="numruta" class="java.lang.String"/>
|
||||||
|
<field name="descruta" class="java.lang.String"/>
|
||||||
|
<field name="origenId" class="java.lang.String"/>
|
||||||
|
<field name="origen" class="java.lang.String"/>
|
||||||
|
<field name="destinoId" class="java.lang.String"/>
|
||||||
|
<field name="destino" class="java.lang.String"/>
|
||||||
|
<field name="fechorventa" class="java.lang.String"/>
|
||||||
|
<field name="fechorviaje" class="java.lang.String"/>
|
||||||
|
<field name="corrida_id" class="java.lang.String"/>
|
||||||
|
<field name="tarifa" class="java.lang.Double"/>
|
||||||
|
<field name="seguro" class="java.lang.Double"/>
|
||||||
|
<field name="taxaembarque" class="java.lang.Double"/>
|
||||||
|
<field name="importepedagio" class="java.lang.Double"/>
|
||||||
|
<field name="tpp" class="java.lang.Double"/>
|
||||||
|
<field name="total" class="java.lang.Double"/>
|
||||||
|
<field name="statussefaz" class="java.lang.String"/>
|
||||||
|
<field name="chbpe" class="java.lang.String"/>
|
||||||
|
<field name="nprot" class="java.lang.String"/>
|
||||||
|
<background>
|
||||||
|
<band splitType="Stretch"/>
|
||||||
|
</background>
|
||||||
|
<pageHeader>
|
||||||
|
<band height="58" splitType="Stretch">
|
||||||
|
<textField pattern="dd/MM/yyyy" isBlankWhenNull="false">
|
||||||
|
<reportElement uuid="42796e20-405c-441f-9fd9-b26238bc7cdb" mode="Transparent" x="45" y="15" width="100" height="14" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||||
|
<textElement textAlignment="Left" 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[$P{DATA_INICIAL}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField pattern="" isBlankWhenNull="false">
|
||||||
|
<reportElement uuid="d2973779-79dc-4cc8-937a-e9167c42bab0" mode="Transparent" x="0" y="0" width="265" height="15" 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{NOME_RELATORIO}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField pattern="dd/MM/yyyy" isBlankWhenNull="false">
|
||||||
|
<reportElement uuid="8730e85b-d436-42cd-beb6-1a881bad2478" mode="Transparent" x="155" y="15" width="110" height="14" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||||
|
<textElement textAlignment="Left" 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[$P{DATA_FINAL}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField pattern="" isBlankWhenNull="false">
|
||||||
|
<reportElement uuid="26bbd310-5e59-4975-a47f-b0048e80b1b6" mode="Transparent" x="0" y="15" width="45" 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{cabecalho.periodo}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField>
|
||||||
|
<reportElement uuid="c486add3-94d7-419f-9f37-04f6a6da879e" x="45" y="44" width="757" height="14"/>
|
||||||
|
<textElement verticalAlignment="Middle">
|
||||||
|
<font size="8"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$P{FILTROS}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<line>
|
||||||
|
<reportElement uuid="a179c478-4014-4b4a-abf0-4655e7588bf7" x="0" y="43" width="1260" height="1"/>
|
||||||
|
</line>
|
||||||
|
<textField pattern="" isBlankWhenNull="false">
|
||||||
|
<reportElement uuid="9630a784-5f92-4abe-805c-fd175e4f8241" mode="Transparent" x="0" y="44" width="45" height="14" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||||
|
<textElement textAlignment="Left" verticalAlignment="Middle" rotation="None" markup="none">
|
||||||
|
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$R{cabecalho.filtros}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField pattern="dd/MM/yyyy HH:mm" isBlankWhenNull="false">
|
||||||
|
<reportElement uuid="91cded42-c53d-469a-abc7-6eb0d59f69af" mode="Transparent" x="1180" y="0" width="76" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||||
|
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
|
||||||
|
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField pattern="" isBlankWhenNull="false">
|
||||||
|
<reportElement uuid="62f6ba6e-1aaf-4449-aef6-2e9d6e541856" mode="Transparent" x="1089" y="30" width="167" height="12" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||||
|
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
|
||||||
|
<font fontName="SansSerif" size="7" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$R{cabecalho.impressorPor}+" "+$P{USUARIO}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField pattern="" isBlankWhenNull="false">
|
||||||
|
<reportElement uuid="ba831a24-59f4-4f8f-888f-fd69711018e9" mode="Transparent" x="1089" y="15" width="167" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||||
|
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
|
||||||
|
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$R{cabecalho.pagina}+" "+$V{PAGE_NUMBER}+" "+$R{cabecalho.de}+" "+$V{PAGE_NUMBER}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField>
|
||||||
|
<reportElement uuid="5cbb57ef-bd5e-4d1b-a077-d0ff398df801" x="1089" y="0" width="91" height="15"/>
|
||||||
|
<textElement textAlignment="Right">
|
||||||
|
<font size="9" isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$R{cabecalho.dataHora}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField pattern="" isBlankWhenNull="false">
|
||||||
|
<reportElement uuid="6d6ab075-006c-4796-98d5-f047ae963876" mode="Transparent" x="145" y="15" width="10" height="14" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||||
|
<textElement textAlignment="Left" 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{cabecalho.periodoA}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField>
|
||||||
|
<reportElement uuid="36e9cbc6-ccc2-4a81-8977-c66fa5a7cb62" x="0" y="30" width="265" height="14"/>
|
||||||
|
<textElement verticalAlignment="Middle">
|
||||||
|
<font size="8" isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA["Empresa: "+$P{EMPRESA}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
</band>
|
||||||
|
</pageHeader>
|
||||||
|
<columnHeader>
|
||||||
|
<band height="11" splitType="Stretch">
|
||||||
|
<staticText>
|
||||||
|
<reportElement uuid="9fc7e58e-8625-41c4-a8ee-6454f6382d46" x="137" y="0" width="43" height="11"/>
|
||||||
|
<textElement textAlignment="Left">
|
||||||
|
<font size="6" isBold="false"/>
|
||||||
|
</textElement>
|
||||||
|
<text><![CDATA[Login]]></text>
|
||||||
|
</staticText>
|
||||||
|
<staticText>
|
||||||
|
<reportElement uuid="3766fa33-6281-4576-a9d1-3b984e1976d3" x="0" y="0" width="45" height="11"/>
|
||||||
|
<textElement textAlignment="Left">
|
||||||
|
<font size="6" isBold="false"/>
|
||||||
|
</textElement>
|
||||||
|
<text><![CDATA[Empresa]]></text>
|
||||||
|
</staticText>
|
||||||
|
<staticText>
|
||||||
|
<reportElement uuid="7e1f6b82-8a1f-4719-b942-41f0d7027aa8" x="180" y="0" width="47" height="11"/>
|
||||||
|
<textElement textAlignment="Left">
|
||||||
|
<font size="6" isBold="false"/>
|
||||||
|
</textElement>
|
||||||
|
<text><![CDATA[Usuário]]></text>
|
||||||
|
</staticText>
|
||||||
|
<staticText>
|
||||||
|
<reportElement uuid="95367884-2b52-4bbd-b716-852ff13290e9" mode="Transparent" x="362" y="0" width="22" height="11" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||||
|
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
|
||||||
|
<font fontName="SansSerif" size="6" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<text><![CDATA[ID Lin.]]></text>
|
||||||
|
</staticText>
|
||||||
|
<staticText>
|
||||||
|
<reportElement uuid="a39ab8f3-becb-44e3-b4f5-b7c43889508c" mode="Transparent" x="283" y="0" width="28" height="11" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||||
|
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
|
||||||
|
<font fontName="SansSerif" size="6" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<text><![CDATA[Série]]></text>
|
||||||
|
</staticText>
|
||||||
|
<staticText>
|
||||||
|
<reportElement uuid="170230ea-2a12-4444-9f13-c706d557ae8d" mode="Transparent" x="384" y="0" width="105" height="11" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||||
|
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
|
||||||
|
<font fontName="SansSerif" size="6" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<text><![CDATA[Linha]]></text>
|
||||||
|
</staticText>
|
||||||
|
<staticText>
|
||||||
|
<reportElement uuid="8a5e97db-9b05-4fa5-9663-7795869b6b90" x="63" y="0" width="74" height="11"/>
|
||||||
|
<textElement textAlignment="Left">
|
||||||
|
<font size="6" isBold="false"/>
|
||||||
|
</textElement>
|
||||||
|
<text><![CDATA[Agência]]></text>
|
||||||
|
</staticText>
|
||||||
|
<staticText>
|
||||||
|
<reportElement uuid="c0542d93-dde4-448d-932c-453d6a4a6882" mode="Transparent" x="227" y="0" width="56" height="11" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||||
|
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
|
||||||
|
<font fontName="SansSerif" size="6" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<text><![CDATA[Data Caixa]]></text>
|
||||||
|
</staticText>
|
||||||
|
<staticText>
|
||||||
|
<reportElement uuid="9c65b631-065c-49af-ab2c-3bcea583eaea" mode="Transparent" x="323" y="0" width="39" height="11" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||||
|
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
|
||||||
|
<font fontName="SansSerif" size="6" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<text><![CDATA[BPe]]></text>
|
||||||
|
</staticText>
|
||||||
|
<staticText>
|
||||||
|
<reportElement uuid="a7f96097-c8fd-4ba0-bea7-7b40a0fc81f7" mode="Transparent" x="311" y="0" width="12" height="11" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||||
|
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
|
||||||
|
<font fontName="SansSerif" size="6" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<text><![CDATA[UF]]></text>
|
||||||
|
</staticText>
|
||||||
|
<staticText>
|
||||||
|
<reportElement uuid="0452264c-0f27-46d6-84ad-0fba6e5abdfa" mode="Transparent" x="489" y="0" width="22" height="11" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||||
|
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
|
||||||
|
<font fontName="SansSerif" size="6" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<text><![CDATA[ID O.]]></text>
|
||||||
|
</staticText>
|
||||||
|
<staticText>
|
||||||
|
<reportElement uuid="f596b16a-f9d9-42f5-b86f-3f468b0deb8f" mode="Transparent" x="511" y="0" width="64" height="11" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||||
|
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
|
||||||
|
<font fontName="SansSerif" size="6" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<text><![CDATA[Origem]]></text>
|
||||||
|
</staticText>
|
||||||
|
<staticText>
|
||||||
|
<reportElement uuid="3766fa33-6281-4576-a9d1-3b984e1976d3" x="45" y="0" width="18" height="11"/>
|
||||||
|
<textElement textAlignment="Left">
|
||||||
|
<font size="6" isBold="false"/>
|
||||||
|
</textElement>
|
||||||
|
<text><![CDATA[ID Ag.]]></text>
|
||||||
|
</staticText>
|
||||||
|
<staticText>
|
||||||
|
<reportElement uuid="0452264c-0f27-46d6-84ad-0fba6e5abdfa" mode="Transparent" x="575" y="0" width="21" height="11" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||||
|
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
|
||||||
|
<font fontName="SansSerif" size="6" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<text><![CDATA[ID D.]]></text>
|
||||||
|
</staticText>
|
||||||
|
<staticText>
|
||||||
|
<reportElement uuid="f596b16a-f9d9-42f5-b86f-3f468b0deb8f" mode="Transparent" x="596" y="0" width="56" height="11" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||||
|
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
|
||||||
|
<font fontName="SansSerif" size="6" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<text><![CDATA[Destino]]></text>
|
||||||
|
</staticText>
|
||||||
|
<staticText>
|
||||||
|
<reportElement uuid="00c54946-d0e2-4e47-a473-3445959d4d69" mode="Transparent" x="652" y="0" width="56" height="11" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||||
|
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
|
||||||
|
<font fontName="SansSerif" size="6" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<text><![CDATA[Data Venda]]></text>
|
||||||
|
</staticText>
|
||||||
|
<staticText>
|
||||||
|
<reportElement uuid="00c54946-d0e2-4e47-a473-3445959d4d69" mode="Transparent" x="708" y="0" width="59" height="11" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||||
|
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
|
||||||
|
<font fontName="SansSerif" size="6" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<text><![CDATA[Data Emb.]]></text>
|
||||||
|
</staticText>
|
||||||
|
<staticText>
|
||||||
|
<reportElement uuid="00c54946-d0e2-4e47-a473-3445959d4d69" mode="Transparent" x="767" y="0" width="34" height="11" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||||
|
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
|
||||||
|
<font fontName="SansSerif" size="6" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<text><![CDATA[Serviço]]></text>
|
||||||
|
</staticText>
|
||||||
|
<staticText>
|
||||||
|
<reportElement uuid="00c54946-d0e2-4e47-a473-3445959d4d69" mode="Transparent" x="802" y="0" width="34" height="11" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||||
|
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
|
||||||
|
<font fontName="SansSerif" size="6" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<text><![CDATA[Tarifa]]></text>
|
||||||
|
</staticText>
|
||||||
|
<staticText>
|
||||||
|
<reportElement uuid="00c54946-d0e2-4e47-a473-3445959d4d69" mode="Transparent" x="836" y="0" width="24" height="11" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||||
|
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
|
||||||
|
<font fontName="SansSerif" size="6" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<text><![CDATA[Seguro]]></text>
|
||||||
|
</staticText>
|
||||||
|
<staticText>
|
||||||
|
<reportElement uuid="00c54946-d0e2-4e47-a473-3445959d4d69" mode="Transparent" x="860" y="0" width="16" height="11" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||||
|
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
|
||||||
|
<font fontName="SansSerif" size="6" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<text><![CDATA[UTR]]></text>
|
||||||
|
</staticText>
|
||||||
|
<staticText>
|
||||||
|
<reportElement uuid="00c54946-d0e2-4e47-a473-3445959d4d69" mode="Transparent" x="876" y="0" width="23" height="11" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||||
|
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
|
||||||
|
<font fontName="SansSerif" size="6" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<text><![CDATA[Pedágio]]></text>
|
||||||
|
</staticText>
|
||||||
|
<staticText>
|
||||||
|
<reportElement uuid="00c54946-d0e2-4e47-a473-3445959d4d69" mode="Transparent" x="899" y="0" width="17" height="11" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||||
|
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
|
||||||
|
<font fontName="SansSerif" size="6" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<text><![CDATA[TPP]]></text>
|
||||||
|
</staticText>
|
||||||
|
<staticText>
|
||||||
|
<reportElement uuid="00c54946-d0e2-4e47-a473-3445959d4d69" mode="Transparent" x="916" y="0" width="23" height="11" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||||
|
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
|
||||||
|
<font fontName="SansSerif" size="6" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<text><![CDATA[Total]]></text>
|
||||||
|
</staticText>
|
||||||
|
<staticText>
|
||||||
|
<reportElement uuid="00c54946-d0e2-4e47-a473-3445959d4d69" mode="Transparent" x="939" y="0" width="90" height="11" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||||
|
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
|
||||||
|
<font fontName="SansSerif" size="6" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<text><![CDATA[Sefaz]]></text>
|
||||||
|
</staticText>
|
||||||
|
<staticText>
|
||||||
|
<reportElement uuid="3766fa33-6281-4576-a9d1-3b984e1976d3" x="1029" y="0" width="157" height="11"/>
|
||||||
|
<textElement textAlignment="Left">
|
||||||
|
<font size="6" isBold="false"/>
|
||||||
|
</textElement>
|
||||||
|
<text><![CDATA[Chave]]></text>
|
||||||
|
</staticText>
|
||||||
|
<staticText>
|
||||||
|
<reportElement uuid="3766fa33-6281-4576-a9d1-3b984e1976d3" x="1186" y="0" width="70" height="11"/>
|
||||||
|
<textElement textAlignment="Left">
|
||||||
|
<font size="6" isBold="false"/>
|
||||||
|
</textElement>
|
||||||
|
<text><![CDATA[Autorização]]></text>
|
||||||
|
</staticText>
|
||||||
|
</band>
|
||||||
|
</columnHeader>
|
||||||
|
<detail>
|
||||||
|
<band height="11" splitType="Stretch">
|
||||||
|
<textField pattern="dd/MM/yyyy" isBlankWhenNull="true">
|
||||||
|
<reportElement uuid="bc091860-adab-47d8-8352-982bc8e484a3" stretchType="RelativeToTallestObject" x="0" y="0" width="45" height="11"/>
|
||||||
|
<box>
|
||||||
|
<bottomPen lineWidth="0.5"/>
|
||||||
|
</box>
|
||||||
|
<textElement textAlignment="Left">
|
||||||
|
<font size="5"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$F{nombempresa}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isBlankWhenNull="true">
|
||||||
|
<reportElement uuid="e3a43e5d-2326-47c4-9d47-8c4d69d18d99" stretchType="RelativeToTallestObject" x="63" y="0" width="74" height="11"/>
|
||||||
|
<box>
|
||||||
|
<bottomPen lineWidth="0.5"/>
|
||||||
|
</box>
|
||||||
|
<textElement textAlignment="Left">
|
||||||
|
<font size="5"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$F{nombpuntoventa}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isBlankWhenNull="true">
|
||||||
|
<reportElement uuid="82c36c16-1662-4af9-a285-c935ab350e79" stretchType="RelativeToTallestObject" x="137" y="0" width="43" height="11"/>
|
||||||
|
<box>
|
||||||
|
<bottomPen lineWidth="0.5"/>
|
||||||
|
</box>
|
||||||
|
<textElement textAlignment="Left">
|
||||||
|
<font size="5"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$F{cveusuario}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField pattern="HH.mm" isBlankWhenNull="true">
|
||||||
|
<reportElement uuid="ef45dd24-19e8-4e92-9759-f8e7a5c990eb" stretchType="RelativeToTallestObject" x="180" y="0" width="47" height="11"/>
|
||||||
|
<box>
|
||||||
|
<bottomPen lineWidth="0.5"/>
|
||||||
|
</box>
|
||||||
|
<textElement textAlignment="Left">
|
||||||
|
<font size="5"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$F{nombusuario}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isBlankWhenNull="true">
|
||||||
|
<reportElement uuid="17011486-0d4c-4e22-b534-48e0bb025673" stretchType="RelativeToTallestObject" x="227" y="0" width="56" height="11"/>
|
||||||
|
<box>
|
||||||
|
<bottomPen lineWidth="0.5"/>
|
||||||
|
</box>
|
||||||
|
<textElement textAlignment="Left">
|
||||||
|
<font size="5"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$F{feccorte}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isBlankWhenNull="true">
|
||||||
|
<reportElement uuid="a89c84e4-0e13-4e85-a565-9eb0bc6e5423" stretchType="RelativeToTallestObject" x="283" y="0" width="28" height="11"/>
|
||||||
|
<box>
|
||||||
|
<bottomPen lineWidth="0.5"/>
|
||||||
|
</box>
|
||||||
|
<textElement textAlignment="Left">
|
||||||
|
<font size="5"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$F{numserie_bpe}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isBlankWhenNull="true">
|
||||||
|
<reportElement uuid="7be97f5f-b36b-4679-befb-e5f2b4532963" stretchType="RelativeToTallestObject" x="311" y="0" width="12" height="11"/>
|
||||||
|
<box>
|
||||||
|
<bottomPen lineWidth="0.5"/>
|
||||||
|
</box>
|
||||||
|
<textElement textAlignment="Left">
|
||||||
|
<font size="5"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$F{cveestado}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField pattern="###0" isBlankWhenNull="true">
|
||||||
|
<reportElement uuid="7c1e2d86-f9ce-4730-866c-dc6cbdd0cf2c" stretchType="RelativeToTallestObject" x="323" y="0" width="39" height="11"/>
|
||||||
|
<box>
|
||||||
|
<bottomPen lineWidth="0.5"/>
|
||||||
|
</box>
|
||||||
|
<textElement textAlignment="Left">
|
||||||
|
<font size="5"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$F{num_bpe}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField pattern="###0" isBlankWhenNull="true">
|
||||||
|
<reportElement uuid="7c0246f5-739b-440c-a242-915117bd9fd1" stretchType="RelativeToTallestObject" x="362" y="0" width="22" height="11"/>
|
||||||
|
<box>
|
||||||
|
<bottomPen lineWidth="0.5"/>
|
||||||
|
</box>
|
||||||
|
<textElement textAlignment="Left">
|
||||||
|
<font size="5"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$F{ruta_id}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField pattern="¤ #,##0.00" isBlankWhenNull="true">
|
||||||
|
<reportElement uuid="dd401917-6047-4e1b-9722-31fe8d096594" stretchType="RelativeToTallestObject" x="384" y="0" width="105" height="11"/>
|
||||||
|
<box>
|
||||||
|
<bottomPen lineWidth="0.5"/>
|
||||||
|
</box>
|
||||||
|
<textElement textAlignment="Left">
|
||||||
|
<font size="5"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$F{descruta}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField pattern="¤ #,##0.00" isBlankWhenNull="true">
|
||||||
|
<reportElement uuid="4dafd61b-ce2b-4690-b029-2a1382113099" stretchType="RelativeToTallestObject" x="489" y="0" width="22" height="11"/>
|
||||||
|
<box>
|
||||||
|
<bottomPen lineWidth="0.5"/>
|
||||||
|
</box>
|
||||||
|
<textElement textAlignment="Left">
|
||||||
|
<font size="5"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$F{origenId}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField pattern="#,##0.00 %" isBlankWhenNull="true">
|
||||||
|
<reportElement uuid="8ad565b3-b12c-4fef-a1c7-836e7415436d" stretchType="RelativeToTallestObject" x="511" y="0" width="64" height="11"/>
|
||||||
|
<box>
|
||||||
|
<bottomPen lineWidth="0.5"/>
|
||||||
|
</box>
|
||||||
|
<textElement textAlignment="Left">
|
||||||
|
<font size="5"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$F{origen}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField pattern="dd/MM/yyyy" isBlankWhenNull="true">
|
||||||
|
<reportElement uuid="bc091860-adab-47d8-8352-982bc8e484a3" stretchType="RelativeToTallestObject" x="45" y="0" width="18" height="11"/>
|
||||||
|
<box>
|
||||||
|
<bottomPen lineWidth="0.5"/>
|
||||||
|
</box>
|
||||||
|
<textElement textAlignment="Left">
|
||||||
|
<font size="5"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$F{puntoventa_id}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isBlankWhenNull="true">
|
||||||
|
<reportElement uuid="ce7446b8-b4da-489e-9435-27133b870da1" stretchType="RelativeToTallestObject" x="575" y="0" width="21" height="11"/>
|
||||||
|
<box>
|
||||||
|
<bottomPen lineWidth="0.5"/>
|
||||||
|
</box>
|
||||||
|
<textElement textAlignment="Left">
|
||||||
|
<font size="5"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$F{destinoId}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isBlankWhenNull="true">
|
||||||
|
<reportElement uuid="ce7446b8-b4da-489e-9435-27133b870da1" stretchType="RelativeToTallestObject" x="596" y="0" width="56" height="11"/>
|
||||||
|
<box>
|
||||||
|
<bottomPen lineWidth="0.5"/>
|
||||||
|
</box>
|
||||||
|
<textElement textAlignment="Left">
|
||||||
|
<font size="5"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$F{destino}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isBlankWhenNull="true">
|
||||||
|
<reportElement uuid="ce7446b8-b4da-489e-9435-27133b870da1" stretchType="RelativeToTallestObject" x="652" y="0" width="56" height="11"/>
|
||||||
|
<box>
|
||||||
|
<bottomPen lineWidth="0.5"/>
|
||||||
|
</box>
|
||||||
|
<textElement textAlignment="Left">
|
||||||
|
<font size="5"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$F{fechorventa}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isBlankWhenNull="true">
|
||||||
|
<reportElement uuid="ce7446b8-b4da-489e-9435-27133b870da1" stretchType="RelativeToTallestObject" x="708" y="0" width="59" height="11"/>
|
||||||
|
<box>
|
||||||
|
<bottomPen lineWidth="0.5"/>
|
||||||
|
</box>
|
||||||
|
<textElement textAlignment="Left">
|
||||||
|
<font size="5"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$F{fechorviaje}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isBlankWhenNull="true">
|
||||||
|
<reportElement uuid="ce7446b8-b4da-489e-9435-27133b870da1" stretchType="RelativeToTallestObject" x="767" y="0" width="34" height="11"/>
|
||||||
|
<box>
|
||||||
|
<bottomPen lineWidth="0.5"/>
|
||||||
|
</box>
|
||||||
|
<textElement textAlignment="Left">
|
||||||
|
<font size="5"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$F{corrida_id}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField pattern="#,##0.00" isBlankWhenNull="true">
|
||||||
|
<reportElement uuid="ce7446b8-b4da-489e-9435-27133b870da1" stretchType="RelativeToTallestObject" x="802" y="0" width="34" height="11"/>
|
||||||
|
<box>
|
||||||
|
<bottomPen lineWidth="0.5"/>
|
||||||
|
</box>
|
||||||
|
<textElement textAlignment="Left">
|
||||||
|
<font size="5"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$F{tarifa}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField pattern="#,##0.00" isBlankWhenNull="true">
|
||||||
|
<reportElement uuid="ce7446b8-b4da-489e-9435-27133b870da1" stretchType="RelativeToTallestObject" x="836" y="0" width="24" height="11"/>
|
||||||
|
<box>
|
||||||
|
<bottomPen lineWidth="0.5"/>
|
||||||
|
</box>
|
||||||
|
<textElement textAlignment="Left">
|
||||||
|
<font size="5"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$F{seguro}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField pattern="#,##0.00" isBlankWhenNull="true">
|
||||||
|
<reportElement uuid="ce7446b8-b4da-489e-9435-27133b870da1" stretchType="RelativeToTallestObject" x="860" y="0" width="16" height="11"/>
|
||||||
|
<box>
|
||||||
|
<bottomPen lineWidth="0.5"/>
|
||||||
|
</box>
|
||||||
|
<textElement textAlignment="Left">
|
||||||
|
<font size="5"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$F{taxaembarque}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField pattern="#,##0.00" isBlankWhenNull="true">
|
||||||
|
<reportElement uuid="ce7446b8-b4da-489e-9435-27133b870da1" stretchType="RelativeToTallestObject" x="876" y="0" width="23" height="11"/>
|
||||||
|
<box>
|
||||||
|
<bottomPen lineWidth="0.5"/>
|
||||||
|
</box>
|
||||||
|
<textElement textAlignment="Left">
|
||||||
|
<font size="5"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$F{importepedagio}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField pattern="#,##0.00" isBlankWhenNull="true">
|
||||||
|
<reportElement uuid="ce7446b8-b4da-489e-9435-27133b870da1" stretchType="RelativeToTallestObject" x="899" y="0" width="17" height="11"/>
|
||||||
|
<box>
|
||||||
|
<bottomPen lineWidth="0.5"/>
|
||||||
|
</box>
|
||||||
|
<textElement textAlignment="Left">
|
||||||
|
<font size="5"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$F{tpp}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField pattern="#,##0.00" isBlankWhenNull="true">
|
||||||
|
<reportElement uuid="ce7446b8-b4da-489e-9435-27133b870da1" stretchType="RelativeToTallestObject" x="916" y="0" width="23" height="11"/>
|
||||||
|
<box>
|
||||||
|
<bottomPen lineWidth="0.5"/>
|
||||||
|
</box>
|
||||||
|
<textElement textAlignment="Left">
|
||||||
|
<font size="5"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$F{total}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isBlankWhenNull="true">
|
||||||
|
<reportElement uuid="ce7446b8-b4da-489e-9435-27133b870da1" stretchType="RelativeToTallestObject" x="939" y="0" width="90" height="11"/>
|
||||||
|
<box>
|
||||||
|
<bottomPen lineWidth="0.5"/>
|
||||||
|
</box>
|
||||||
|
<textElement textAlignment="Left">
|
||||||
|
<font size="5"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$F{statussefaz}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField pattern="dd/MM/yyyy" isBlankWhenNull="true">
|
||||||
|
<reportElement uuid="bc091860-adab-47d8-8352-982bc8e484a3" stretchType="RelativeToTallestObject" x="1029" y="0" width="157" height="11"/>
|
||||||
|
<box>
|
||||||
|
<bottomPen lineWidth="0.5"/>
|
||||||
|
</box>
|
||||||
|
<textElement textAlignment="Left">
|
||||||
|
<font size="5"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$F{chbpe}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField pattern="dd/MM/yyyy" isBlankWhenNull="true">
|
||||||
|
<reportElement uuid="bc091860-adab-47d8-8352-982bc8e484a3" stretchType="RelativeToTallestObject" x="1186" y="0" width="70" height="11"/>
|
||||||
|
<box>
|
||||||
|
<bottomPen lineWidth="0.5"/>
|
||||||
|
</box>
|
||||||
|
<textElement textAlignment="Left">
|
||||||
|
<font size="5"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$F{nprot}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
</band>
|
||||||
|
</detail>
|
||||||
|
<noData>
|
||||||
|
<band height="50">
|
||||||
|
<textField>
|
||||||
|
<reportElement uuid="995c4c61-6291-4e5f-8d92-b75502a10466" x="0" y="15" width="801" height="20"/>
|
||||||
|
<textElement textAlignment="Center" markup="none">
|
||||||
|
<font size="11" isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$R{msg.noData}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
</band>
|
||||||
|
</noData>
|
||||||
|
</jasperReport>
|
|
@ -0,0 +1,311 @@
|
||||||
|
package com.rjconsultores.ventaboletos.web.gui.controladores.relatorios;
|
||||||
|
|
||||||
|
import java.text.SimpleDateFormat;
|
||||||
|
import java.util.Date;
|
||||||
|
import java.util.HashMap;
|
||||||
|
import java.util.List;
|
||||||
|
import java.util.Map;
|
||||||
|
|
||||||
|
import javax.sql.DataSource;
|
||||||
|
|
||||||
|
import org.apache.log4j.Logger;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.context.annotation.Scope;
|
||||||
|
import org.springframework.stereotype.Controller;
|
||||||
|
import org.zkoss.util.resource.Labels;
|
||||||
|
import org.zkoss.zk.ui.Component;
|
||||||
|
import org.zkoss.zk.ui.event.Event;
|
||||||
|
import org.zkoss.zul.Checkbox;
|
||||||
|
import org.zkoss.zul.Comboitem;
|
||||||
|
import org.zkoss.zul.Datebox;
|
||||||
|
import org.zkoss.zul.Radio;
|
||||||
|
|
||||||
|
import com.rjconsultores.ventaboletos.constantes.Constantes.FiltroEnviadosSefaz;
|
||||||
|
import com.rjconsultores.ventaboletos.entidad.Empresa;
|
||||||
|
import com.rjconsultores.ventaboletos.entidad.Estado;
|
||||||
|
import com.rjconsultores.ventaboletos.entidad.PuntoVenta;
|
||||||
|
import com.rjconsultores.ventaboletos.relatorios.impl.RelatorioVendaEmbarcada;
|
||||||
|
import com.rjconsultores.ventaboletos.relatorios.utilitarios.Relatorio;
|
||||||
|
import com.rjconsultores.ventaboletos.service.EstadoService;
|
||||||
|
import com.rjconsultores.ventaboletos.utilerias.UsuarioLogado;
|
||||||
|
import com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEmpresa;
|
||||||
|
import com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar;
|
||||||
|
import com.rjconsultores.ventaboletos.web.utilerias.MyComboboxPuntoVenta;
|
||||||
|
import com.rjconsultores.ventaboletos.web.utilerias.MyGenericForwardComposer;
|
||||||
|
import com.rjconsultores.ventaboletos.web.utilerias.MyTextbox;
|
||||||
|
|
||||||
|
@Controller("relatorioVendaEmbarcadaController")
|
||||||
|
@Scope("prototype")
|
||||||
|
public class RelatorioVendaEmbarcadaController extends MyGenericForwardComposer {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
private static Logger log = Logger.getLogger(RelatorioVendaEmbarcadaController.class);
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
private DataSource dataSourceRead;
|
||||||
|
@Autowired
|
||||||
|
private EstadoService estadoService;
|
||||||
|
|
||||||
|
private MyComboboxEmpresa cmbEmpresa;
|
||||||
|
private MyComboboxPuntoVenta cmbPuntoVenta;
|
||||||
|
private Datebox datInicial;
|
||||||
|
private Datebox datFinal;
|
||||||
|
private Checkbox chkBloqueado;
|
||||||
|
private Radio radEnvioSim;
|
||||||
|
private Radio radEnvioNao;
|
||||||
|
private Radio radEnvioAmbos;
|
||||||
|
private Radio radVendaEmbarcadaSim;
|
||||||
|
private Radio radVendaEmbarcadaNao;
|
||||||
|
private Radio radVendaEmbarcadaAmbos;
|
||||||
|
private MyComboboxEstandar cmbEstado;
|
||||||
|
private Checkbox chkQuebraSequencia;
|
||||||
|
private MyTextbox txtSerie;
|
||||||
|
private Checkbox chkUltimoBpe;
|
||||||
|
private MyTextbox txtNumBpe;
|
||||||
|
|
||||||
|
private Integer estadoId;
|
||||||
|
private Integer empresaId;
|
||||||
|
private Integer puntoVendaId;
|
||||||
|
private String serie;
|
||||||
|
private String numBpe;
|
||||||
|
private Boolean bloqueado;
|
||||||
|
private FiltroEnviadosSefaz envioSefaz;
|
||||||
|
private Boolean quebraSequencia;
|
||||||
|
private Boolean ultimoBpe;
|
||||||
|
|
||||||
|
private List<Estado> lsEstados;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void doAfterCompose(Component comp) throws Exception {
|
||||||
|
lsEstados = estadoService.obtenerTodos();
|
||||||
|
super.doAfterCompose(comp);
|
||||||
|
}
|
||||||
|
|
||||||
|
public void onClick$btnExecutarRelatorio(Event ev) throws Exception {
|
||||||
|
executarRelatorio();
|
||||||
|
}
|
||||||
|
|
||||||
|
@SuppressWarnings({ "rawtypes", "unchecked" })
|
||||||
|
private void executarRelatorio() throws Exception {
|
||||||
|
|
||||||
|
//Map<String, Object> parametros = new HashMap<String, Object>();
|
||||||
|
StringBuilder filtro = new StringBuilder();
|
||||||
|
|
||||||
|
Map<String, Object> parametros = new HashMap<String, Object>();
|
||||||
|
parametros.put("TITULO", Labels.getLabel("relatorioVendaEmbarcadaController.window.title"));
|
||||||
|
parametros.put("NOME_RELATORIO", Labels.getLabel("relatorioVendaEmbarcadaController.window.title"));
|
||||||
|
parametros.put("USUARIO_ID", UsuarioLogado.getUsuarioLogado().getUsuarioId().toString());
|
||||||
|
parametros.put("USUARIO", UsuarioLogado.getUsuarioLogado().getNombusuario());
|
||||||
|
parametros.put("DATA_INICIAL", datInicial.getValue());
|
||||||
|
parametros.put("DATA_FINAL", datFinal.getValue());
|
||||||
|
|
||||||
|
Comboitem itemEmpresa = cmbEmpresa.getSelectedItem();
|
||||||
|
if (itemEmpresa != null) {
|
||||||
|
Empresa empresa = (Empresa) itemEmpresa.getValue();
|
||||||
|
empresaId = empresa.getEmpresaId();
|
||||||
|
parametros.put("EMPRESA", empresa.getNombempresa());
|
||||||
|
parametros.put("EMPRESA_ID", empresa.getEmpresaId());
|
||||||
|
}
|
||||||
|
|
||||||
|
Comboitem itemPuntoVenta = cmbPuntoVenta.getSelectedItem();
|
||||||
|
if (itemPuntoVenta != null) {
|
||||||
|
PuntoVenta ptovta = (PuntoVenta) itemPuntoVenta.getValue();
|
||||||
|
puntoVendaId = ptovta.getPuntoventaId();
|
||||||
|
parametros.put("PUNTOVENTA", ptovta.getNombpuntoventa());
|
||||||
|
parametros.put("PUNTOVENTA_ID", ptovta.getPuntoventaId());
|
||||||
|
}
|
||||||
|
|
||||||
|
Comboitem itemEstado = cmbEstado.getSelectedItem();
|
||||||
|
if (itemEstado != null) {
|
||||||
|
Estado estado = (Estado) itemEstado.getValue();
|
||||||
|
estadoId = estado.getEstadoId();
|
||||||
|
parametros.put("ESTADO", estado.getNombestado());
|
||||||
|
parametros.put("ESTADO_ID", estado.getEstadoId());
|
||||||
|
}
|
||||||
|
|
||||||
|
if (radEnvioAmbos.isChecked()){
|
||||||
|
parametros.put("ENVIOSEFAZ", FiltroEnviadosSefaz.TODOS);
|
||||||
|
} else if (radEnvioNao.isChecked()){
|
||||||
|
parametros.put("ENVIOSEFAZ", FiltroEnviadosSefaz.NAO);
|
||||||
|
} else {
|
||||||
|
parametros.put("ENVIOSEFAZ", FiltroEnviadosSefaz.SIM);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (radVendaEmbarcadaAmbos.isChecked()){
|
||||||
|
parametros.put("VENDAEMBARCADA", FiltroEnviadosSefaz.TODOS);
|
||||||
|
} else if (radVendaEmbarcadaNao.isChecked()){
|
||||||
|
parametros.put("VENDAEMBARCADA", FiltroEnviadosSefaz.NAO);
|
||||||
|
} else {
|
||||||
|
parametros.put("VENDAEMBARCADA", FiltroEnviadosSefaz.SIM);
|
||||||
|
}
|
||||||
|
|
||||||
|
parametros.put("QUEBRASEQ", chkQuebraSequencia.isChecked());
|
||||||
|
|
||||||
|
SimpleDateFormat df = new SimpleDateFormat("dd/MM/yyyy");
|
||||||
|
filtro.append(" DATA: " + df.format(new Date()));
|
||||||
|
parametros.put("DATA", new Date());
|
||||||
|
|
||||||
|
serie = txtSerie.getText();
|
||||||
|
parametros.put("SERIE", serie);
|
||||||
|
numBpe = txtNumBpe.getText();
|
||||||
|
parametros.put("NUMBPE", numBpe);
|
||||||
|
bloqueado = chkBloqueado.isChecked();
|
||||||
|
parametros.put("BLOQUEADO", bloqueado);
|
||||||
|
quebraSequencia = chkQuebraSequencia.isChecked();
|
||||||
|
ultimoBpe = chkUltimoBpe.isChecked();
|
||||||
|
parametros.put("ULTIMOBPE", ultimoBpe);
|
||||||
|
|
||||||
|
Relatorio relatorio = new RelatorioVendaEmbarcada(parametros, dataSourceRead.getConnection());
|
||||||
|
|
||||||
|
Map<String, Object> args = new HashMap<String, Object>();
|
||||||
|
args.put("relatorio", relatorio);
|
||||||
|
|
||||||
|
openWindow("/component/reportView.zul",
|
||||||
|
Labels.getLabel("relatorioVendaEmbarcadaController.window.title"), args, MODAL);
|
||||||
|
}
|
||||||
|
|
||||||
|
public EstadoService getEstadoService() {
|
||||||
|
return estadoService;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setEstadoService(EstadoService estadoService) {
|
||||||
|
this.estadoService = estadoService;
|
||||||
|
}
|
||||||
|
|
||||||
|
public MyComboboxEmpresa getCmbEmpresa() {
|
||||||
|
return cmbEmpresa;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setCmbEmpresa(MyComboboxEmpresa cmbEmpresa) {
|
||||||
|
this.cmbEmpresa = cmbEmpresa;
|
||||||
|
}
|
||||||
|
|
||||||
|
public MyComboboxPuntoVenta getCmbPuntoVenta() {
|
||||||
|
return cmbPuntoVenta;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setCmbPuntoVenta(MyComboboxPuntoVenta cmbPuntoVenta) {
|
||||||
|
this.cmbPuntoVenta = cmbPuntoVenta;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Datebox getDatInicial() {
|
||||||
|
return datInicial;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setDatInicial(Datebox datInicial) {
|
||||||
|
this.datInicial = datInicial;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Datebox getDatFinal() {
|
||||||
|
return datFinal;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setDatFinal(Datebox datFinal) {
|
||||||
|
this.datFinal = datFinal;
|
||||||
|
}
|
||||||
|
|
||||||
|
public List<Estado> getLsEstados() {
|
||||||
|
return lsEstados;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setLsEstados(List<Estado> lsEstados) {
|
||||||
|
this.lsEstados = lsEstados;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Checkbox getChkBloqueado() {
|
||||||
|
return chkBloqueado;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setChkBloqueado(Checkbox chkBloqueado) {
|
||||||
|
this.chkBloqueado = chkBloqueado;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Radio getRadEnvioSim() {
|
||||||
|
return radEnvioSim;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setRadEnvioSim(Radio radEnvioSim) {
|
||||||
|
this.radEnvioSim = radEnvioSim;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Radio getRadEnvioNao() {
|
||||||
|
return radEnvioNao;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setRadEnvioNao(Radio radEnvioNao) {
|
||||||
|
this.radEnvioNao = radEnvioNao;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Radio getRadEnvioAmbos() {
|
||||||
|
return radEnvioAmbos;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setRadEnvioAmbos(Radio radEnvioAmbos) {
|
||||||
|
this.radEnvioAmbos = radEnvioAmbos;
|
||||||
|
}
|
||||||
|
|
||||||
|
public MyComboboxEstandar getCmbEstado() {
|
||||||
|
return cmbEstado;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setCmbEstado(MyComboboxEstandar cmbEstado) {
|
||||||
|
this.cmbEstado = cmbEstado;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Checkbox getChkQuebraSequencia() {
|
||||||
|
return chkQuebraSequencia;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setChkQuebraSequencia(Checkbox chkQuebraSequencia) {
|
||||||
|
this.chkQuebraSequencia = chkQuebraSequencia;
|
||||||
|
}
|
||||||
|
|
||||||
|
public MyTextbox getTxtSerie() {
|
||||||
|
return txtSerie;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setTxtSerie(MyTextbox txtSerie) {
|
||||||
|
this.txtSerie = txtSerie;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Checkbox getChkUltimoBpe() {
|
||||||
|
return chkUltimoBpe;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setChkUltimoBpe(Checkbox chkUltimoBpe) {
|
||||||
|
this.chkUltimoBpe = chkUltimoBpe;
|
||||||
|
}
|
||||||
|
|
||||||
|
public MyTextbox getTxtNumBpe() {
|
||||||
|
return txtNumBpe;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setTxtNumBpe(MyTextbox txtNumBpe) {
|
||||||
|
this.txtNumBpe = txtNumBpe;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Radio getRadVendaEmbarcadaSim() {
|
||||||
|
return radVendaEmbarcadaSim;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setRadVendaEmbarcadaSim(Radio radVendaEmbarcadaSim) {
|
||||||
|
this.radVendaEmbarcadaSim = radVendaEmbarcadaSim;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Radio getRadVendaEmbarcadaNao() {
|
||||||
|
return radVendaEmbarcadaNao;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setRadVendaEmbarcadaNao(Radio radVendaEmbarcadaNao) {
|
||||||
|
this.radVendaEmbarcadaNao = radVendaEmbarcadaNao;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Radio getRadVendaEmbarcadaAmbos() {
|
||||||
|
return radVendaEmbarcadaAmbos;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setRadVendaEmbarcadaAmbos(Radio radVendaEmbarcadaAmbos) {
|
||||||
|
this.radVendaEmbarcadaAmbos = radVendaEmbarcadaAmbos;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
|
@ -0,0 +1,26 @@
|
||||||
|
package com.rjconsultores.ventaboletos.web.utilerias.menu.item.relatorios;
|
||||||
|
|
||||||
|
import org.zkoss.util.resource.Labels;
|
||||||
|
|
||||||
|
import com.rjconsultores.ventaboletos.constantes.ConstantesFuncionSistema;
|
||||||
|
import com.rjconsultores.ventaboletos.web.utilerias.PantallaUtileria;
|
||||||
|
import com.rjconsultores.ventaboletos.web.utilerias.menu.DefaultItemMenuSistema;
|
||||||
|
|
||||||
|
public class ItemMenuRelatorioVendaEmbarcada extends DefaultItemMenuSistema {
|
||||||
|
|
||||||
|
public ItemMenuRelatorioVendaEmbarcada() {
|
||||||
|
super("indexController.mniRelatorioVendaEmbarcada.label");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String getClaveMenu() {
|
||||||
|
return ConstantesFuncionSistema.CLAVE_RELATORIO_VENDA_EMBARCADA;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void ejecutar() {
|
||||||
|
PantallaUtileria.openWindow("/gui/relatorios/filtroRelatorioVendaEmbarcada.zul",
|
||||||
|
Labels.getLabel("relatorioVendaEmbarcadaController.window.title"), getArgs(), desktop);
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
|
@ -169,6 +169,7 @@ analitico.gerenciais.estatisticos.gratuidadesIdosoDeficiente=com.rjconsultores.v
|
||||||
analitico.gerenciais.estatisticos.relatorioMovimentoPorOrgaoConcedente=com.rjconsultores.ventaboletos.web.utilerias.menu.item.relatorios.ItemMenuRelatorioMovimentoPorOrgaoConcedente
|
analitico.gerenciais.estatisticos.relatorioMovimentoPorOrgaoConcedente=com.rjconsultores.ventaboletos.web.utilerias.menu.item.relatorios.ItemMenuRelatorioMovimentoPorOrgaoConcedente
|
||||||
analitico.gerenciais.estatisticos.checkin=com.rjconsultores.ventaboletos.web.utilerias.menu.item.relatorios.ItemMenuRelatorioCheckin
|
analitico.gerenciais.estatisticos.checkin=com.rjconsultores.ventaboletos.web.utilerias.menu.item.relatorios.ItemMenuRelatorioCheckin
|
||||||
analitico.gerenciais.estatisticos.relatorioBaixasVendasInternet=com.rjconsultores.ventaboletos.web.utilerias.menu.item.relatorios.ItemMenuRelatorioBaixasVendasInternet
|
analitico.gerenciais.estatisticos.relatorioBaixasVendasInternet=com.rjconsultores.ventaboletos.web.utilerias.menu.item.relatorios.ItemMenuRelatorioBaixasVendasInternet
|
||||||
|
analitico.gerenciais.estatisticos.relatorioVendaEmbarcada=com.rjconsultores.ventaboletos.web.utilerias.menu.item.relatorios.ItemMenuRelatorioVendaEmbarcada
|
||||||
analitico.gerenciais.financeiro=com.rjconsultores.ventaboletos.web.utilerias.menu.item.analitico.gerenciais.financeiro.SubMenuRelatorioFinanceiro
|
analitico.gerenciais.financeiro=com.rjconsultores.ventaboletos.web.utilerias.menu.item.analitico.gerenciais.financeiro.SubMenuRelatorioFinanceiro
|
||||||
analitico.gerenciais.financeiro.receitaDiariaAgencia=com.rjconsultores.ventaboletos.web.utilerias.menu.item.relatorios.ItemMenuRelatorioReceitaDiariaAgencia
|
analitico.gerenciais.financeiro.receitaDiariaAgencia=com.rjconsultores.ventaboletos.web.utilerias.menu.item.relatorios.ItemMenuRelatorioReceitaDiariaAgencia
|
||||||
analitico.gerenciais.financeiro.taxas=com.rjconsultores.ventaboletos.web.utilerias.menu.item.relatorios.ItemMenuRelatorioTaxasLinha
|
analitico.gerenciais.financeiro.taxas=com.rjconsultores.ventaboletos.web.utilerias.menu.item.relatorios.ItemMenuRelatorioTaxasLinha
|
||||||
|
|
|
@ -322,7 +322,7 @@ indexController.mniRelatorioVendasConexao.label = Reporte Ventas Conexion
|
||||||
indexController.mniRelatorioVendasRequisicao.label = Relatório Vendas Requisição(Ordem de Serviço)
|
indexController.mniRelatorioVendasRequisicao.label = Relatório Vendas Requisição(Ordem de Serviço)
|
||||||
indexController.mniRelatorioHistoricoCompras.label = Reporte Histórico de Compras
|
indexController.mniRelatorioHistoricoCompras.label = Reporte Histórico de Compras
|
||||||
indexController.mniRelatorioPosicaoVendaBilheteIdoso.label = Reporte Posición de Venta del Billete Anciano
|
indexController.mniRelatorioPosicaoVendaBilheteIdoso.label = Reporte Posición de Venta del Billete Anciano
|
||||||
|
indexController.mniRelatorioVendaEmbarcada.label = Venda Embarcada
|
||||||
indexController.mniRelatorioRemessaCNAB.label = Remessa de Lote (CNAB 400)
|
indexController.mniRelatorioRemessaCNAB.label = Remessa de Lote (CNAB 400)
|
||||||
|
|
||||||
indexController.mnSubMenuImpressaoFiscal.label=Impresión fiscal
|
indexController.mnSubMenuImpressaoFiscal.label=Impresión fiscal
|
||||||
|
@ -8033,6 +8033,30 @@ busquedaOperadorEmbarcada.mensage.operadorSalvo=Operador Cadastrado com sucesso.
|
||||||
busquedaOperadorEmbarcada.mensage.operadorSalvo.title=Sucesso
|
busquedaOperadorEmbarcada.mensage.operadorSalvo.title=Sucesso
|
||||||
busquedaOperadorEmbarcada.MSG.borrarPergunta= Eliminar o operador?
|
busquedaOperadorEmbarcada.MSG.borrarPergunta= Eliminar o operador?
|
||||||
busquedaOperadorEmbarcada.MSG.borrarPergunta.title=Apagar
|
busquedaOperadorEmbarcada.MSG.borrarPergunta.title=Apagar
|
||||||
|
|
||||||
|
busquedaOperadorEmbarcada.MSG..borrarOK=Registro excluído.
|
||||||
|
|
||||||
|
# Relatório Venda Embarcada
|
||||||
|
relatorioVendaEmbarcadaController.window.title = Relatório Venda Embarcada
|
||||||
|
relatorioVendaEmbarcadaController.lbDePeriodoViagem.value = Data Inicial
|
||||||
|
relatorioVendaEmbarcadaController.lbAtePeriodoViagem.value = Data Final
|
||||||
|
relatorioVendaEmbarcadaController.lbEmpresa.value = Empresa
|
||||||
|
relatorioVendaEmbarcadaController.lbPontoVenda.value = Ponto de Venda
|
||||||
|
relatorioVendaEmbarcadaController.lbUf.value = Estado
|
||||||
|
relatorioVendaEmbarcadaController.lbSerie.value = Série
|
||||||
|
relatorioVendaEmbarcadaController.lbNumBpe.value = N° Bpe
|
||||||
|
relatorioVendaEmbarcadaController.lbBloqueado.value = Dispositivo Bloqueado
|
||||||
|
relatorioVendaEmbarcadaController.lbEnvioSefaz.value = Mostrar Status de Envio Sefaz
|
||||||
|
relatorioVendaEmbarcadaController.lbQuebraSequencia.value = Mostrar Quebra de Sequência
|
||||||
|
relatorioVendaEmbarcadaController.lbUltimoBpe.value = Mostar apenas o último Bpe
|
||||||
|
relatorioVendaEmbarcadaController.label.enviosefaz.sim = Enviados
|
||||||
|
relatorioVendaEmbarcadaController.label.enviosefaz.nao = Não Enviados
|
||||||
|
relatorioVendaEmbarcadaController.label.enviosefaz.ambos = Todos
|
||||||
|
relatorioVendaEmbarcadaController.lbVendaEmbarcada.value = Venda Embarcada
|
||||||
|
relatorioVendaEmbarcadaController.label.VendaEmbarcada.sim = Sim
|
||||||
|
relatorioVendaEmbarcadaController.label.VendaEmbarcada.nao = Não
|
||||||
|
relatorioVendaEmbarcadaController.label.VendaEmbarcada.ambos = Todos
|
||||||
|
|
||||||
busquedaOperadorEmbarcada.MSG.borrarOK=Registro excluído.
|
busquedaOperadorEmbarcada.MSG.borrarOK=Registro excluído.
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -8073,4 +8097,4 @@ editarAutorizacaoUsoSerieEmbarcadaController.window.title = Autorização de uso
|
||||||
editarAutorizacaoUsoSerieEmbarcadaController.MSG.borrarPergunta = Eliminar autorización?
|
editarAutorizacaoUsoSerieEmbarcadaController.MSG.borrarPergunta = Eliminar autorización?
|
||||||
editarAutorizacaoUsoSerieEmbarcadaController.MSG.borrarOK = Autorización se eliminó exitosamente
|
editarAutorizacaoUsoSerieEmbarcadaController.MSG.borrarOK = Autorización se eliminó exitosamente
|
||||||
|
|
||||||
editarAutorizacaoUsoSerieEmbarcadaController.MSG.erroJaCadastrado=Dispositivo já autorizado para esta UF
|
editarAutorizacaoUsoSerieEmbarcadaController.MSG.erroJaCadastrado=Dispositivo já autorizado para esta UF
|
||||||
|
|
|
@ -338,6 +338,7 @@ indexController.mniRelatorioVendasConexao.label = Relatório Vendas de Conexão
|
||||||
indexController.mniRelatorioVendasRequisicao.label = Relatório Vendas Requisição(Ordem de Serviço)
|
indexController.mniRelatorioVendasRequisicao.label = Relatório Vendas Requisição(Ordem de Serviço)
|
||||||
indexController.mniRelatorioHistoricoCompras.label = Relatório Histórico de Compras
|
indexController.mniRelatorioHistoricoCompras.label = Relatório Histórico de Compras
|
||||||
indexController.mniRelatorioPosicaoVendaBilheteIdoso.label = Relatório Posição de Venda do Bilhete Idoso
|
indexController.mniRelatorioPosicaoVendaBilheteIdoso.label = Relatório Posição de Venda do Bilhete Idoso
|
||||||
|
indexController.mniRelatorioVendaEmbarcada.label = Venda Embarcada
|
||||||
|
|
||||||
indexController.mnSubMenuImpressaoFiscal.label=Impressão Fiscal
|
indexController.mnSubMenuImpressaoFiscal.label=Impressão Fiscal
|
||||||
indexController.mnSubMenuRelatorioImpressaoFiscal.label=Importação Fiscal
|
indexController.mnSubMenuRelatorioImpressaoFiscal.label=Importação Fiscal
|
||||||
|
@ -8528,6 +8529,28 @@ busquedaOperadorEmbarcada.MSG.borrarPergunta= Eliminar o operador?
|
||||||
busquedaOperadorEmbarcada.MSG.borrarPergunta.title=Apagar
|
busquedaOperadorEmbarcada.MSG.borrarPergunta.title=Apagar
|
||||||
busquedaOperadorEmbarcada.MSG..borrarOK=Registro excluído.
|
busquedaOperadorEmbarcada.MSG..borrarOK=Registro excluído.
|
||||||
|
|
||||||
|
|
||||||
|
# Relatório Venda Embarcada
|
||||||
|
relatorioVendaEmbarcadaController.window.title = Relatório Venda Embarcada
|
||||||
|
relatorioVendaEmbarcadaController.lbDePeriodoViagem.value = Data Inicial
|
||||||
|
relatorioVendaEmbarcadaController.lbAtePeriodoViagem.value = Data Final
|
||||||
|
relatorioVendaEmbarcadaController.lbEmpresa.value = Empresa
|
||||||
|
relatorioVendaEmbarcadaController.lbPontoVenda.value = Ponto de Venda
|
||||||
|
relatorioVendaEmbarcadaController.lbUf.value = Estado
|
||||||
|
relatorioVendaEmbarcadaController.lbSerie.value = Série
|
||||||
|
relatorioVendaEmbarcadaController.lbNumBpe.value = N° Bpe
|
||||||
|
relatorioVendaEmbarcadaController.lbBloqueado.value = Dispositivo Bloqueado
|
||||||
|
relatorioVendaEmbarcadaController.lbEnvioSefaz.value = Mostrar Status de Envio Sefaz
|
||||||
|
relatorioVendaEmbarcadaController.lbQuebraSequencia.value = Mostrar Quebra de Sequência
|
||||||
|
relatorioVendaEmbarcadaController.lbUltimoBpe.value = Mostar apenas o último Bpe
|
||||||
|
relatorioVendaEmbarcadaController.label.enviosefaz.sim = Enviados
|
||||||
|
relatorioVendaEmbarcadaController.label.enviosefaz.nao = Não Enviados
|
||||||
|
relatorioVendaEmbarcadaController.label.enviosefaz.ambos = Todos
|
||||||
|
relatorioVendaEmbarcadaController.lbVendaEmbarcada.value = Venda Embarcada
|
||||||
|
relatorioVendaEmbarcadaController.label.VendaEmbarcada.sim = Sim
|
||||||
|
relatorioVendaEmbarcadaController.label.VendaEmbarcada.nao = Não
|
||||||
|
relatorioVendaEmbarcadaController.label.VendaEmbarcada.ambos = Todos
|
||||||
|
|
||||||
#
|
#
|
||||||
autorizacaoUsoSerieEmbarcadaController.window.title = Autorização de uso de série por dispositivo
|
autorizacaoUsoSerieEmbarcadaController.window.title = Autorização de uso de série por dispositivo
|
||||||
editarAutorizacaoUsoSerieEmbarcadaController.window.title = Autorização de uso de série por dispositivo
|
editarAutorizacaoUsoSerieEmbarcadaController.window.title = Autorização de uso de série por dispositivo
|
||||||
|
@ -8566,4 +8589,4 @@ editarAutorizacaoUsoSerieEmbarcadaController.window.title = Autorização de uso
|
||||||
editarAutorizacaoUsoSerieEmbarcadaController.MSG.borrarPergunta = Eliminar autorização?
|
editarAutorizacaoUsoSerieEmbarcadaController.MSG.borrarPergunta = Eliminar autorização?
|
||||||
editarAutorizacaoUsoSerieEmbarcadaController.MSG.borrarOK = Autorização excluida com Sucesso.
|
editarAutorizacaoUsoSerieEmbarcadaController.MSG.borrarOK = Autorização excluida com Sucesso.
|
||||||
|
|
||||||
editarAutorizacaoUsoSerieEmbarcadaController.MSG.erroJaCadastrado=Dispositivo já autorizado para esta UF
|
editarAutorizacaoUsoSerieEmbarcadaController.MSG.erroJaCadastrado=Dispositivo já autorizado para esta UF
|
||||||
|
|
|
@ -0,0 +1,106 @@
|
||||||
|
<?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="winFiltroRelatorioVendaEmbarcada"?>
|
||||||
|
<?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c"?>
|
||||||
|
|
||||||
|
<zk xmlns="http://www.zkoss.org/2005/zul">
|
||||||
|
<window id="winFiltroRelatorioVendaEmbarcada"
|
||||||
|
apply="${relatorioVendaEmbarcadaController}" contentStyle="overflow:auto"
|
||||||
|
width="800px" border="normal">
|
||||||
|
<grid fixedLayout="true">
|
||||||
|
<columns>
|
||||||
|
<column width="15%" />
|
||||||
|
<column width="35%" />
|
||||||
|
<column width="15%" />
|
||||||
|
<column width="35%" />
|
||||||
|
</columns>
|
||||||
|
<rows>
|
||||||
|
<row>
|
||||||
|
<label
|
||||||
|
value="${c:l('relatorioVendaEmbarcadaController.lbDePeriodoViagem.value')}" />
|
||||||
|
<datebox id="datInicial" format="dd/MM/yyyy"
|
||||||
|
mold="rounded" width="95%" constraint="no empty"
|
||||||
|
maxlength="10" />
|
||||||
|
|
||||||
|
<label
|
||||||
|
value="${c:l('relatorioVendaEmbarcadaController.lbAtePeriodoViagem.value')}" />
|
||||||
|
<datebox id="datFinal" format="dd/MM/yyyy"
|
||||||
|
mold="rounded" width="95%" constraint="no empty"
|
||||||
|
maxlength="10" />
|
||||||
|
</row>
|
||||||
|
|
||||||
|
<row>
|
||||||
|
<label
|
||||||
|
value="${c:l('relatorioVendaEmbarcadaController.lbEmpresa.value')}" />
|
||||||
|
<combobox id="cmbEmpresa"
|
||||||
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEmpresa"
|
||||||
|
mold="rounded" buttonVisible="true" width="95%" />
|
||||||
|
<label
|
||||||
|
value="${c:l('relatorioVendaEmbarcadaController.lbBloqueado.value')}" />
|
||||||
|
<checkbox id="chkBloqueado" visible="true" />
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<label
|
||||||
|
value="${c:l('relatorioVendaEmbarcadaController.lbPontoVenda.value')}" />
|
||||||
|
<combobox id="cmbPuntoVenta"
|
||||||
|
autodrop="false"
|
||||||
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxPuntoVenta"
|
||||||
|
mold="rounded" buttonVisible="true" width="95%" />
|
||||||
|
<label
|
||||||
|
value="${c:l('relatorioVendaEmbarcadaController.lbEnvioSefaz.value')}" />
|
||||||
|
<radiogroup Id="radEnvioSefaz">
|
||||||
|
<radio id="radEnvioSim"
|
||||||
|
label="${c:l('relatorioVendaEmbarcadaController.label.enviosefaz.sim')}" />
|
||||||
|
<radio id="radEnvioNao"
|
||||||
|
label="${c:l('relatorioVendaEmbarcadaController.label.enviosefaz.nao')}" />
|
||||||
|
<radio id="radEnvioAmbos" checked="true"
|
||||||
|
label="${c:l('relatorioVendaEmbarcadaController.label.enviosefaz.ambos')}" />
|
||||||
|
</radiogroup>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<label
|
||||||
|
value="${c:l('relatorioVendaEmbarcadaController.lbUf.value')}" />
|
||||||
|
<combobox id="cmbEstado" width="95%" mold="rounded"
|
||||||
|
buttonVisible="true"
|
||||||
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
||||||
|
|
||||||
|
model="@{winFiltroRelatorioVendaEmbarcada$composer.lsEstados}" />
|
||||||
|
<label
|
||||||
|
value="${c:l('relatorioVendaEmbarcadaController.lbQuebraSequencia.value')}" />
|
||||||
|
<checkbox id="chkQuebraSequencia" visible="true" />
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<label
|
||||||
|
value="${c:l('relatorioVendaEmbarcadaController.lbSerie.value')}" />
|
||||||
|
<textbox id="txtSerie" width="95%"
|
||||||
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
||||||
|
<label
|
||||||
|
value="${c:l('relatorioVendaEmbarcadaController.lbUltimoBpe.value')}" />
|
||||||
|
<checkbox id="chkUltimoBpe" visible="true" />
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<label
|
||||||
|
value="${c:l('relatorioVendaEmbarcadaController.lbNumBpe.value')}" />
|
||||||
|
<textbox id="txtNumBpe" width="95%"
|
||||||
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
||||||
|
<label
|
||||||
|
value="${c:l('relatorioVendaEmbarcadaController.lbVendaEmbarcada.value')}" />
|
||||||
|
<radiogroup Id="radVendaEmbarcada">
|
||||||
|
<radio id="radVendaEmbarcadaSim"
|
||||||
|
label="${c:l('relatorioVendaEmbarcadaController.label.VendaEmbarcada.sim')}" />
|
||||||
|
<radio id="radVendaEmbarcadaNao"
|
||||||
|
label="${c:l('relatorioVendaEmbarcadaController.label.VendaEmbarcada.nao')}" />
|
||||||
|
<radio id="radVendaEmbarcadaAmbos" checked="true"
|
||||||
|
label="${c:l('relatorioVendaEmbarcadaController.label.VendaEmbarcada.ambos')}" />
|
||||||
|
</radiogroup>
|
||||||
|
</row>
|
||||||
|
</rows>
|
||||||
|
</grid>
|
||||||
|
<toolbar>
|
||||||
|
<button id="btnExecutarRelatorio" image="/gui/img/find.png"
|
||||||
|
label="${c:l('relatorio.lb.btnExecutarRelatorio')}" />
|
||||||
|
</toolbar>
|
||||||
|
</window>
|
||||||
|
</zk>
|
||||||
|
|
Loading…
Reference in New Issue