walace 2017-08-23 13:08:42 +00:00
parent e22eaa5b7b
commit 6d919f8674
9 changed files with 596 additions and 0 deletions

View File

@ -0,0 +1,105 @@
package com.rjconsultores.ventaboletos.relatorios.impl;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.Map;
import com.rjconsultores.ventaboletos.entidad.Empresa;
import com.rjconsultores.ventaboletos.relatorios.utilitarios.DataSource;
import com.rjconsultores.ventaboletos.relatorios.utilitarios.Relatorio;
import com.rjconsultores.ventaboletos.relatorios.utilitarios.RelatorioServicoBloqueadoVendaInternetBean;
import com.rjconsultores.ventaboletos.web.utilerias.NamedParameterStatement;
import net.sf.jasperreports.engine.data.JRBeanCollectionDataSource;
public class RelatorioServicoBloqueadoVendaInternet extends Relatorio {
public RelatorioServicoBloqueadoVendaInternet(Map<String, Object> parametros, Connection conexao) {
super(parametros, conexao);
}
private List<RelatorioServicoBloqueadoVendaInternetBean> lsDadosRelatorio;
@Override
protected void processaParametros() throws Exception {
this.setCustomDataSource(new DataSource(this) {
@Override
public void initDados() throws Exception {
Connection conexao = this.relatorio.getConexao();
Map<String, Object> parametros = this.relatorio.getParametros();
Empresa empresa = (Empresa) parametros.get("EMPRESA");
String sql = getSql(empresa);
NamedParameterStatement stmt = new NamedParameterStatement(conexao, sql);
stmt.setTimestamp("DATA_INICIAL", (Timestamp) parametros.get("DATA_INICIAL"));
stmt.setTimestamp("DATA_FINAL", (Timestamp) parametros.get("DATA_FINAL"));
ResultSet rset = null;
rset = stmt.executeQuery();
lsDadosRelatorio = new ArrayList<RelatorioServicoBloqueadoVendaInternetBean>();
while (rset.next()) {
RelatorioServicoBloqueadoVendaInternetBean bean = new RelatorioServicoBloqueadoVendaInternetBean();
bean.setCodOrigem((Integer) Integer.parseInt(rset.getObject("codOrigem").toString()));
bean.setCodDestino((Integer) Integer.parseInt(rset.getObject("codDestino").toString()));
bean.setDescOrigem((String) rset.getObject("descOrigem"));
bean.setDescDestino((String) rset.getObject("descDestino"));
bean.setServico((String) rset.getObject("servico").toString());
bean.setHoraViagem((String) rset.getObject("horaViagem"));
bean.setDataServico((Date) rset.getObject("dataServico"));
lsDadosRelatorio.add(bean);
}
if (lsDadosRelatorio.size() > 0) {
setLsDadosRelatorio(lsDadosRelatorio);
}
}
});
}
public void setLsDadosRelatorio(List<RelatorioServicoBloqueadoVendaInternetBean> lsDadosRelatorio) {
this.setCollectionDataSource(new JRBeanCollectionDataSource(lsDadosRelatorio));
this.lsDadosRelatorio = lsDadosRelatorio;
}
private String getSql(Empresa empresa) {
StringBuilder sql = new StringBuilder();
sql.append("SELECT C.CORRIDA_ID AS servico, ");
sql.append(" CRC.ORIGEN_ID AS codOrigem, ");
sql.append(" CRC.DESTINO_ID AS codDestino, ");
sql.append(" PO.DESCPARADA AS descOrigem, ");
sql.append(" PD.DESCPARADA AS descDestino, ");
sql.append(" TO_DATE(C.FECCORRIDA,'dd/MM/yy') AS dataServico, ");
sql.append(" TO_CHAR(C.FECHORSALIDA, 'HH24:MI:SS') AS horaViagem ");
sql.append("FROM CONF_RESTRICAO_CANALVENTA CRC ");
sql.append("INNER JOIN PARADA PO ON PO.PARADA_ID = CRC.ORIGEN_ID ");
sql.append("INNER JOIN PARADA PD ON PD.PARADA_ID = CRC.DESTINO_ID ");
sql.append("INNER JOIN CORRIDA C ON CRC.CORRIDA_ID = C.CORRIDA_ID ");
sql.append("WHERE CRC.CORRIDA_ID = 2520283 ");
sql.append(" AND CRC.TIPOPTOVTA_ID = 2 ");
sql.append("AND C.FECCORRIDA BETWEEN :DATA_INICIAL AND :DATA_FINAL ");
sql.append("AND CRC.EMPRESA_ID =" + empresa.getEmpresaId() + " ");
sql.append("AND C.ACTIVO = 1 ");
return sql.toString();
}
}

View File

@ -0,0 +1,23 @@
#geral
msg.noData=Não foi possivel obter dados com os parâmetros informados.
#Labels cabeçalho
cabecalho.nome=Relatório Servicos Bloqueados na Venda Internet
cabecalho.relatorio=Relatório:
cabecalho.periodo=Período:
cabecalho.periodoA=à
cabecalho.dataHora=Data/Hora:
cabecalho.impressorPor=Impressor por:
cabecalho.pagina=Página
cabecalho.de=de
cabecalho.filtros=Filtros:
cabecalho.puntoventa=Agência:
cabecalho.usuario=Usuário:
label.servico=Serviço
label.horaViagem=Hora da Viagem
label.dataServico=Data Serviço
label.dataEmbarque=Data Embarque
label.bilhete=Bilhete
label.dataEmissao=Data Emissão
label.origem= Origem
label.destino=Destino
label.empresa=Empresa:

View File

@ -0,0 +1,26 @@
#geral
msg.noData=Não foi possivel obter dados com os parâmetros informados.
#Labels cabeçalho
cabecalho.nome=Relatório Servicos Bloqueados na Venda Internet
cabecalho.relatorio=Relatório:
cabecalho.periodo=Período:
cabecalho.periodoA=à
cabecalho.dataHora=Data/Hora:
cabecalho.impressorPor=Impressor por:
cabecalho.pagina=Página
cabecalho.de=de
cabecalho.filtros=Filtros:
cabecalho.puntoventa=Agência:
cabecalho.usuario=Usuário:
label.servico=Serviço
label.horaViagem=Hora da Viagem
label.dataServico=Data Serviço
label.dataEmbarque=Data Embarque
label.bilhete=Bilhete
label.dataEmissao=Data Emissão
label.origem= Origem
label.destino=Destino
label.empresa=Empresa:
label.dataInicial=Data Final:
label.dataFinal=Data Final:

View File

@ -0,0 +1,209 @@
<?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="Relatorio Servicos Bloqueados na Venda Internet" pageWidth="842" pageHeight="595" orientation="Landscape" whenNoDataType="NoDataSection" columnWidth="802" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="6d46a2d2-555e-4b7f-944f-b25c672e5feb">
<property name="ireport.zoom" value="1.3636363636363658"/>
<property name="ireport.x" value="135"/>
<property name="ireport.y" value="0"/>
<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="horaViagem" class="java.lang.String"/>
<parameter name="NOME_EMPRESA" class="java.lang.String"/>
<field name="servico" class="java.lang.String"/>
<field name="dataServico" class="java.util.Date"/>
<field name="horaViagem" class="java.lang.String"/>
<field name="codOrigem" class="java.lang.Integer"/>
<field name="codDestino" class="java.lang.Integer"/>
<field name="descOrigem" class="java.lang.String"/>
<field name="descDestino" class="java.lang.String"/>
<background>
<band splitType="Stretch"/>
</background>
<title>
<band height="37">
<textField>
<reportElement x="168" y="0" width="491" height="27" uuid="766b74e4-28c9-4045-8538-343a8bc8e665"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="18" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$R{cabecalho.nome}]]></textFieldExpression>
</textField>
</band>
</title>
<pageHeader>
<band height="103">
<textField>
<reportElement x="119" y="26" width="69" height="22" uuid="c52ee81b-b6a0-44cd-b0e0-c61177419f22"/>
<textElement>
<font size="10" isBold="false" pdfFontName="Helvetica-Bold"/>
</textElement>
<textFieldExpression><![CDATA[$R{label.dataFinal}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="3" y="26" width="54" height="22" uuid="1ffb28ce-353b-45c6-95a3-ba5c40faa4b5"/>
<textElement>
<font size="10" isBold="false" pdfFontName="Helvetica-Bold"/>
</textElement>
<textFieldExpression><![CDATA[$R{label.dataInicial}]]></textFieldExpression>
</textField>
<textField pattern="dd/MM/yyyy">
<reportElement x="188" y="26" width="60" height="22" isPrintWhenDetailOverflows="true" uuid="74a3108b-f2bf-4a05-8a0e-ef3bc6e23e78"/>
<textElement>
<font size="10" isBold="false"/>
</textElement>
<textFieldExpression><![CDATA[$P{DATA_FINAL}]]></textFieldExpression>
</textField>
<textField pattern="dd/MM/yyyy">
<reportElement x="57" y="26" width="62" height="22" isPrintWhenDetailOverflows="true" uuid="145289a7-0f0a-4aa0-aab7-2bad8b44292e"/>
<textElement>
<font size="10" isBold="false"/>
</textElement>
<textFieldExpression><![CDATA[$P{DATA_INICIAL}]]></textFieldExpression>
</textField>
<textField pattern="" isBlankWhenNull="false">
<reportElement mode="Transparent" x="448" y="4" width="102" height="15" forecolor="#000000" backcolor="#FFFFFF" uuid="8857ff4c-243b-4073-9466-98722a23eccf"/>
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="10" 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>
<reportElement x="598" y="4" width="118" height="15" uuid="d095c344-00e0-4532-8035-8b93ef192a56"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font size="10" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$R{cabecalho.dataHora}]]></textFieldExpression>
</textField>
<textField evaluationTime="Report" pattern="" isBlankWhenNull="false">
<reportElement mode="Transparent" x="551" y="4" width="14" height="15" forecolor="#000000" backcolor="#FFFFFF" uuid="17bc8d21-5221-4757-ade1-9b3d1b4c10ce"/>
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="10" 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="dd/MM/yyyy HH:mm" isBlankWhenNull="false">
<reportElement mode="Transparent" x="705" y="3" width="95" height="16" forecolor="#000000" backcolor="#FFFFFF" uuid="b8a08223-0a24-43a7-8ebe-17a3db2d83fe"/>
<textElement textAlignment="Right" verticalAlignment="Middle" rotation="None" markup="none">
<font fontName="SansSerif" size="10" 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>
<reportElement x="131" y="75" width="91" height="22" uuid="5ca41d0b-aa54-4f0f-b4ac-f5de3881eaa4"/>
<textElement textAlignment="Center">
<font size="10" isBold="false" pdfFontName="Helvetica-Bold"/>
</textElement>
<textFieldExpression><![CDATA[$R{label.servico}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="222" y="75" width="66" height="22" uuid="83ccf240-175f-46f7-bfb5-6209fe2f6214"/>
<textElement textAlignment="Center">
<font size="10" isBold="false" pdfFontName="Helvetica-Bold"/>
</textElement>
<textFieldExpression><![CDATA[$R{label.dataServico}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="288" y="75" width="126" height="22" uuid="d0421665-ee3e-4015-9d33-e3e28254a6cb"/>
<textElement textAlignment="Center">
<font size="10" isBold="false" pdfFontName="Helvetica-Bold"/>
</textElement>
<textFieldExpression><![CDATA[$R{label.origem}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="414" y="75" width="130" height="22" uuid="e00e15cd-3482-4bb8-976c-4d2711110f08"/>
<textElement textAlignment="Center">
<font size="10" isBold="false" pdfFontName="Helvetica-Bold"/>
</textElement>
<textFieldExpression><![CDATA[$R{label.destino}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="544" y="75" width="89" height="22" uuid="99a3790e-50cb-47a2-8166-79cec81a8272"/>
<textElement textAlignment="Center">
<font size="10" isBold="false" pdfFontName="Helvetica-Bold"/>
</textElement>
<textFieldExpression><![CDATA[$R{label.horaViagem}]]></textFieldExpression>
</textField>
<line>
<reportElement x="0" y="72" width="800" height="1" uuid="2ba492a3-f930-4e5b-8cbe-283a588e4174"/>
</line>
<textField>
<reportElement x="3" y="48" width="54" height="21" uuid="8a0a6894-bd2e-40ea-8e65-e0f84921fdba"/>
<textElement>
<font size="10" isBold="false" pdfFontName="Helvetica-Bold"/>
</textElement>
<textFieldExpression><![CDATA[$R{label.empresa}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="57" y="49" width="191" height="20" uuid="c87a8f24-42a9-4497-816b-cd9586d9dc2d"/>
<textFieldExpression><![CDATA[$P{NOME_EMPRESA}]]></textFieldExpression>
</textField>
</band>
</pageHeader>
<columnHeader>
<band/>
</columnHeader>
<detail>
<band height="17" splitType="Stretch">
<textField>
<reportElement x="131" y="1" width="91" height="15" uuid="3e9ff3ce-cb92-400c-9cba-f2c4b1644c00"/>
<textElement textAlignment="Center"/>
<textFieldExpression><![CDATA[$F{servico}]]></textFieldExpression>
</textField>
<textField pattern="dd/MM/yyyy">
<reportElement x="222" y="1" width="66" height="15" uuid="20d583e2-c8a6-49eb-b19b-b620eefcedcb"/>
<textElement textAlignment="Center"/>
<textFieldExpression><![CDATA[$F{dataServico}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="322" y="1" width="78" height="15" uuid="dc1acca2-de87-48e6-a1ef-e7d894acabc9"/>
<textElement textAlignment="Center"/>
<textFieldExpression><![CDATA[$F{descOrigem}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="460" y="0" width="84" height="15" uuid="702ba5cc-0045-4fa7-9eee-e7edf4d13a1c"/>
<textElement textAlignment="Center"/>
<textFieldExpression><![CDATA[$F{descDestino}]]></textFieldExpression>
</textField>
<textField pattern="">
<reportElement x="288" y="1" width="34" height="15" uuid="7b07000b-4944-4112-94b7-0db7dc24b505"/>
<textElement textAlignment="Center"/>
<textFieldExpression><![CDATA[$F{codOrigem}]]></textFieldExpression>
</textField>
<line>
<reportElement x="0" y="-2" width="800" height="1" uuid="f0ef7b01-fdea-4272-9f9d-cd1800f4169c"/>
</line>
<textField pattern="">
<reportElement x="414" y="1" width="46" height="14" uuid="bd027030-4840-4623-890d-84c539e7c592"/>
<textElement textAlignment="Center"/>
<textFieldExpression><![CDATA[$F{codDestino}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="544" y="0" width="89" height="15" uuid="01a90f99-19d1-4cea-82fa-aa5f7fe9423b"/>
<textElement textAlignment="Center"/>
<textFieldExpression><![CDATA[$F{horaViagem}]]></textFieldExpression>
</textField>
</band>
</detail>
<columnFooter>
<band splitType="Stretch"/>
</columnFooter>
<pageFooter>
<band height="32" splitType="Stretch"/>
</pageFooter>
<summary>
<band height="39" splitType="Stretch"/>
</summary>
<noData>
<band height="25">
<textField>
<reportElement x="0" y="0" width="802" height="25" uuid="8971a82a-4eed-47d8-a07a-da902b442824"/>
<textElement textAlignment="Center" markup="none">
<font size="12" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$R{msg.noData}]]></textFieldExpression>
</textField>
</band>
</noData>
</jasperReport>

View File

@ -0,0 +1,72 @@
package com.rjconsultores.ventaboletos.relatorios.utilitarios;
import java.math.BigDecimal;
import java.util.Date;
public class RelatorioServicoBloqueadoVendaInternetBean {
private String servico;
private Integer codOrigem;
private Integer codDestino;
private String descOrigem;
private String descDestino;
private String horaViagem;
private Date dataServico;
public String getServico() {
return servico;
}
public void setServico(String servico) {
this.servico = servico;
}
public Integer getCodOrigem() {
return codOrigem;
}
public void setCodOrigem(Integer codOrigem) {
this.codOrigem = codOrigem;
}
public Integer getCodDestino() {
return codDestino;
}
public void setCodDestino(Integer codDestino) {
this.codDestino = codDestino;
}
public String getDescOrigem() {
return descOrigem;
}
public void setDescOrigem(String descOrigem) {
this.descOrigem = descOrigem;
}
public String getDescDestino() {
return descDestino;
}
public void setDescDestino(String descDestino) {
this.descDestino = descDestino;
}
public String getHoraViagem() {
return horaViagem;
}
public void setHoraViagem(String horaViagem) {
this.horaViagem = horaViagem;
}
public Date getDataServico() {
return dataServico;
}
public void setDataServico(Date dataServico) {
this.dataServico = dataServico;
}
}

View File

@ -0,0 +1,90 @@
package com.rjconsultores.ventaboletos.web.gui.controladores.relatorios;
import java.sql.Timestamp;
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.zk.ui.Component;
import org.zkoss.zk.ui.event.Event;
import org.zkoss.zul.Datebox;
import com.rjconsultores.ventaboletos.entidad.Empresa;
import com.rjconsultores.ventaboletos.relatorios.impl.RelatorioServicoBloqueadoVendaInternet;
import com.rjconsultores.ventaboletos.relatorios.impl.RelatorioVendasPTA;
import com.rjconsultores.ventaboletos.relatorios.utilitarios.Relatorio;
import com.rjconsultores.ventaboletos.service.EmpresaService;
import com.rjconsultores.ventaboletos.utilerias.DateUtil;
import com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar;
import com.rjconsultores.ventaboletos.web.utilerias.MyGenericForwardComposer;
@Controller("relatorioServicoBloqueadoVendaInternetController")
@Scope("prototype")
public class RelatorioServicoBloqueadoVendaInternetController extends MyGenericForwardComposer {
/**
*
*/
private static final long serialVersionUID = 1L;
@Autowired
private EmpresaService empresaService;
private List<Empresa> lsEmpresa;
private MyComboboxEstandar cmbEmpresa;
private Datebox datInicial;
private Datebox datFinal;
@Autowired
private DataSource dataSourceRead;
@Override
public void doAfterCompose(Component comp) throws Exception {
super.doAfterCompose(comp);
lsEmpresa = empresaService.obtenerTodos();
}
@SuppressWarnings({ "rawtypes", "unchecked" })
private void executarRelatorio() throws Exception {
Relatorio relatorio;
Map<String, Object> parametros = new HashMap<String, Object>();
Timestamp dataInicio = new Timestamp((DateUtil.inicioFecha((java.util.Date) this.datInicial.getValue()).getTime()));
Timestamp dataFinal = new Timestamp((DateUtil.fimFecha((java.util.Date) this.datFinal.getValue()).getTime()));
parametros.put("DATA_INICIAL", dataInicio);
parametros.put("DATA_FINAL", dataFinal);
Empresa empresa = (Empresa) cmbEmpresa.getSelectedItem().getValue();
parametros.put("EMPRESA", empresa);
parametros.put("NOME_EMPRESA", empresa.getNombempresa());
parametros.put("TITULO", Labels.getLabel("relatorioServicoBloqueadoVendaInternetController.window.title"));
relatorio = new RelatorioServicoBloqueadoVendaInternet(parametros, dataSourceRead.getConnection());
Map args = new HashMap();
args.put("relatorio", relatorio);
openWindow("/component/reportView.zul",
Labels.getLabel("relatorioServicoBloqueadoVendaInternetController.window.title"), args, MODAL);
}
public void onClick$btnExecutarRelatorio(Event ev) throws Exception {
executarRelatorio();
}
public List<Empresa> getLsEmpresa() {
return lsEmpresa;
}
public void setLsEmpresa(List<Empresa> lsEmpresa) {
this.lsEmpresa = lsEmpresa;
}
}

View File

@ -0,0 +1,25 @@
package com.rjconsultores.ventaboletos.web.utilerias.menu.item.relatorios;
import org.zkoss.util.resource.Labels;
import com.rjconsultores.ventaboletos.web.utilerias.PantallaUtileria;
import com.rjconsultores.ventaboletos.web.utilerias.menu.DefaultItemMenuSistema;
public class ItemMenuRelatorioServicoBloqueadoVendaInternet extends DefaultItemMenuSistema {
public ItemMenuRelatorioServicoBloqueadoVendaInternet() {
super("indexController.mniRelatorioServicoBloqueadoVendaInternet.label");
}
@Override
public String getClaveMenu() {
return "COM.RJCONSULTORES.ADMINISTRACION.GUI.RELATORIOS.MENU.RELATORIOSERVICOBLOQUEADOVENDAINTERNET";
}
@Override
public void ejecutar() {
PantallaUtileria.openWindow("/gui/relatorios/filtroRelatorioServicoBloqueadoVendaInternet.zul",
Labels.getLabel("relatorioServicoBloqueadoVendaInternetController.window.title"), getArgs(), desktop);
}
}

View File

@ -0,0 +1,46 @@
<?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="winRelatorioServicoBloqueadoVendaInternet"?>
<?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c"?>
<zk xmlns="http://www.zkoss.org/2005/zul">
<window id="winRelatorioServicoBloqueadoVendaInternet"
apply="${relatorioServicoBloqueadoVendaInternetController}"
contentStyle="overflow:auto" height="124px" width="550px"
border="normal">
<grid fixedLayout="true">
<columns>
<column width="20%" />
<column width="30%" />
<column width="20%" />
<column width="30%" />
</columns>
<rows>
<row>
<label
value="${c:l('relatorioServicoBloqueadoVendaInternetController.lbDatInicial.value')}" />
<datebox id="datInicial" width="90%"
format="dd/MM/yyyy" constraint="no empty" maxlength="10" />
<label
value="${c:l('relatorioServicoBloqueadoVendaInternetController.lbDatFinal.value')}" />
<datebox id="datFinal" width="90%"
format="dd/MM/yyyy" constraint="no empty" maxlength="10" />
</row>
<row>
<label
value="${c:l('relatorioServicoBloqueadoVendaInternetController.lbEmpresa.value')}" />
<combobox id="cmbEmpresa" buttonVisible="true"
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
model="@{winRelatorioServicoBloqueadoVendaInternet$composer.lsEmpresa}" width="100%" />
</row>
</rows>
</grid>
<toolbar>
<button id="btnExecutarRelatorio" image="/gui/img/find.png"
label="${c:l('relatorio.lb.btnExecutarRelatorio')}" />
</toolbar>
</window>
</zk>