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

<zk xmlns="http://www.zkoss.org/2005/zul">
	<window id="winRelatorioCheckin"
		apply="${relatorioCheckinController}" contentStyle="overflow:auto"
		width="580px" 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('relatorioReceitaDiariaAgenciaController.lbDataIni.value')}" />
					<datebox id="datInicial" width="100%" mold="rounded"
						format="dd/MM/yyyy" maxlength="10" />
					<label
						value="${c:l('relatorioReceitaDiariaAgenciaController.lbDataFin.value')}" />
					<datebox id="datFinal" width="100%" mold="rounded"
						format="dd/MM/yyyy"  maxlength="10" />
				</row>
			</rows>
		</grid>

		<grid fixedLayout="true">
			<columns>
				<column width="20%" />
				<column width="80%" />
			</columns>
			<rows>
				<row>
					<label
						value="${c:l('relatorioTaxasLinhaController.lbCidadaOrigem.value')}" />
					<cell>
						<combobox id="cmbParadaOrigemCve"
							use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxParadaCve"
							mold="rounded" buttonVisible="true" width="30%" />
						<combobox id="cmbParadaOrigem"
							use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxParada"
							mold="rounded" buttonVisible="true" width="65%" />
					</cell>
				</row>

				<row>
					<label
						value="${c:l('relatorioOrigemDestinoController.lbServico.value')}" />
					<intbox width="99%" id="txtCorridaId" />
				</row>
				
				

				<row>
					<label
						value="${c:l('relatorioCheckinController.lbBilheteiro.label')}" />
					<vbox>
						<bandbox id="bbPesquisaBilhetero" width="100%"
							mold="rounded" readonly="true">
							<bandpopup>
								<vbox>
									<hbox>
										<label
											value="${c:l('relatorioCheckinController.lbBilheteiro.label')}" />
										<textbox id="txtPalavraPesquisa"
											width="250px"
											use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
										<button id="btnPesquisa"
											image="/gui/img/find.png"
											label="${c:l('relatorioCheckinController.btnPesquisa.label')}" />
										<button id="btnLimpar"
											image="/gui/img/eraser.png"
											label="${c:l('relatorioCheckinController.btnLimpar.label')}" />
									</hbox>


									<paging id="pagingUsuario"
										pageSize="20" />
									<listbox id="usuarioList" mold="paging"
										use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
										vflex="true" height="100%" width="500px">
										<listhead>
											<listheader
												label="${c:l('lb.id')}" width="30%" />
											<listheader
												label="${c:l('relatorioCheckinController.usuarioCVE.label')}"
												width="30%" />
											<listheader
												label="${c:l('relatorioCheckinController.usuarioNome.label')}" width="60%" />
										</listhead>
									</listbox>
								</vbox>
							</bandpopup>
						</bandbox>

						<listbox id="usuarioSelList" mold="paging"
							use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
							vflex="true" height="100px" width="100%">
							<listhead>
								<listheader label="${c:l('relatorioCheckinController.usuarioCVE.label')}"
									width="30%" />
								<listheader label="${c:l('relatorioCheckinController.usuarioNome.label')}"
									width="60%" />
								<listheader width="10%" />
							</listhead>
						</listbox>
						<paging id="pagingSelUsuario" pageSize="10" />
					</vbox>
				</row>
				<row>
				    <cell colspan="2">
						<checkbox id="chkConsolidadoPorUsuario"
							label="Modo Consolidado por Usuário" >
						</checkbox>
						<image src="/gui/img/Question_mark_1.png" tooltiptext="Este modelo irá imprimir todas as estapas e usuários no processo" style="cursor: help" />
					</cell>
				</row>
			</rows>
		</grid>
		<toolbar>
			<button id="btnExecutarRelatorio" image="/gui/img/find.png"
				label="${c:l('relatorio.lb.btnExecutarRelatorio')}" />
		</toolbar>
	</window>
</zk>

