<?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="winFiltroRelatorioW2I"?>
<?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c"?>
<zk xmlns="http://www.zkoss.org/2005/zul">
	<window id="winFiltroRelatorioW2I" apply="${relatorioComissaoController}"
		contentStyle="overflow:auto" width="800px" border="normal">
		<grid fixedLayout="true">
			<columns>
				<column width="15%" />
				<column width="35%" />
				<column width="15%" />
				<column width="35%" />
			</columns>
			<rows>
				<row>
					<label
						value="${c:l('relatorioComissaoController.lbDatInicial.value')}" />
					<datebox id="datInicial" width="95%"
						use="com.rjconsultores.ventaboletos.web.utilerias.MyDatebox"
						mold="rounded" lenient="true" constraint="no empty" />

					<label
						value="${c:l('relatorioComissaoController.lbDatFinal.value')}" />
					<datebox id="datFinal" width="95%"
						use="com.rjconsultores.ventaboletos.web.utilerias.MyDatebox"
						mold="rounded" lenient="true" constraint="no empty" />
				</row>
				<row spans="1,1,2">
					<cell rowspan="2" align="left">
						<label
							value="${c:l('relatorioComissaoController.lbEmpresa.value')}" />
					</cell>
					<cell rowspan="2" align="left">
						<combobox id="cmbEmpresa" mold="rounded"
							buttonVisible="true"
							use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
							model="@{winFiltroRelatorioW2I$composer.lsEmpresa}" width="95%" />
					</cell>
				</row>
				<row spans="1,3">
					<label
						value="${c:l('relatorioComissaoController.lbPuntoVenta.value')}" />
					<bandbox id="bbPesquisaPuntoVenta" width="100%"
						mold="rounded" readonly="true">
						<bandpopup>
							<vbox>
								<hbox>
									<label
										value="${c:l('relatorioComissaoController.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('relatorioComissaoController.btnPesquisa.label')}" />
									<button id="btnLimpar"
										image="/gui/img/eraser.png"
										label="${c:l('relatorioComissaoController.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('relatorioComissaoController.lbPuntoVenta.value')}" />
										<listheader width="35%"
											label="${c:l('relatorioComissaoController.lbEmpresa.value')}" />
										<listheader width="20%"
											label="${c:l('relatorioComissaoController.lbNumero.value')}" />
									</listhead>
								</listbox>
							</vbox>
						</bandpopup>
					</bandbox>
				</row>


				<row spans="5">
					<listbox id="puntoVentaSelList" mold="paging"
						use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
						vflex="true" height="100px" width="100%">
						<listhead>
							<listheader
								label="${c:l('relatorioComissaoController.lbPuntoVenta.value')}" />
							<listheader width="35%"
								label="${c:l('relatorioComissaoController.lbEmpresa.value')}" />
							<listheader width="20%"
								label="${c:l('relatorioComissaoController.lbNumero.value')}" />
							<listheader width="5%" />
						</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>
