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

<zk xmlns="http://www.zkoss.org/2005/zul">
	<window id="winFiltroRelatorioEncerramentoCheckin"
		apply="${relatorioEncerramentoCheckinController}" 
		contentStyle="overflow:auto"
		height="265px" width="560px" border="normal">

		<grid fixedLayout="true">
			<columns>
				<column width="25%" />
				<column width="25%" />
				<column width="25%" />
				<column width="25%" />
			</columns>
			
			<rows>
				<row>
					<label value="${c:l('relatorioEncerramentoCheckinController.lbServico.value')}" />
					<label value=" " />
					<label value=" " />
					<label value=" " />
				</row>
				
				<row>
					<label value="${c:l('relatorioEncerramentoCheckinController.lbDataInicio.value')}" />
					<datebox id="dataInicioServico" width="100%" mold="rounded" format="dd/MM/yyyy" maxlength="10" />
					<label value="${c:l('relatorioEncerramentoCheckinController.lbDataFim.value')}" />
					<datebox id="dataFimServico" width="100%" mold="rounded" format="dd/MM/yyyy" maxlength="10" />
				</row>
				
				<row>
					<label value="${c:l('relatorioEncerramentoCheckinController.lbEncerramento.value')}" />
					<label value=" " />
					<label value=" " />
					<label value=" " />
				</row>
				
				<row>
					<label value="${c:l('relatorioEncerramentoCheckinController.lbDataInicio.value')}" />
					<datebox id="dataInicioEncerramento" width="100%" mold="rounded" format="dd/MM/yyyy" maxlength="10" />
					<label value="${c:l('relatorioEncerramentoCheckinController.lbDataFim.value')}" />
					<datebox id="dataFimEncerramento" width="100%" mold="rounded" format="dd/MM/yyyy" maxlength="10" />
				</row>
			</rows>
		</grid>
		
		<grid fixedLayout="true">
			<columns>
				<column width="50%" />
				<column width="50%" />
			</columns>
			
			<rows>
				<row>
					<label value="${c:l('relatorioEncerramentoCheckinController.lbEmpresa.value')}" />
					<combobox id="cmbEmpresa" width="70%" maxlength="60"
						mold="rounded" buttonVisible="true"
						use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
						model="@{winFiltroRelatorioEncerramentoCheckin$composer.lsEmpresas}" />
				</row>

				<row>
					<label value="${c:l('relatorioEncerramentoCheckinController.lbLocalidade.value')}" />
					<combobox id="cmbLocalidade" width="70%" maxlength="60"
						mold="rounded" buttonVisible="true"
						use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxParada" />
				</row>
				<row>
					<label
						value="${c:l('relatorioCheckinController.lblTipoCheckin.value')}" />
						
					<cell >
						<checkbox id="chcEncerrado"
							label="${c:l('relatorioCheckinController.chcCheckinEncerrado.value')}" >
							<attribute name="onCheck">
								chcAberto.setChecked(false);
							</attribute>
						</checkbox>
						<checkbox id="chcAberto"
							label="${c:l('relatorioCheckinController.chcCheckinAberto.value')}" >
							<attribute name="onCheck">
								chcEncerrado.setChecked(false);
							</attribute>
						</checkbox>
					</cell>
				</row>
			</rows>
		</grid>
		
		<toolbar>
			<button id="btnExecutarRelatorio" image="/gui/img/find.png" label="${c:l('relatorio.lb.btnExecutarRelatorio')}" />
		</toolbar>
	</window>
</zk>