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

<zk xmlns="http://www.zkoss.org/2005/zul">
	<window id="winFiltroRelatorioTrechoVendido"
		apply="${relatorioTrechoVendidoController}"
		contentStyle="overflow:auto" height="237px" width="550px"
		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('relatorioTrechoVendidoController.lbDataIni.value')}" />
					<datebox id="datInicial" width="90%"
						format="dd/MM/yyyy"  constraint="no empty"
						maxlength="10" />
					<label
						value="${c:l('relatorioTrechoVendidoController.lbDataFin.value')}" />
					<datebox id="datFinal" width="90%"
						format="dd/MM/yyyy"  constraint="no empty"
						maxlength="10" />

				</row>

				<row>


					<label
						value="${c:l('relatorioReceitaDiariaAgenciaController.lbPuntoVenta.value')}" />
					<bandbox id="bbPesquisaPuntoVenta" width="90%"
						mold="rounded" readonly="true">
						<bandpopup height="150px">
							<vbox>
								<hbox>
									<textbox id="txtPalavraPesquisa" />
									<button id="btnPesquisa"
										image="/gui/img/find.png"
										label="${c:l('relatorioReceitaDiariaAgenciaController.btnPesquisa.label')}" />
									<button id="btnLimpar"
										image="/gui/img/eraser.png"
										label="${c:l('relatorioReceitaDiariaAgenciaController.btnLimpar.label')}" />
								</hbox>

								<listbox id="puntoVentaList"
									mold="paging"
									use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
									vflex="true" multiple="false" height="100%" width="360px">
									<listhead>
										<listheader
											label="${c:l('relatorioReceitaDiariaAgenciaController.puntoVentaSelList.codigo')}" />
										<listheader
											label="${c:l('relatorioReceitaDiariaAgenciaController.puntoVentaSelList.nome')}" />
									</listhead>
								</listbox>
								<paging id="pagingPuntoVenta"
									pageSize="10" />
							</vbox>
						</bandpopup>
					</bandbox>

					<label
						value="${c:l('relatorioTrechoVendidoController.lbEmpresa.label')}" />
					<combobox id="cmbEmpresa"
						use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
						mold="rounded" buttonVisible="true" width="90%"
						model="@{winFiltroRelatorioTrechoVendido$composer.lsEmpresa}" />

				</row>

				<row>
					<cell colspan="2" rowspan="2">
						<borderlayout height="100px">

							<center border="0">
								<listbox id="puntoVentaSelList"
									mold="paging"
									use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
									vflex="true" multiple="true" height="60%" width="100%">
									<listhead>
										<listheader
											label="${c:l('relatorioReceitaDiariaAgenciaController.puntoVentaSelList.codigo')}" />
										<listheader
											label="${c:l('relatorioReceitaDiariaAgenciaController.puntoVentaSelList.nome')}" />
										<listheader width="35px" />

									</listhead>
								</listbox>
							</center>
						</borderlayout>
					</cell>

				</row>
			</rows>

		</grid>
		<toolbar>
			<button id="btnExecutarRelatorio" image="/gui/img/find.png"
				label="${c:l('relatorio.lb.btnExecutarRelatorio')}" />
		</toolbar>

	</window>
</zk>