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

<zk xmlns="http://www.zkoss.org/2005/zul">
	<window id="winFiltroRelatorioEstornoCartao"
		apply="${relatorioEstornoCartaoController}"
		contentStyle="overflow:auto"  width="560px"
		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('relatorioEstornoCartaoController.datainicial.value')}" />
					<datebox id="datInicial" format="dd/MM/yyyy" 
						width="90%" constraint="no empty" mold="rounded"
						maxlength="10" />

					<label
						value="${c:l('relatorioEstornoCartaoController.dataFinal.value')}" />
					<datebox id="datFinal" format="dd/MM/yyyy" mold="rounded"
						width="90%" constraint="no empty"
						maxlength="10" />
				</row>
				<row spans="1,3">
					<label value="${c:l('relatorioEstornoCartaoController.lbCpf.value')}" />
					<textbox id="txtCpf"
						use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"
						width="150px" mold="rounded" />
				</row>

				<row  spans="1,3">
					<label value="${c:l('relatorioEstornoCartaoController.lbFormaPago.value')}" />
					<combobox id="cmbFormaPago"
						use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
						width="95%" mold="rounded" buttonVisible="true"
						model="@{winFiltroRelatorioEstornoCartao$composer.lsFormaPago}" />
				</row>

				<row spans="1,3">
					<label value="${c:l('relatorioEstornoCartaoController.lbCartao.value')}" />
					<textbox id="txtCartao"
						use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"
						width="360px" mold="rounded" />
				</row>	
				<row spans="1,3">
					<label
						value="${c:l('relatorioEstornoCartaoController.lbEmpresa.value')}" />
					<combobox id="cmbEmpresa" 
						buttonVisible="true" mold="rounded"
						use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
						model="@{winFiltroRelatorioEstornoCartao$composer.lsEmpresa}"
						width="95%"
						 />
				</row>	
				<row spans="1,3">
					<label
						value="${c:l('relatorioEstornoCartaoController.lbPuntoVenta.value')}"/>
					<bandbox id="bbPesquisaPuntoVenta" width="95%"
						mold="rounded" readonly="true">
						<bandpopup>
							<vbox>
								<hbox>
									<label
										value="${c:l('relatorioEstornoCartaoController.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('relatorioEstornoCartaoController.btnPesquisa.label')}" />
									<button id="btnLimpar"
										image="/gui/img/eraser.png"
										label="${c:l('relatorioEstornoCartaoController.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('relatorioEstornoCartaoController.lbPuntoVenta.value')}" />
										<listheader width="35%"
											label="${c:l('relatorioEstornoCartaoController.lbEmpresa.value')}" />
										<listheader width="20%"
											label="${c:l('relatorioEstornoCartaoController.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="95px" width="98%">
						<listhead>
							<listheader
								label="${c:l('relatorioEstornoCartaoController.lbPuntoVenta.value')}" />
							<listheader width="35%"
								label="${c:l('relatorioEstornoCartaoController.lbEmpresa.value')}" />
							<listheader width="20%"
								label="${c:l('relatorioEstornoCartaoController.lbNumero.value')}" />
							<listheader width="8%" />
						</listhead>
					</listbox>
					<paging id="pagingSelPuntoVenta" pageSize="10" />
				</row>
			</rows>
		</grid>
		<toolbar>
			<hlayout>
				<button id="btnExecutarRelatorio" image="/gui/img/find.png"
					label="${c:l('relatorio.lb.btnExecutarRelatorio')}" />
				<image src="/gui/img/Question_mark_1.png" tooltiptext="${c:l('relatorioEstornoCartaoController.ajuda')}"
					style="cursor: help" />
			</hlayout>
		</toolbar>
	</window>
</zk>