fixes bug#AL-3972

master
wallace.henrique 2024-03-12 11:57:23 -03:00
parent a7e78d17f9
commit e06f20ceb2
8 changed files with 90 additions and 70 deletions

View File

@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>br.com.rjconsultores</groupId>
<artifactId>ventaboletosadm</artifactId>
<version>1.55.10</version>
<version>1.55.11</version>
<packaging>war</packaging>
<properties>

View File

@ -14,11 +14,9 @@ import java.util.HashMap;
import java.util.List;
import java.util.Map;
import com.rjconsultores.ventaboletos.entidad.Empresa;
import com.rjconsultores.ventaboletos.relatorios.utilitarios.ArrayDataSource;
import com.rjconsultores.ventaboletos.relatorios.utilitarios.Relatorio;
import com.rjconsultores.ventaboletos.relatorios.utilitarios.RelatorioBilhetesVendidosEstoqueAgenciaBean;
import com.rjconsultores.ventaboletos.relatorios.utilitarios.RelatorioIndiceIRKBean;
import com.rjconsultores.ventaboletos.utilerias.DateUtil;
import com.rjconsultores.ventaboletos.web.utilerias.NamedParameterStatement;
@ -35,6 +33,7 @@ public class RelatorioBilhetesVendidosEstoqueAgencia extends Relatorio {
super(parametros, conexao);
this.setCustomDataSource(new ArrayDataSource(this) {
@SuppressWarnings("unused")
@Override
public void initDados() throws Exception {
@ -44,12 +43,16 @@ public class RelatorioBilhetesVendidosEstoqueAgencia extends Relatorio {
Integer empresa = (Integer) parametros.get("EMPRESA_ID");
Date datainicial = (Date) parametros.get("DATA_INICIAL");
Date dataFinal = (Date) parametros.get("DATA_FINAL");
Integer aidfTipoId = (Integer) parametros.get("AIDFTIPO_ID");
NamedParameterStatement stmt = new NamedParameterStatement(conexao, sql(pnutoVentasIds));
NamedParameterStatement stmt = new NamedParameterStatement(conexao, sql(pnutoVentasIds, aidfTipoId));
stmt.setInt("EMPRESA_ID", empresa);
stmt.setString("dataInicio", DateUtil.getStringDate(datainicial, "dd/MM/yyyy") + " 00:00:00");
stmt.setString("dataFinal", DateUtil.getStringDate(dataFinal, "dd/MM/yyyy") + " 23:59:59");
if(aidfTipoId != null) {
stmt.setInt("aidfTipo",aidfTipoId);
}
ResultSet rset = stmt.executeQuery();
List<RelatorioBilhetesVendidosEstoqueAgenciaBean> lsTemp = new ArrayList<>();
@ -67,7 +70,7 @@ public class RelatorioBilhetesVendidosEstoqueAgencia extends Relatorio {
bean.setChave(rset.getString("chave"));
bean.setFolio(rset.getString("folio"));
bean.setNomeEmpresa(rset.getString("nomeEmpresa"));
bean.setTipoEvento("Incluir");
bean.setTipoEvento(rset.getString("tipoAidf"));
lsRelatorioBilhetesVendidosEstoqueAgenciaBean.add(bean);
this.dados.add(dataResult);
@ -114,7 +117,7 @@ public class RelatorioBilhetesVendidosEstoqueAgencia extends Relatorio {
return lsDadosRelatorio;
}
private String sql(String puntoVentasId) {
private String sql(String puntoVentasId, Integer aidfTipoId) {
StringBuilder sql = new StringBuilder();
@ -124,21 +127,22 @@ public class RelatorioBilhetesVendidosEstoqueAgencia extends Relatorio {
sql.append(" TB.puntoventaId, ");
sql.append(" TB.dataVenda as dataVenda, ");
sql.append(" TB.chave as chave, ");
sql.append(" TB.nomeEmpresa as nomeEmpresa , TB.folio as folio ");
sql.append(" TB.nomeEmpresa as nomeEmpresa , TB.folio as folio, TB.tipoAidf as tipoAidf ");
sql.append(" FROM (SELECT DAB.AIDF_ID AS aidfId, ");
sql.append(" pv.nombpuntoventa AS descpuntoVenta, ");
sql.append(" c.numseriepreimpresa AS SERIE, ");
sql.append(" c.puntoventa_id AS puntoventaId, ");
sql.append(" to_char(c.fechorventa, 'ddMMyyyy') AS dataVenda, ");
sql.append(" DAB.AIDF_ID || c.numseriepreimpresa || c.puntoventa_id || to_char(c.fechorventa, 'ddMMyyyy') AS chave, ");
sql.append(" em.nombEmpresa as nomeEmpresa , c.numfoliopreimpreso as folio ");
sql.append(" em.nombEmpresa as nomeEmpresa , c.numfoliopreimpreso as folio, AIT.DESCTIPO tipoAidf ");
sql.append(" FROM caja c, ");
sql.append(" PUNTO_VENTA PV, ");
sql.append(" EMPRESA EM, ");
sql.append(" AIDF AI, ");
sql.append(" AIDF_TIPO AIT, ");
sql.append(" AIDF AI, ");
sql.append(" ABASTO_BOLETO AB ");
sql.append(" LEFT JOIN DET_ABASTO_BOLETO DAB ON (AB.ABASTOBOLETO_ID = DAB.ABASTOBOLETO_ID) ");
sql.append(" WHERE fechorventa BETWEEN TO_DATE(:dataInicio,'dd/mm/yyyy hh24:mi:ss') AND TO_DATE(:dataFinal,'dd/mm/yyyy hh24:mi:ss') ");
sql.append(" WHERE fechorventa BETWEEN TO_DATE(:dataInicio,'dd/mm/yyyy hh24:mi:ss') AND TO_DATE(:dataFinal,'dd/mm/yyyy hh24:mi:ss') ");
sql.append(" AND TO_NUMBER(c.NUMFOLIOPREIMPRESO) BETWEEN TO_NUMBER(DAB.NUMFOLIOINICIAL) AND TO_NUMBER(DAB.NUMFOLIOFINAL) ");
sql.append(" AND c.PUNTOVENTA_ID = AB.PUNTOVENTA_ID ");
if (puntoVentasId != null && !puntoVentasId.equals("-1")) {
@ -147,12 +151,13 @@ public class RelatorioBilhetesVendidosEstoqueAgencia extends Relatorio {
sql.append(" AND EM.EMPRESA_ID = AB.EMPRESA_ID ");
sql.append(" AND c.PUNTOVENTA_ID = PV.PUNTOVENTA_ID ");
sql.append(" AND DAB.AIDF_ID = AI.AIDF_ID ");
sql.append(aidfTipoId != null ? " AND (AI.AIDFTIPO_ID =:aidfTipo AND AIT.AIDFTIPO_ID = AI.AIDFTIPO_ID) " : " AND AIT.AIDFTIPO_ID = AI.AIDFTIPO_ID ");
sql.append(" AND EM.EMPRESA_ID =:EMPRESA_ID ");
sql.append(" GROUP BY DAB.AIDF_ID,c.numseriepreimpresa, c.numfoliopreimpreso, ");
sql.append(" c.puntoventa_id, ");
sql.append(" to_char(c.fechorventa, 'ddMMyyyy'), ");
sql.append(" pv.nombpuntoventa, ");
sql.append(" em.nombEmpresa ");
sql.append(" em.nombEmpresa, AIT.DESCTIPO ");
sql.append(" ");
sql.append(" UNION ALL ");
sql.append(" SELECT DAB.AIDF_ID AS aidfId, ");
@ -161,31 +166,32 @@ public class RelatorioBilhetesVendidosEstoqueAgencia extends Relatorio {
sql.append(" c.puntoventa_id AS puntoventaId, ");
sql.append(" to_char(c.FECHORVTA, 'ddMMyyyy') AS dataVenda, ");
sql.append(" DAB.AIDF_ID || c.numseriepreimpresa || c.puntoventa_id || to_char(c.FECHORVTA, 'ddMMyyyy') AS chave, ");
sql.append(" em.nombEmpresa as nomeEmpresa , c.numfoliopreimpreso as folio ");
sql.append(" em.nombEmpresa as nomeEmpresa , c.numfoliopreimpreso as folio, AIT.DESCTIPO tipoAidf ");
sql.append(" FROM caja_diversos c, ");
sql.append(" PUNTO_VENTA PV, ");
sql.append(" EMPRESA EM, ");
sql.append(" AIDF AI, ");
sql.append(" AIDF_TIPO AIT, ");
sql.append(" ABASTO_BOLETO AB ");
sql.append(" LEFT JOIN DET_ABASTO_BOLETO DAB ON (AB.ABASTOBOLETO_ID = DAB.ABASTOBOLETO_ID) ");
sql.append(" WHERE FECHORVTA BETWEEN TO_DATE(:dataInicio,'dd/mm/yyyy hh24:mi:ss') AND TO_DATE(:dataFinal,'dd/mm/yyyy hh24:mi:ss') ");
sql.append(" WHERE FECHORVTA BETWEEN TO_DATE(:dataInicio,'dd/mm/yyyy hh24:mi:ss') AND TO_DATE(:dataFinal,'dd/mm/yyyy hh24:mi:ss') ");
sql.append(" AND TO_NUMBER(c.NUMFOLIOPREIMPRESO) BETWEEN TO_NUMBER(DAB.NUMFOLIOINICIAL) AND TO_NUMBER(DAB.NUMFOLIOFINAL) ");
sql.append(" AND c.PUNTOVENTA_ID = AB.PUNTOVENTA_ID ");
if (puntoVentasId != null && !puntoVentasId.equals("-1")) {
sql.append(" AND c.PUNTOVENTA_ID in (" + puntoVentasId + ") ");
sql.append(" AND c.PUNTOVENTA_ID in (" + puntoVentasId + ") ");
}
sql.append(" AND EM.EMPRESA_ID = AB.EMPRESA_ID ");
sql.append(" AND c.PUNTOVENTA_ID = PV.PUNTOVENTA_ID ");
sql.append(" AND DAB.AIDF_ID = AI.AIDF_ID ");
sql.append(aidfTipoId != null ? " AND (AI.AIDFTIPO_ID =:aidfTipo AND AIT.AIDFTIPO_ID = AI.AIDFTIPO_ID) " : " AND AIT.AIDFTIPO_ID = AI.AIDFTIPO_ID ");
sql.append(" AND EM.EMPRESA_ID =:EMPRESA_ID ");
sql.append(" GROUP BY DAB.AIDF_ID,c.numseriepreimpresa, c.numfoliopreimpreso, ");
sql.append(" c.puntoventa_id, ");
sql.append(" to_char(c.FECHORVTA, 'ddMMyyyy'), ");
sql.append(" pv.nombpuntoventa, ");
sql.append(" em.nombEmpresa ");
sql.append(" em.nombEmpresa, AIT.DESCTIPO ");
sql.append(" )TB ");
sql.append(" ORDER BY to_number(TB.FOLIO) ");
System.out.println(sql.toString());
sql.append(" ORDER BY to_number(TB.FOLIO) ");
return sql.toString();

View File

@ -1,8 +1,8 @@
<?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="RelatorioEstoque" pageWidth="842" pageHeight="595" orientation="Landscape" whenNoDataType="NoDataSection" columnWidth="802" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" resourceBundle="/ventaboletosadm/src/java/com/rjconsultores/ventaboletos/relatorios/internacionalizacao/RelatorioBilhetesVendidosEstoqueAgencia_pt_BR" uuid="c092ef85-9334-4225-93d7-1acb7cf4d021">
<property name="ireport.zoom" value="5.559917313492282"/>
<property name="ireport.x" value="659"/>
<property name="ireport.y" value="605"/>
<property name="ireport.zoom" value="8.140274938684056"/>
<property name="ireport.x" value="5181"/>
<property name="ireport.y" value="894"/>
<property name="net.sf.jasperreports.export.xls.exclude.origin.keep.first.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"/>
@ -109,11 +109,11 @@
<text><![CDATA[Sequência]]></text>
</staticText>
<staticText>
<reportElement x="728" y="16" width="74" height="15" uuid="fcf366c0-0f13-44f7-84de-38ae1122b647"/>
<reportElement x="687" y="16" width="115" height="17" uuid="fcf366c0-0f13-44f7-84de-38ae1122b647"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="10" isBold="true"/>
</textElement>
<text><![CDATA[Tipo]]></text>
<text><![CDATA[Tipo Aidf]]></text>
</staticText>
<staticText>
<reportElement x="1" y="16" width="119" height="18" uuid="6db7e341-bc01-4843-8be5-fe74d78b7529"/>
@ -123,28 +123,28 @@
<text><![CDATA[Empresa]]></text>
</staticText>
<staticText>
<reportElement x="596" y="15" width="55" height="18" uuid="ed0c0a45-151a-400e-a30c-fd8afa88438b"/>
<reportElement x="555" y="16" width="55" height="17" uuid="ed0c0a45-151a-400e-a30c-fd8afa88438b"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="10" isBold="true"/>
</textElement>
<text><![CDATA[AIDF]]></text>
</staticText>
<staticText>
<reportElement x="512" y="16" width="84" height="17" uuid="0bc3df3b-544b-4e68-ace9-f725d4541781"/>
<reportElement x="493" y="16" width="62" height="17" uuid="0bc3df3b-544b-4e68-ace9-f725d4541781"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="10" isBold="true"/>
</textElement>
<text><![CDATA[Série]]></text>
</staticText>
<staticText>
<reportElement x="651" y="15" width="77" height="18" uuid="8ad497bf-a305-41d2-a412-40dd3a7d6b88"/>
<reportElement x="610" y="16" width="77" height="17" uuid="8ad497bf-a305-41d2-a412-40dd3a7d6b88"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="10" isBold="true"/>
</textElement>
<text><![CDATA[Data Venda ]]></text>
</staticText>
<staticText>
<reportElement x="429" y="16" width="84" height="19" uuid="164350a6-53ea-4785-a787-6b3c40822954"/>
<reportElement x="429" y="16" width="64" height="19" uuid="164350a6-53ea-4785-a787-6b3c40822954"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="10" isBold="true"/>
</textElement>
@ -177,7 +177,7 @@
<textFieldExpression><![CDATA[$F{nomeEmpresa}]]></textFieldExpression>
</textField>
<textField pattern="">
<reportElement x="596" y="2" width="55" height="18" uuid="bfb9d635-bbc1-4e92-890a-df8299bc8daa"/>
<reportElement x="555" y="2" width="55" height="18" uuid="bfb9d635-bbc1-4e92-890a-df8299bc8daa"/>
<textElement textAlignment="Center">
<font size="8" isBold="false" isItalic="false"/>
</textElement>
@ -192,14 +192,14 @@
<textFieldExpression><![CDATA[$F{folioFinal}]]></textFieldExpression>
</textField>
<textField pattern="dd/MM/yyyy" isBlankWhenNull="true">
<reportElement x="651" y="2" width="77" height="18" uuid="efb76809-2760-4e07-abd7-182d252318a0"/>
<reportElement x="610" y="2" width="77" height="18" uuid="efb76809-2760-4e07-abd7-182d252318a0"/>
<textElement textAlignment="Center">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{fechorVenta}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="dd/MM/yyyy" isBlankWhenNull="true">
<reportElement mode="Transparent" x="512" y="2" width="84" height="18" forecolor="#000000" backcolor="#FFFFFF" uuid="29ae3fa8-9db1-46c8-bcf7-cb9aa7bc6eb3"/>
<reportElement mode="Transparent" x="493" y="2" width="62" height="18" forecolor="#000000" backcolor="#FFFFFF" uuid="29ae3fa8-9db1-46c8-bcf7-cb9aa7bc6eb3"/>
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="8" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
@ -221,14 +221,14 @@
<text><![CDATA[Até]]></text>
</staticText>
<textField>
<reportElement x="728" y="2" width="74" height="18" uuid="f1e52aa0-f61d-4c94-bb09-e51cde37f2cc"/>
<reportElement x="687" y="2" width="115" height="18" uuid="f1e52aa0-f61d-4c94-bb09-e51cde37f2cc"/>
<textElement textAlignment="Center">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{tipoEvento}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
<reportElement mode="Transparent" x="429" y="2" width="83" height="18" forecolor="#000000" backcolor="#FFFFFF" uuid="2a361dcb-ad7c-45c9-8a1d-f02a7a00ff6c"/>
<reportElement mode="Transparent" x="429" y="2" width="64" height="18" forecolor="#000000" backcolor="#FFFFFF" uuid="2a361dcb-ad7c-45c9-8a1d-f02a7a00ff6c"/>
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="8" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>

View File

@ -23,6 +23,7 @@ import org.zkoss.zul.Datebox;
import org.zkoss.zul.Paging;
import org.zkoss.zul.Radiogroup;
import com.rjconsultores.ventaboletos.entidad.AidfTipo;
import com.rjconsultores.ventaboletos.entidad.Empresa;
import com.rjconsultores.ventaboletos.entidad.Estado;
import com.rjconsultores.ventaboletos.entidad.Moneda;
@ -32,6 +33,7 @@ import com.rjconsultores.ventaboletos.relatorios.impl.RelatorioBilhetesVendidos;
import com.rjconsultores.ventaboletos.relatorios.impl.RelatorioBilhetesVendidosEstoqueAgencia;
import com.rjconsultores.ventaboletos.relatorios.impl.RelatorioBilhetesVendidosNovoLayout;
import com.rjconsultores.ventaboletos.relatorios.utilitarios.Relatorio;
import com.rjconsultores.ventaboletos.service.AidfService;
import com.rjconsultores.ventaboletos.service.EmpresaService;
import com.rjconsultores.ventaboletos.service.EstadoService;
import com.rjconsultores.ventaboletos.utilerias.UsuarioLogado;
@ -59,7 +61,6 @@ public class RelatorioBilhetesVendidosEstoqueAgenciaController extends MyGeneric
private Datebox datInicial;
private Datebox datFinal;
private MyComboboxEstandar cmbEmpresa;
private Combobox cmbMoeda;
private List<Empresa> lsEmpresa;
private List<Estado> lsEstado;
@Autowired
@ -69,6 +70,11 @@ public class RelatorioBilhetesVendidosEstoqueAgenciaController extends MyGeneric
private MyListbox puntoVentaList;
private MyListbox puntoVentaSelList;
private Paging pagingPuntoVenta;
private Combobox cmbAidfTipo;
private List<AidfTipo> lsAidfTipo;
@Autowired
private AidfService aidfService;
@Override
@ -77,24 +83,10 @@ public class RelatorioBilhetesVendidosEstoqueAgenciaController extends MyGeneric
super.doAfterCompose(comp);
puntoVentaList.setItemRenderer(new RenderRelatorioVendasBilheteiro());
puntoVentaSelList.setItemRenderer(new RenderRelatorioVendasBilheteiroSelecionados());
lsAidfTipo = aidfService.obtenerTodosAdifTipo();
}
public List<Empresa> getLsEmpresa() {
return lsEmpresa;
}
public void setLsEmpresa(List<Empresa> lsEmpresa) {
this.lsEmpresa = lsEmpresa;
}
public List<Estado> getLsEstado() {
return lsEstado;
}
public void setLsEstado(List<Estado> lsEstado) {
this.lsEstado = lsEstado;
}
private void executarPesquisaAgencia() {
HibernateSearchObject<PuntoVenta> puntoVentaBusqueda = new HibernateSearchObject<>(PuntoVenta.class, pagingPuntoVenta.getPageSize());
@ -199,6 +191,14 @@ public class RelatorioBilhetesVendidosEstoqueAgenciaController extends MyGeneric
} else {
filtro.append(" Todas;");
}
Comboitem cmbItem = cmbAidfTipo.getSelectedItem();
if (cmbItem != null) {
AidfTipo aidfTipo = (AidfTipo) cmbItem.getValue();
parametros.put("AIDFTIPO_ID", aidfTipo.getAidftipoId());
filtro.append(aidfTipo.getDesctipo() + ";");
} else {
filtro.append(" Todas; ");
}
relatorio = new RelatorioBilhetesVendidosEstoqueAgencia(parametros, dataSourceRead.getConnection());
parametros.put("FILTROS", filtro.toString());
@ -209,5 +209,29 @@ public class RelatorioBilhetesVendidosEstoqueAgenciaController extends MyGeneric
openWindow("/component/reportView.zul", Labels.getLabel("relatorioBilhetesVendidosController.window.title"), args, MODAL);
}
public List<AidfTipo> getLsAidfTipo() {
return lsAidfTipo;
}
public void setLsAidfTipo(List<AidfTipo> lsAidfTipo) {
this.lsAidfTipo = lsAidfTipo;
}
public List<Empresa> getLsEmpresa() {
return lsEmpresa;
}
public void setLsEmpresa(List<Empresa> lsEmpresa) {
this.lsEmpresa = lsEmpresa;
}
public List<Estado> getLsEstado() {
return lsEstado;
}
public void setLsEstado(List<Estado> lsEstado) {
this.lsEstado = lsEstado;
}
}

View File

@ -598,7 +598,7 @@ relatorioBilhetesVendidosController.marcado.label = Marcado
relatorioBilhetesVendidosController.categoria.label = Categoria
# Relatório Bilhetes Vendidos Estoque Agencia
relatorioBilhetesVendidosEstoqueAgenciaController.window.title = Bilhetes Vendidos Estoque Agência
relatorioBilhetesVendidosEstoqueAgenciaController.window.title = Relatório Consumo de Estoque
relatorioBilhetesVendidosEstoqueAgenciaController.lbDatInicial.value = Data Inicial
relatorioBilhetesVendidosEstoqueAgenciaController.lbDatFinal.value = Data Final
relatorioBilhetesVendidosEstoqueAgenciaController.lbDatFinal.value = Data Final

View File

@ -361,7 +361,7 @@ indexController.mniRelatorioPassagensAGER.label = Relatório Passagens AGER
indexController.mniRelatorioGratuidadeAGEPAN.label = Gratuidades AGEPAN
indexController.mniRelatorioOperacionalFinanceiro.label = Relatório Operacional Financeiro
indexController.mniRelatorioBilhetesVendidos.label = Bilhetes Vendidos
indexController.mniRelatorioBilhetesVendidosEstoqueAgencia.label = Bilhetes Vendidos Estoque Agencia
indexController.mniRelatorioBilhetesVendidosEstoqueAgencia.label = Relatório Consumo de Estoque
indexController.mniRelatorioGratuidadeIdosoDeficiente.label = Gratuidades Idoso/Deficiente
indexController.mniRelatorioAproveitamentoFinanceiro.label = Aproveitamento Financeiro
indexController.mniRelatorioVendasBilheteiro.label = Vendas por Bilheteiro
@ -8439,7 +8439,7 @@ relatorioBilhetesVendidosController.marcado.label = Marcado
relatorioBilhetesVendidosController.categoria.label = Categoria
# Relatório Bilhetes Vendidos Estoque Agencia
relatorioBilhetesVendidosEstoqueAgenciaController.window.title = Bilhetes Vendidos Estoque Agência
relatorioBilhetesVendidosEstoqueAgenciaController.window.title = Relatório Consumo de Estoque
relatorioBilhetesVendidosEstoqueAgenciaController.lbDatInicial.value = Data Inicial
relatorioBilhetesVendidosEstoqueAgenciaController.lbDatFinal.value = Data Final
relatorioBilhetesVendidosEstoqueAgenciaController.lbDatFinal.value = Data Final

View File

@ -6,7 +6,7 @@
<zk xmlns="http://www.zkoss.org/2005/zul">
<window id="winFiltroRelatorioBilhetesVendidosEstoqueAgencia"
apply="${relatorioBilhetesVendidosEstoqueAgenciaController}"
contentStyle="overflow:auto" height="300px" width="550px"
contentStyle="overflow:auto" height="330px" width="550px"
border="normal">
<grid fixedLayout="true">
@ -99,27 +99,17 @@
</listbox>
<paging id="pagingSelPuntoVenta" pageSize="10" />
</row>
<row spans="1,3">
<label
value="${c:l('relatorioAidfDetalhadoController.aidfTipo.label')}" />
<combobox id="cmbAidfTipo"
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
mold="rounded" buttonVisible="true"
width="100%" model="@{winFiltroRelatorioBilhetesVendidosEstoqueAgencia$composer.lsAidfTipo}"/>
</row>
</rows>
</grid>
<grid fixedLayout="true">
<columns>
<column width="30%" />
<column width="30%" />
<column width="30%" />
</columns>
</grid>
<grid fixedLayout="true">
<columns>
<column width="20%" />
<column width="30%" />
<column width="20%" />
<column width="30%" />
</columns>
<rows>
</rows>
</grid>
<toolbar>
<button id="btnExecutarRelatorio" image="/gui/img/find.png"
label="${c:l('relatorio.lb.btnExecutarRelatorio')}" />