<?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="winFiltroRelatorioVendasComissao"?>
<?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c"?>

<zk xmlns="http://www.zkoss.org/2005/zul">
	<window id="winFiltroRelatorioVendasComissao"
		apply="${relatorioVendasComissaoController}"
		contentStyle="overflow:auto" width="700px" 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('relatorioVendasComissaoController.lbDataIni.value')}" />
					<datebox id="dataInicial" width="100%" mold="rounded"
						format="dd/MM/yyyy"  constraint="no empty"
						maxlength="10" />
					<label
						value="${c:l('relatorioVendasComissaoController.lbDataFin.value')}" />
					<datebox id="dataFinal" width="100%" mold="rounded"
						format="dd/MM/yyyy"  constraint="no empty"
						maxlength="10" />
				</row>
				<row>
					<label
						value="${c:l('relatorioVendasComissaoController.lbEmpresa.value')}" />
					<combobox id="cmbEmpresa" 
						buttonVisible="true" 
						use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
						model="@{winFiltroRelatorioVendasComissao$composer.lsEmpresa}"
						mold="rounded"
						width="95%" />
					<label
						value="${c:l('relatorioCancelamentoVendaCartaoController.lbPuntoVenta.value')}"/>
					<bandbox id="bbPesquisaPuntoVenta" width="100%"
						mold="rounded" readonly="true">
						<bandpopup>
							<vbox>
								<hbox>
									<label
										value="${c:l('relatorioCancelamentoVendaCartaoController.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('relatorioCancelamentoVendaCartaoController.btnPesquisa.label')}" />
									<button id="btnLimpar"
										image="/gui/img/eraser.png"
										label="${c:l('relatorioCancelamentoVendaCartaoController.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('relatorioCancelamentoVendaCartaoController.lbPuntoVenta.value')}" />
										<listheader width="35%"
											label="${c:l('relatorioCancelamentoVendaCartaoController.lbEmpresa.value')}" />
										<listheader width="20%"
											label="${c:l('relatorioCancelamentoVendaCartaoController.lbNumero.value')}" />
									</listhead>
								</listbox>
							</vbox>
						</bandpopup>
					</bandbox>
				</row>
				
				<row>
					<label
						value="${c:l('relatorioVendasComissaoController.lbExibirApenasCancelamentos')}" />
					<checkbox id="chkApenasCancelados" checked="false" />
					<cell colspan="2">
						<listbox id="puntoVentaSelList" mold="paging"
							use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
							vflex="true" height="100px" width="100%">
							<listhead>
								<listheader
									label="${c:l('relatorioCancelamentoVendaCartaoController.lbPuntoVenta.value')}" />
								<listheader width="35%"
									label="${c:l('relatorioCancelamentoVendaCartaoController.lbEmpresa.value')}" />
								<listheader width="20%"
									label="${c:l('relatorioCancelamentoVendaCartaoController.lbNumero.value')}" />
								<listheader width="8%" />
							</listhead>
						</listbox>
						<paging id="pagingSelPuntoVenta" pageSize="10" />
					</cell>						 
				</row>
			</rows>
		</grid>
		<toolbar>
			<button id="btnExecutarRelatorio" image="/gui/img/enginer.png"
				label="${c:l('relatorio.lb.btnExecutarRelatorio')}" />
				
				<button id="btnExecutarRelatorioEstavel" image="/gui/img/enginer.png"
				label="${c:l('relatorio.lb.btnExecutarRelatorioEstavel')}" />
		</toolbar>
	</window>
</zk>

