0016537: Troco Simples - Pagamento via carteira Digital Troco Simples

bug#16537
dev:fred
qua:junia

Parte de relatorio de estorno do troco simples na ADM

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@100149 d1611594-4594-4d17-8e1d-87c2c4800839
master
valdir 2020-02-11 20:43:40 +00:00
parent 6df599f2a5
commit b36380128a
11 changed files with 1115 additions and 0 deletions

View File

@ -0,0 +1,337 @@
/**
*
*/
package com.rjconsultores.ventaboletos.relatorios.impl;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Calendar;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.sql.DataSource;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Controller;
import org.zkoss.util.resource.Labels;
import org.zkoss.zhtml.Messagebox;
import org.zkoss.zk.ui.Component;
import org.zkoss.zk.ui.event.Event;
import org.zkoss.zul.Comboitem;
import org.zkoss.zul.Datebox;
import org.zkoss.zul.Paging;
import com.rjconsultores.ventaboletos.entidad.Empresa;
import com.rjconsultores.ventaboletos.entidad.PuntoVenta;
import com.rjconsultores.ventaboletos.relatorios.utilitarios.Relatorio;
import com.rjconsultores.ventaboletos.service.EmpresaService;
import com.rjconsultores.ventaboletos.utilerias.UsuarioLogado;
import com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar;
import com.rjconsultores.ventaboletos.web.utilerias.MyGenericForwardComposer;
import com.rjconsultores.ventaboletos.web.utilerias.MyListbox;
import com.rjconsultores.ventaboletos.web.utilerias.MyTextbox;
import com.rjconsultores.ventaboletos.web.utilerias.paginacion.HibernateSearchObject;
import com.rjconsultores.ventaboletos.web.utilerias.paginacion.PagedListWrapper;
import com.rjconsultores.ventaboletos.web.utilerias.render.RenderRelatorioVendasBilheteiro;
import com.rjconsultores.ventaboletos.web.utilerias.render.RenderRelatorioVendasBilheteiroSelecionados;
@Controller("relatorioEstornoTrocoSimplesController")
@Scope("prototype")
public class RelatorioEstornoCartaoTrocoSimplesController extends MyGenericForwardComposer {
/**
*
*/
private static final long serialVersionUID = 1L;
private Datebox datInicial;
private Datebox datFinal;
private MyComboboxEstandar cmbEmpresa;
private List<Empresa> lsEmpresa;
private Paging pagingPuntoVenta;
private MyTextbox txtCpf;
private MyTextbox txtNombrePuntoVenta;
private MyListbox puntoVentaList;
private MyListbox puntoVentaSelList;
@Autowired
private EmpresaService empresaService;
@Autowired
private DataSource dataSourceRead;
@Autowired
private transient PagedListWrapper<PuntoVenta> plwPuntoVenta;
@Override
public void doAfterCompose(Component comp) throws Exception {
lsEmpresa = empresaService.obtenerTodos();
super.doAfterCompose(comp);
puntoVentaList.setItemRenderer(new RenderRelatorioVendasBilheteiro());
puntoVentaSelList.setItemRenderer(new RenderRelatorioVendasBilheteiroSelecionados());
}
public void onClick$btnExecutarRelatorio(Event ev) throws Exception {
executarRelatorio();
}
/**
* @throws Exception
*
*/
@SuppressWarnings({ "rawtypes", "unchecked" })
private void executarRelatorio() throws Exception {
{
if (datInicial != null && datFinal != null && datFinal.getValue().compareTo(datInicial.getValue()) < 0) {
try {
Messagebox.show(Labels.getLabel("MSG.ningunRegistro"),
Labels.getLabel("relatorioEstornoCartaoController.window.title"),
Messagebox.OK, Messagebox.INFORMATION);
} catch (InterruptedException ex) {
ex.printStackTrace();
}
} else
{
Relatorio relatorio;
Map<String, Object> parametros = new HashMap<String, Object>();
StringBuilder filtro = new StringBuilder();
filtro.append("Início período: ");
Calendar cal = Calendar.getInstance();
cal.setTime(datInicial.getValue());
filtro.append(cal.get(Calendar.DATE) + "/");
filtro.append((cal.get(Calendar.MONTH) + 1) + "/");
filtro.append(cal.get(Calendar.YEAR) + "; ");
filtro.append("Fim período: ");
cal.setTime(datFinal.getValue());
filtro.append(cal.get(Calendar.DATE) + "/");
filtro.append((cal.get(Calendar.MONTH) + 1) + "/");
filtro.append(cal.get(Calendar.YEAR) + "; ");
parametros.put("DATA_INICIAL", datInicial.getValue());
parametros.put("DATA_FINAL", datFinal.getValue());
parametros.put("NOME_RELATORIO", Labels.getLabel("relatorioEstornoCartaoController.window.title"));
parametros.put("USUARIO", UsuarioLogado.getUsuarioLogado().getUsuarioId().toString());
parametros.put("USUARIO_NOME", UsuarioLogado.getUsuarioLogado().getNombusuario());
parametros.put("DOCUMENTO_CPF", txtCpf.getValue());
filtro.append("Empresa: ");
Comboitem itemEmpresa = cmbEmpresa.getSelectedItem();
if (itemEmpresa != null) {
Empresa empresa = (Empresa) itemEmpresa.getValue();
parametros.put("EMPRESA_ID", empresa.getEmpresaId());
filtro.append(empresa.getNombempresa() + ";");
} else {
filtro.append(" Todas;");
}
filtro.append("Agência: ");
String puntoVentas = "";
List<PuntoVenta> lsPuntoVentaSelecionados = new ArrayList(Arrays.asList(puntoVentaSelList.getData()));
if (lsPuntoVentaSelecionados.isEmpty()) {
puntoVentas = "Todas";
} else {
StringBuilder puntoVentaIds = new StringBuilder();
for (int i = 0; i < lsPuntoVentaSelecionados.size(); i++) {
PuntoVenta puntoVenta = lsPuntoVentaSelecionados.get(i);
puntoVentas = puntoVentas + puntoVenta.getNombpuntoventa() + ",";
if(puntoVentaIds.length() > 0) {
puntoVentaIds.append(",");
}
puntoVentaIds.append(puntoVenta.getPuntoventaId());
}
parametros.put("NUMPUNTOVENTA", puntoVentaIds.toString());
}
filtro.append(puntoVentas).append(";");
parametros.put("FILTROS", filtro.toString());
relatorio = new RelatorioEstornoTrocoSimples(parametros, dataSourceRead.getConnection());
Map args = new HashMap();
args.put("relatorio", relatorio);
openWindow("/component/reportView.zul",
Labels.getLabel("relatorioEstornoTrocoSimplesController.window.title"), args, MODAL);
}
}
}
private void executarPesquisa() {
HibernateSearchObject<PuntoVenta> puntoVentaBusqueda = new HibernateSearchObject<PuntoVenta>(PuntoVenta.class, pagingPuntoVenta.getPageSize());
puntoVentaBusqueda.addFilterILike("nombpuntoventa", "%" + txtNombrePuntoVenta.getValue() + "%");
puntoVentaBusqueda.addFilterEqual("activo", Boolean.TRUE);
puntoVentaBusqueda.addSortAsc("nombpuntoventa");
puntoVentaBusqueda.addFilterEqual("activo", Boolean.TRUE);
plwPuntoVenta.init(puntoVentaBusqueda, puntoVentaList, pagingPuntoVenta);
if (puntoVentaList.getData().length == 0) {
try {
Messagebox.show(Labels.getLabel("MSG.ningunRegistro"),
Labels.getLabel("relatorioVendasBilheteiroController.window.title"),
Messagebox.OK, Messagebox.INFORMATION);
} catch (InterruptedException ex) {
ex.printStackTrace();
}
}
}
public void onClick$btnPesquisa(Event ev) {
executarPesquisa();
}
public void onClick$btnLimpar(Event ev) {
puntoVentaList.setData(new ArrayList<PuntoVenta>());
txtNombrePuntoVenta.setText("");
}
public void onDoubleClick$puntoVentaSelList(Event ev) {
PuntoVenta puntoVenta = (PuntoVenta) puntoVentaSelList.getSelected();
puntoVentaSelList.removeItem(puntoVenta);
}
public void onDoubleClick$puntoVentaList(Event ev) {
PuntoVenta puntoVenta = (PuntoVenta) puntoVentaList.getSelected();
puntoVentaSelList.addItemNovo(puntoVenta);
}
/**
* @return the datInicial
*/
public Datebox getDatInicial() {
return datInicial;
}
/**
* @param datInicial
* the datInicial to set
*/
public void setDatInicial(Datebox datInicial) {
this.datInicial = datInicial;
}
/**
* @return the datFinal
*/
public Datebox getDatFinal() {
return datFinal;
}
/**
* @param datFinal
* the datFinal to set
*/
public void setDatFinal(Datebox datFinal) {
this.datFinal = datFinal;
}
/**
* @return the cmbEmpresa
*/
public MyComboboxEstandar getCmbEmpresa() {
return cmbEmpresa;
}
/**
* @param cmbEmpresa
* the cmbEmpresa to set
*/
public void setCmbEmpresa(MyComboboxEstandar cmbEmpresa) {
this.cmbEmpresa = cmbEmpresa;
}
/**
* @return the lsEmpresa
*/
public List<Empresa> getLsEmpresa() {
return lsEmpresa;
}
/**
* @param lsEmpresa
* the lsEmpresa to set
*/
public void setLsEmpresa(List<Empresa> lsEmpresa) {
this.lsEmpresa = lsEmpresa;
}
/**
* @return the pagingPuntoVenta
*/
public Paging getPagingPuntoVenta() {
return pagingPuntoVenta;
}
/**
* @param pagingPuntoVenta
* the pagingPuntoVenta to set
*/
public void setPagingPuntoVenta(Paging pagingPuntoVenta) {
this.pagingPuntoVenta = pagingPuntoVenta;
}
/**
* @return the txtNombrePuntoVenta
*/
public MyTextbox getTxtNombrePuntoVenta() {
return txtNombrePuntoVenta;
}
/**
* @param txtNombrePuntoVenta
* the txtNombrePuntoVenta to set
*/
public void setTxtNombrePuntoVenta(MyTextbox txtNombrePuntoVenta) {
this.txtNombrePuntoVenta = txtNombrePuntoVenta;
}
/**
* @return the puntoVentaList
*/
public MyListbox getPuntoVentaList() {
return puntoVentaList;
}
/**
* @param puntoVentaList
* the puntoVentaList to set
*/
public void setPuntoVentaList(MyListbox puntoVentaList) {
this.puntoVentaList = puntoVentaList;
}
/**
* @return the puntoVentaSelList
*/
public MyListbox getPuntoVentaSelList() {
return puntoVentaSelList;
}
/**
* @param puntoVentaSelList
* the puntoVentaSelList to set
*/
public void setPuntoVentaSelList(MyListbox puntoVentaSelList) {
this.puntoVentaSelList = puntoVentaSelList;
}
/**
* @return the txtCpf
*/
public MyTextbox getTxtCpf() {
return txtCpf;
}
/**
* @param txtCpf
* the txtCpf to set
*/
public void setTxtCpf(MyTextbox txtCpf) {
this.txtCpf = txtCpf;
}
}

View File

@ -0,0 +1,134 @@
/**
*
*/
package com.rjconsultores.ventaboletos.relatorios.impl;
import java.sql.Connection;
import java.sql.ResultSet;
import java.text.SimpleDateFormat;
import java.util.HashMap;
import java.util.Map;
import com.rjconsultores.ventaboletos.relatorios.utilitarios.ArrayDataSource;
import com.rjconsultores.ventaboletos.relatorios.utilitarios.Relatorio;
import com.rjconsultores.ventaboletos.web.utilerias.NamedParameterStatement;
/**
* @author Thiago
*
*/
public class RelatorioEstornoTrocoSimples extends Relatorio {
protected RelatorioEstornoTrocoSimples(Map<String, Object> parametros, Connection conexao) throws Exception {
super(parametros, conexao);
this.setCustomDataSource(new ArrayDataSource(this) {
@Override
public void initDados() throws Exception {
Connection conexao = this.relatorio.getConexao();
Map<String, Object> parametros = this.relatorio.getParametros();
String sql = getSql();
SimpleDateFormat sdfDiaMesAno = new SimpleDateFormat("dd/MM/yyyy");
SimpleDateFormat sdfDiaMesAnoHora = new SimpleDateFormat("dd/MM/yyyy hh:mm:ss");
NamedParameterStatement stmt = new NamedParameterStatement(conexao, sql);
stmt.setTimestamp("data_inicial", new java.sql.Timestamp(sdfDiaMesAnoHora.parse(sdfDiaMesAno.format(parametros.get("DATA_INICIAL")) + " 00:00:00").getTime()));
stmt.setTimestamp("data_final", new java.sql.Timestamp(sdfDiaMesAnoHora.parse(sdfDiaMesAno.format(parametros.get("DATA_FINAL")) + " 23:59:59").getTime()));
stmt.setInt("empresaId", Integer.valueOf(parametros.get("EMPRESA_ID") + ""));
if (parametros.get("DOCUMENTO_CPF") != null && parametros.get("DOCUMENTO_CPF") != "") {
stmt.setString("documentoCPF", parametros.get("DOCUMENTO_CPF").toString());
}
if (parametros.get("CARTAO") != null && parametros.get("CARTAO") != "") {
stmt.setString("cartao", parametros.get("CARTAO").toString());
}
ResultSet rset = stmt.executeQuery();
while (rset.next()) {
Map<String, Object> dataResult = new HashMap<String, Object>();
dataResult.put("agencia", rset.getString("agencia"));
dataResult.put("bilheteiro", rset.getString("bilheteiro"));
dataResult.put("data", rset.getDate("data"));
dataResult.put("cpf", rset.getString("cpf"));
dataResult.put("transacao", rset.getString("transacao"));
dataResult.put("dataTransacao", rset.getDate("dataTransacao"));
dataResult.put("valorEstorno", rset.getBigDecimal("valorEstorno"));
dataResult.put("origem", rset.getString("origem"));
dataResult.put("destino", rset.getString("destino"));
dataResult.put("servico", rset.getInt("servico"));
dataResult.put("dataServico", rset.getDate("dataServico"));
dataResult.put("bilhete", rset.getString("bilhete"));
dataResult.put("valorTransacao", rset.getBigDecimal("valorTransacao"));
this.dados.add(dataResult);
}
this.resultSet = rset;
}
});
}
private String getSql() {
StringBuilder sql = new StringBuilder();
sql.append(" SELECT ");
sql.append(" pv.NUMPUNTOVENTA agencia, ");
sql.append(" u.cveusuario bilheteiro, ");
sql.append(" dec.fecmodif data, ");
sql.append(" DEC.CPF cpf, ");
sql.append(" DEC.id_transacao transacao, ");
sql.append(" DEC.datatransacao dataTransacao, ");
sql.append(" DEC.valorestornado valorEstorno, ");
sql.append(" pOrigen.CVEPARADA origem, ");
sql.append(" pDestino.CVEPARADA destino, ");
sql.append(" dec.CORRIDA_ID servico, ");
sql.append(" dec.FECCORRIDA dataServico, ");
sql.append(" DEC.NUMFOLIOSISTEMA bilhete, ");
sql.append(" DEC.valortotal valorTransacao ");
sql.append(" FROM ");
sql.append(" dados_estorno_trocosimples DEC ");
sql.append(" JOIN punto_venta pv ");
sql.append(" ON ");
sql.append(" pv.PUNTOVENTA_ID = dec.PUNTOVENTA_ID ");
sql.append(" JOIN usuario u ");
sql.append(" ON ");
sql.append(" u.USUARIO_ID = DEC.USUARIO_ID ");
sql.append(" JOIN parada pOrigen ");
sql.append(" ON ");
sql.append(" pOrigen.PARADA_ID = DEC.ORIGEN_ID ");
sql.append(" JOIN parada pDestino ");
sql.append(" ON ");
sql.append(" pDestino.PARADA_ID = DEC.DESTINO_ID ");
sql.append(" JOIN EMPRESA e ");
sql.append(" ON ");
sql.append(" e.EMPRESA_ID = DEC.EMPRESA_ID ");
sql.append(" WHERE ");
sql.append(" dec.activo = 1 ");
if (parametros.get("NUMPUNTOVENTA") != null && !parametros.get("NUMPUNTOVENTA").equals("-1")) {
sql.append(" AND dec.PUNTOVENTA_ID IN(" + parametros.get("NUMPUNTOVENTA") + ") ");
}
sql.append(" AND e.EMPRESA_ID = :empresaId ");
if (parametros.get("DOCUMENTO_CPF") != null && parametros.get("DOCUMENTO_CPF") != "") {
sql.append(" AND LOWER(DEC.CPF) like LOWER(:documentoCPF) ||'%' ");
}
sql.append(" AND DEC.datatransacao BETWEEN :data_inicial AND :data_final ");
return sql.toString();
}
@Override
protected void processaParametros() throws Exception {
}
}

View File

@ -0,0 +1,33 @@
#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:
#Labels header
agencia.label=Agência
bilheteiro.label=Bilheteiro
data.label=Data
cliente.label=Cliente
cpf.label=CPF
email.label=E-mail
telefone.label=Telefone
cartao.label=Cartão
numeroCartao.label=Número Cartão
nsu.label=NSU
autorizacao.label=Autorização
dataTransacao.label=Data Transação
valorEstorno.label= Valor Estorno
origem.label=Origem
destino.label=Destino
servico.label=Serviço
dataServico.label=Data Serviço
bilhete.label=Bilhete
valorTransacao.label=Valor Transação

View File

@ -0,0 +1,33 @@
#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:
#Labels header
agencia.label=Agência
bilheteiro.label=Bilheteiro
data.label=Data
cliente.label=Cliente
cpf.label=CPF
email.label=E-mail
telefone.label=Transação
cartao.label=Cartão
numeroCartao.label=Número Cartão
nsu.label=NSU
autorizacao.label=Autorização
dataTransacao.label=Data Transação
valorEstorno.label= Valor Estorno
origem.label=Origem
destino.label=Destino
servico.label=Serviço
dataServico.label=Data Serviço
bilhete.label=Bilhete
valorTransacao.label=Valor Transação

View File

@ -0,0 +1,413 @@
<?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="RelatorioEstornoCartao" pageWidth="842" pageHeight="595" orientation="Landscape" whenNoDataType="NoDataSection" columnWidth="802" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="c092ef85-9334-4225-93d7-1acb7cf4d021">
<property name="ireport.zoom" value="2.4157650000000075"/>
<property name="ireport.x" value="342"/>
<property name="ireport.y" value="0"/>
<property name="net.sf.jasperreports.export.xls.remove.emtpy.space.between.columns" value="true"/>
<property name="net.sf.jasperreports.export.xls.remove.emtpy.space.between.rows" value="true"/>
<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.1" value="columnHeader"/>
<parameter name="NOME_RELATORIO" class="java.lang.String"/>
<parameter name="DATA_INICIAL" class="java.util.Date"/>
<parameter name="DATA_FINAL" class="java.util.Date"/>
<parameter name="USUARIO" class="java.lang.String"/>
<parameter name="FILTROS" class="java.lang.String"/>
<queryString>
<![CDATA[]]>
</queryString>
<field name="agencia" class="java.lang.String"/>
<field name="data" class="java.util.Date"/>
<field name="cpf" class="java.lang.String"/>
<field name="valorEstorno" class="java.math.BigDecimal"/>
<field name="transacao" class="java.lang.String"/>
<field name="dataTransacao" class="java.util.Date"/>
<field name="valorTransacao" class="java.math.BigDecimal"/>
<field name="origem" class="java.lang.String"/>
<field name="bilheteiro" class="java.lang.String"/>
<field name="destino" class="java.lang.String"/>
<field name="servico" class="java.lang.Integer"/>
<field name="dataServico" class="java.util.Date"/>
<field name="bilhete" class="java.lang.String"/>
<background>
<band splitType="Stretch"/>
</background>
<pageHeader>
<band height="73" splitType="Stretch">
<textField pattern="" isBlankWhenNull="false">
<reportElement mode="Transparent" x="0" y="0" width="615" height="35" forecolor="#000000" backcolor="#FFFFFF" uuid="136a5066-d141-4362-af36-0780f0d16542"/>
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="12" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA[$P{NOME_RELATORIO}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="false">
<reportElement mode="Transparent" x="0" y="42" width="47" height="15" forecolor="#000000" backcolor="#FFFFFF" uuid="3dca1764-758d-4e1c-80c0-85cc02e47813"/>
<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 pattern="" isBlankWhenNull="false">
<reportElement mode="Transparent" x="126" y="42" width="21" height="15" forecolor="#000000" backcolor="#FFFFFF" uuid="8948c0fc-e878-45e2-8505-7934add98ab9"/>
<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{cabecalho.periodoA}]]></textFieldExpression>
</textField>
<textField pattern="dd/MM/yyyy" isBlankWhenNull="false">
<reportElement mode="Transparent" x="46" y="42" width="81" height="15" forecolor="#000000" backcolor="#FFFFFF" uuid="7f1b9715-baaf-4e20-9a9d-a7ec4c696587"/>
<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[$P{DATA_INICIAL}]]></textFieldExpression>
</textField>
<textField pattern="dd/MM/yyyy" isBlankWhenNull="false">
<reportElement mode="Transparent" x="146" y="42" width="85" height="15" forecolor="#000000" backcolor="#FFFFFF" uuid="64632058-9466-479c-ae28-0a11c9ed2c7f"/>
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA[$P{DATA_FINAL}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="615" y="0" width="68" height="25" uuid="a9d471fb-1e1d-4d9a-9783-bbf988931192"/>
<textElement textAlignment="Right">
<font size="9" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$R{cabecalho.dataHora}]]></textFieldExpression>
</textField>
<textField pattern="dd/MM/yyyy HH:mm" isBlankWhenNull="false">
<reportElement mode="Transparent" x="683" y="0" width="118" height="25" forecolor="#000000" backcolor="#FFFFFF" uuid="0d200750-aabf-4c7e-b27b-c0e7af4802a9"/>
<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[new java.util.Date()]]></textFieldExpression>
</textField>
<textField pattern="" isBlankWhenNull="false">
<reportElement mode="Transparent" x="683" y="26" width="98" height="15" forecolor="#000000" backcolor="#FFFFFF" uuid="bae9bec6-8c42-4bee-a070-34b0a7f1aee4"/>
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA[$R{cabecalho.pagina}+" "+$V{PAGE_NUMBER}+" "+$R{cabecalho.de}]]></textFieldExpression>
</textField>
<textField evaluationTime="Report" pattern="" isBlankWhenNull="false">
<reportElement mode="Transparent" x="781" y="26" width="20" height="15" forecolor="#000000" backcolor="#FFFFFF" uuid="314e312c-8f24-42de-8354-3c1f7241a985"/>
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
</textField>
<textField pattern="" isBlankWhenNull="false">
<reportElement mode="Transparent" x="683" y="42" width="118" height="15" forecolor="#000000" backcolor="#FFFFFF" uuid="4e030613-9cee-443e-9eaa-b19fa3090976"/>
<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 isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement positionType="Float" x="0" y="59" width="801" height="14" uuid="b29d0494-2695-420b-bdc1-b13c08bdbcda"/>
<box leftPadding="2" rightPadding="2">
<topPen lineWidth="1.0"/>
<leftPen lineWidth="1.0"/>
<bottomPen lineWidth="1.0"/>
<rightPen lineWidth="1.0"/>
</box>
<textElement verticalAlignment="Middle">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$P{FILTROS}]]></textFieldExpression>
</textField>
</band>
</pageHeader>
<columnHeader>
<band height="20" splitType="Stretch">
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement positionType="Float" x="0" y="0" width="65" height="20" uuid="6d606a89-ef32-44fa-a1ae-6b9c0179e3ac"/>
<box>
<leftPen lineWidth="0.0"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$R{agencia.label}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement positionType="Float" x="65" y="0" width="65" height="20" uuid="78789f48-2720-4a0f-8200-48c7168dcc20"/>
<box>
<leftPen lineWidth="0.0"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$R{bilheteiro.label}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement positionType="Float" x="130" y="0" width="54" height="20" uuid="75e8fd92-595b-4031-9583-95cbe3b0b8aa"/>
<box>
<leftPen lineWidth="0.0"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$R{data.label}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement positionType="Float" x="184" y="0" width="74" height="20" uuid="801625b5-a4f7-4052-80cb-ced378ba6756"/>
<box>
<leftPen lineWidth="0.0"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$R{cpf.label}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement positionType="Float" x="258" y="0" width="169" height="20" uuid="bb82a4ef-15b6-4284-9160-9714da3579bb"/>
<box>
<leftPen lineWidth="0.0"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$R{telefone.label}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement positionType="Float" x="427" y="0" width="54" height="20" uuid="ac3fbe18-d2c6-4fc1-aa4c-b3c8c91b1174"/>
<box>
<leftPen lineWidth="0.0"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$R{dataTransacao.label}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement positionType="Float" x="481" y="0" width="47" height="20" uuid="da0677b0-a380-4686-ad53-61ddf129e143"/>
<box>
<leftPen lineWidth="0.0"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$R{valorEstorno.label}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement positionType="Float" x="528" y="0" width="40" height="20" uuid="f1442d1b-8590-4deb-8bc5-96b2316462b7"/>
<box>
<leftPen lineWidth="0.0"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$R{origem.label}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement positionType="Float" x="568" y="0" width="40" height="20" uuid="c61f1d44-90da-401f-a832-b8c06682bde8"/>
<box>
<leftPen lineWidth="0.0"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$R{destino.label}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement positionType="Float" x="608" y="0" width="40" height="20" uuid="67b880a8-7be7-42d7-889a-78c9b2113a4c"/>
<box>
<leftPen lineWidth="0.0"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$R{servico.label}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement positionType="Float" x="648" y="0" width="54" height="20" uuid="07f1f00b-329c-4b23-bc9e-bf9064ccd147"/>
<box>
<leftPen lineWidth="0.0"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$R{dataServico.label}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement positionType="Float" x="702" y="0" width="49" height="20" uuid="84ffd875-2c40-418f-916d-305d98a04dfc"/>
<box>
<leftPen lineWidth="0.0"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$R{bilhete.label}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement positionType="Float" x="751" y="0" width="50" height="20" uuid="53e910c5-7876-4cad-96c8-8bebeabcc0b6"/>
<box>
<leftPen lineWidth="0.0"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$R{valorTransacao.label}]]></textFieldExpression>
</textField>
</band>
</columnHeader>
<detail>
<band height="27" splitType="Stretch">
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement positionType="Float" x="0" y="0" width="65" height="27" uuid="b6303a6f-7dcb-4e04-b760-9da3cc781862"/>
<box>
<leftPen lineWidth="0.0"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="7"/>
<paragraph leftIndent="2"/>
</textElement>
<textFieldExpression><![CDATA[$F{agencia}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement positionType="Float" x="65" y="0" width="65" height="27" uuid="82deceaa-3bf0-40e5-8d0f-24cbc6799b18"/>
<box>
<leftPen lineWidth="0.0"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$F{bilheteiro}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement positionType="Float" x="184" y="0" width="74" height="27" uuid="011f18ad-4c98-419f-a100-9a4ddb25e255"/>
<box>
<leftPen lineWidth="0.0"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$F{cpf}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement positionType="Float" x="258" y="0" width="169" height="27" uuid="aeba3ac4-bb56-4bd3-9c2f-497a3f11cd9c"/>
<box>
<leftPen lineWidth="0.0"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$F{transacao}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="dd/MM/yyyy" isBlankWhenNull="true">
<reportElement positionType="Float" x="427" y="0" width="54" height="27" uuid="838657a0-d5bf-4a28-aea4-b8b6f19fed96"/>
<box>
<leftPen lineWidth="0.0"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$F{dataTransacao}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="###0.00" isBlankWhenNull="true">
<reportElement positionType="Float" x="481" y="0" width="47" height="27" uuid="bacf4384-5350-446b-b0d5-7e013114e25d"/>
<box>
<leftPen lineWidth="0.0"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$F{valorEstorno}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement positionType="Float" x="528" y="0" width="40" height="27" uuid="20a5d436-c6ba-45cc-9fd5-03aaff8a98ba"/>
<box>
<leftPen lineWidth="0.0"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$F{origem}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement positionType="Float" x="568" y="0" width="40" height="27" uuid="4cd32cee-a081-4c86-970c-912891f1ba86"/>
<box>
<leftPen lineWidth="0.0"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$F{destino}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement positionType="Float" x="608" y="0" width="40" height="27" uuid="7bd19ec9-ea19-44e6-96c1-b8e1c191538d"/>
<box>
<leftPen lineWidth="0.0"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$F{servico}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="dd/MM/yyyy" isBlankWhenNull="true">
<reportElement positionType="Float" x="648" y="0" width="54" height="27" uuid="3035abfe-7fee-47f1-90d0-df1b33113e2d"/>
<box>
<leftPen lineWidth="0.0"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$F{dataServico}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement positionType="Float" x="702" y="0" width="49" height="27" uuid="ca18697e-f3ef-4b34-a10d-9c92b281be56"/>
<box>
<leftPen lineWidth="0.0"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$F{bilhete}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="###0.00" isBlankWhenNull="true">
<reportElement positionType="Float" x="751" y="0" width="50" height="27" uuid="bd34bccf-8a59-452a-8030-425e4974acae"/>
<box>
<leftPen lineWidth="0.0"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$F{valorTransacao}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="dd/MM/yyyy" isBlankWhenNull="true">
<reportElement positionType="Float" x="130" y="0" width="54" height="27" uuid="3494fbec-c42c-4657-8bef-7eee71c35b68"/>
<box>
<leftPen lineWidth="0.0"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$F{data}]]></textFieldExpression>
</textField>
</band>
</detail>
<summary>
<band splitType="Stretch"/>
</summary>
<noData>
<band height="26">
<textField>
<reportElement x="0" y="0" width="802" height="26" uuid="6f13c961-dd50-4e44-ba73-65e0752b8b83"/>
<textElement textAlignment="Center" markup="none">
<font size="11" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$R{msg.noData}]]></textFieldExpression>
</textField>
</band>
</noData>
</jasperReport>

View File

@ -0,0 +1,26 @@
package com.rjconsultores.ventaboletos.web.utilerias.menu.item.esquemaoperacional;
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 ItemMenuRelatorioEstornoTrocoSimples extends DefaultItemMenuSistema {
public ItemMenuRelatorioEstornoTrocoSimples() {
super("indexController.mniTrocoSimples.mniRelatorioEstornoTrocoSimples.label");
}
@Override
public String getClaveMenu() {
return ConstantesFuncionSistema.CLAVE_RELATORIO_ESTORNO_TROCO_SIMPLES;
}
@Override
public void ejecutar() {
PantallaUtileria.openWindow("/gui/relatorios/filtroRelatorioEstornoTrocoSimples.zul",
Labels.getLabel("relatorioEstornoTrocoSimples.window.title"), getArgs() ,desktop);
}
}

View File

@ -97,6 +97,7 @@ esquemaOperacional.configuracaoVendaEmbarcada.ItemMenuCadastroOperadorEmbarcada=
esquemaOperacional.trocoSimples=com.rjconsultores.ventaboletos.web.utilerias.menu.item.esquemaoperacional.SubMenuTrocoSimples esquemaOperacional.trocoSimples=com.rjconsultores.ventaboletos.web.utilerias.menu.item.esquemaoperacional.SubMenuTrocoSimples
esquemaOperacional.trocoSimples.ItemMenuCadastroEmpresaTrocoSimples=com.rjconsultores.ventaboletos.web.utilerias.menu.item.esquemaoperacional.ItemMenuCadastroEmpresaTrocoSimples esquemaOperacional.trocoSimples.ItemMenuCadastroEmpresaTrocoSimples=com.rjconsultores.ventaboletos.web.utilerias.menu.item.esquemaoperacional.ItemMenuCadastroEmpresaTrocoSimples
esquemaOperacional.trocoSimples.ItemMenuRelatorioTrocoSimples=com.rjconsultores.ventaboletos.web.utilerias.menu.item.esquemaoperacional.ItemMenuRelatorioTrocoSimples esquemaOperacional.trocoSimples.ItemMenuRelatorioTrocoSimples=com.rjconsultores.ventaboletos.web.utilerias.menu.item.esquemaoperacional.ItemMenuRelatorioTrocoSimples
esquemaOperacional.trocoSimples.ItemMenuRelatorioEstornoTrocoSimples=com.rjconsultores.ventaboletos.web.utilerias.menu.item.esquemaoperacional.ItemMenuRelatorioEstornoTrocoSimples
tarifasOficial=com.rjconsultores.ventaboletos.web.utilerias.menu.item.tarifasOficial.MenuTarifasOficial tarifasOficial=com.rjconsultores.ventaboletos.web.utilerias.menu.item.tarifasOficial.MenuTarifasOficial
tarifasOficial.seguroKm=com.rjconsultores.ventaboletos.web.utilerias.menu.item.tarifasOficial.ItemMenuSeguroKm tarifasOficial.seguroKm=com.rjconsultores.ventaboletos.web.utilerias.menu.item.tarifasOficial.ItemMenuSeguroKm
tarifasOficial.seguroTarifa=com.rjconsultores.ventaboletos.web.utilerias.menu.item.tarifasOficial.ItemMenuSeguroTarifa tarifasOficial.seguroTarifa=com.rjconsultores.ventaboletos.web.utilerias.menu.item.tarifasOficial.ItemMenuSeguroTarifa

View File

@ -2315,6 +2315,12 @@ editarConfiguracionCategoriaController.lblCores.value = Colores
editarConfiguracionCategoriaController.lblCoresNenhuma.value = Ninguna editarConfiguracionCategoriaController.lblCoresNenhuma.value = Ninguna
editarConfiguracionCategoriaController.lblCoresLaranja.value = Naranja editarConfiguracionCategoriaController.lblCoresLaranja.value = Naranja
editarConfiguracionCategoriaController.lblCoresVerde.value = Verde editarConfiguracionCategoriaController.lblCoresVerde.value = Verde
editarConfiguracionCategoriaController.lblCoresAzul.value = Azul
editarConfiguracionCategoriaController.lblCoresBege.value = Bege
editarConfiguracionCategoriaController.lblCoresLilas.value = Lilás
editarConfiguracionCategoriaController.lblCoresMarrom.value = Marrom
editarConfiguracionCategoriaController.lblCoresRosa.value = Rosa
editarConfiguracionCategoriaController.lblCoresRoxo.value = Roxo
editarConfiguracionCategoriaController.lblIndnaopermitevdamesmodocviagem.value = No permite la venta de varios pasajes para el mismo documento y edad en el mismo horario del recorrido del Servicio editarConfiguracionCategoriaController.lblIndnaopermitevdamesmodocviagem.value = No permite la venta de varios pasajes para el mismo documento y edad en el mismo horario del recorrido del Servicio
editarConfiguracionCategoriaController.msg.modoFidelidadeNaoCinfigurado = Modulo de Fidelidad no configurado. Se debe configurar el Módulo Fidelidad antes de vincular este Tipo de Categoría. editarConfiguracionCategoriaController.msg.modoFidelidadeNaoCinfigurado = Modulo de Fidelidad no configurado. Se debe configurar el Módulo Fidelidad antes de vincular este Tipo de Categoría.
editarConfiguracionCategoriaController.lblIndnaoaplicatarifaminima.value = No aplica Tarifa Minima editarConfiguracionCategoriaController.lblIndnaoaplicatarifaminima.value = No aplica Tarifa Minima

View File

@ -2479,6 +2479,12 @@ editarConfiguracionCategoriaController.lblCores.value = Cores
editarConfiguracionCategoriaController.lblCoresNenhuma.value = Nenhuma editarConfiguracionCategoriaController.lblCoresNenhuma.value = Nenhuma
editarConfiguracionCategoriaController.lblCoresLaranja.value = Laranja editarConfiguracionCategoriaController.lblCoresLaranja.value = Laranja
editarConfiguracionCategoriaController.lblCoresVerde.value = Verde editarConfiguracionCategoriaController.lblCoresVerde.value = Verde
editarConfiguracionCategoriaController.lblCoresAzul.value = Azul
editarConfiguracionCategoriaController.lblCoresBege.value = Bege
editarConfiguracionCategoriaController.lblCoresLilas.value = Lilás
editarConfiguracionCategoriaController.lblCoresMarrom.value = Marrom
editarConfiguracionCategoriaController.lblCoresRosa.value = Rosa
editarConfiguracionCategoriaController.lblCoresRoxo.value = Roxo
editarConfiguracionCategoriaController.lblIndnaopermitevdamesmodocviagem.value = Não permite a venda de várias passagens para o mesmo documento e idade no mesmo horário do percurso do Serviço editarConfiguracionCategoriaController.lblIndnaopermitevdamesmodocviagem.value = Não permite a venda de várias passagens para o mesmo documento e idade no mesmo horário do percurso do Serviço
editarConfiguracionCategoriaController.msg.modoFidelidadeNaoCinfigurado = Modulo de Fidelidade não configurado. Deve-se configurar o Módulo Fidelidade antes de vincular este Tipo de Categoria. editarConfiguracionCategoriaController.msg.modoFidelidadeNaoCinfigurado = Modulo de Fidelidade não configurado. Deve-se configurar o Módulo Fidelidade antes de vincular este Tipo de Categoria.
editarConfiguracionCategoriaController.lblIndnaoaplicatarifaminima.value = Não aplica Tarifa Mínima editarConfiguracionCategoriaController.lblIndnaoaplicatarifaminima.value = Não aplica Tarifa Mínima
@ -8888,6 +8894,21 @@ relatorioTrocoSimples.puntoVenta.label=Agência
relatorioTrocoSimples.bilheteiro.label=Bilheteiro relatorioTrocoSimples.bilheteiro.label=Bilheteiro
relatorioTrocoSimples.MSG.informarDatas=Favor informar Data Inicial e Data Final. relatorioTrocoSimples.MSG.informarDatas=Favor informar Data Inicial e Data Final.
indexController.mniTrocoSimples.mniRelatorioEstornoTrocoSimples.label= Relatório Estorno Troco Simples
relatorioEstornoTrocoSimples.window.title=Relatório Solicitação de Estorno Troco Simples
#Relatorio de Estorno Cartão
relatorioEstornoTrocoSimplesController.window.title = Relatório de Estorno de Saldo Troco Simples
relatorioEstornoTrocoSimplesController.datainicial.value = Data Inicial
relatorioEstornoTrocoSimplesController.dataFinal.value = Data Final
relatorioEstornoTrocoSimplesController.lbPuntoVenta.value = Agência
relatorioEstornoTrocoSimplesController.lbEmpresa.value = Empresa
relatorioEstornoTrocoSimplesController.btnPesquisa.label = Buscar
relatorioEstornoTrocoSimplesController.btnLimpar.label = Limpar
relatorioEstornoTrocoSimplesController.lbNumero.value = Número Agência
relatorioEstornoTrocoSimplesController.lbBilheteiro.value = Bilheteiro
relatorioEstornoTrocoSimplesController.lbCpf.value = CPF
#viewTestEmailController #viewTestEmailController
viewTestEmailController.window.title= Testar configurações da conta viewTestEmailController.window.title= Testar configurações da conta

View File

@ -0,0 +1,111 @@
<?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="winFiltroRelatorioEstornoTS"?>
<?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c"?>
<zk xmlns="http://www.zkoss.org/2005/zul">
<window id="winFiltroRelatorioEstornoTS"
apply="${relatorioEstornoTrocoSimplesController}"
contentStyle="overflow:auto" height="320px" width="550px"
border="normal">
<grid fixedLayout="true">
<columns>
<column width="25%" />
<column width="30%" />
<column width="15%" />
<column width="30%" />
</columns>
<rows>
<row>
<label
value="${c:l('relatorioEstornoTrocoSimplesController.datainicial.value')}" />
<datebox id="datInicial" format="dd/MM/yyyy"
width="90%" constraint="no empty"
maxlength="10" />
<label
value="${c:l('relatorioEstornoTrocoSimplesController.dataFinal.value')}" />
<datebox id="datFinal" format="dd/MM/yyyy"
width="90%" constraint="no empty"
maxlength="10" />
</row>
<row spans="1,3">
<label value="${c:l('relatorioEstornoTrocoSimplesController.lbCpf.value')}" />
<textbox id="txtCpf"
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"
width="300px" mold="rounded" />
</row>
<row spans="1,3">
<label
value="${c:l('relatorioEstornoTrocoSimplesController.lbEmpresa.value')}" />
<combobox id="cmbEmpresa"
buttonVisible="true"
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
model="@{winFiltroRelatorioEstornoTS$composer.lsEmpresa}"
width="100%"
constraint="no empty" />
</row>
<row spans="1,3">
<label
value="${c:l('relatorioEstornoTrocoSimplesController.lbPuntoVenta.value')}"/>
<bandbox id="bbPesquisaPuntoVenta" width="100%"
mold="rounded" readonly="true">
<bandpopup>
<vbox>
<hbox>
<label
value="${c:l('relatorioEstornoTrocoSimplesController.lbPuntoVenta.value')}" />
<textbox id="txtNombrePuntoVenta"
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"
width="300px" mold="rounded" />
<button id="btnPesquisa"
image="/gui/img/find.png"
label="${c:l('relatorioEstornoTrocoSimplesController.btnPesquisa.label')}" />
<button id="btnLimpar"
image="/gui/img/eraser.png"
label="${c:l('relatorioEstornoTrocoSimplesController.btnLimpar.label')}" />
</hbox>
<paging id="pagingPuntoVenta" pageSize="10" />
<listbox id="puntoVentaList"
mold="paging"
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
vflex="true" height="100%" width="700px">
<listhead>
<listheader
label="${c:l('relatorioEstornoTrocoSimplesController.lbPuntoVenta.value')}" />
<listheader width="35%"
label="${c:l('relatorioEstornoTrocoSimplesController.lbEmpresa.value')}" />
<listheader width="20%"
label="${c:l('relatorioEstornoTrocoSimplesController.lbNumero.value')}" />
</listhead>
</listbox>
</vbox>
</bandpopup>
</bandbox>
</row>
<row spans="4">
<listbox id="puntoVentaSelList" mold="paging"
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
vflex="true" height="100px" width="100%">
<listhead>
<listheader
label="${c:l('relatorioEstornoTrocoSimplesController.lbPuntoVenta.value')}" />
<listheader width="35%"
label="${c:l('relatorioEstornoTrocoSimplesController.lbEmpresa.value')}" />
<listheader width="20%"
label="${c:l('relatorioEstornoTrocoSimplesController.lbNumero.value')}" />
<listheader width="8%" />
</listhead>
</listbox>
<paging id="pagingSelPuntoVenta" pageSize="10" />
</row>
</rows>
</grid>
<toolbar>
<button id="btnExecutarRelatorio" image="/gui/img/find.png"
label="${c:l('relatorio.lb.btnExecutarRelatorio')}" />
</toolbar>
</window>
</zk>