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

<zk xmlns="http://www.zkoss.org/2005/zul">

	<window id="winFiltroRelatorioMovimentoPorOrgaoConcedente" border="normal"
			apply="${relatorioMovimentoPorOrgaoConcedenteController}" width="540px" 
			height="570px" contentStyle="overflow:auto"
			title="${c:l('relatorioMvimentoPorOrgaoConcedente.window.title')}"
			xmlns:h="http://www.w3.org/1999/xhtml">
			
			<grid fixedLayout="true">
				<columns>
					<column width="23%" />
					<column width="77%" />
			
				</columns>
				<rows>
					<row>
						<!-- Empresa -->
						<label
							value="${c:l('relatorioMovimentoPorOrgaoConcedente.lbEmpresa.value')}" />
						<combobox id="cmbEmpresa"
							use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
							mold="rounded" buttonVisible="true" width="99%"
							selectedItem="@{winFiltroRelatorioMovimentoPorOrgaoConcedente$composer.empresa}" 
							model="@{winFiltroRelatorioMovimentoPorOrgaoConcedente$composer.lsEmpresas}" />
					</row>
						<!-- Orgao Concedente -->
					<row>
						<label
							value="${c:l('relatorioMovimentoPorOrgaoConcedente.labelOrgaoConc.value')}" />
						<combobox id="cmbOrgaoConcedente" mold="rounded" buttonVisible="true"
							width="99%" selectedItem="@{winFiltroRelatorioMovimentoPorOrgaoConcedente$composer.orgaoConcedente}"
							model="@{winFiltroRelatorioMovimentoPorOrgaoConcedente$composer.lsOrgaoConcedente}"
							use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar" />
					</row>
					<!-- tipos de serviço -->
					<row>
						<label
							value="${c:l('relatorioMovimentoPorOrgaoConcedente.labelTiposServicios.value')}" />
						<radiogroup Id="indTipoServicio" >
							<radio id="radTipoServicioOrdinarios"
								label="${c:l('relatorioMovimentoPorOrgaoConcedente.labelTipoServicioOrdinarios.value')}" />
							<radio id="radTipoServicioExtraOrdinarios"
								label="${c:l('relatorioMovimentoPorOrgaoConcedente.labelTipoServicioExtraOrdinarios.value')}" />
							<radio id="radTipoServicioTodos"
								label="${c:l('relatorioMovimentoPorOrgaoConcedente.labelTipoServicioTodos.value')}" checked = "true"/>
						</radiogroup>
					</row>
				</rows>
			</grid>
			<!-- datas -->
			<grid fixedLayout="true">
				<columns>
					<column width="23%" />
					<column width="27%" />
					<column width="23%" />
					<column width="27%" />
				</columns>
				<rows>
					<row>
						<label
								value="${c:l('relatorioMovimentoPorOrgaoConcedente.labelDataInicial.value')}" />
						<datebox id="fecInicio" width="70x"
								mold="rounded" />
						<label
								value="${c:l('relatorioMovimentoPorOrgaoConcedente.labelDataFinal.value')}" />
						<datebox id="fecFinal" width="120px"
								mold="rounded"  />
					</row>
				</rows>
			</grid>	
			<!-- servicos -->
			<grid fixedLayout="true">
				<columns>
					<column width="23%" />
					<column width="61%" />
					<column width="16%" />
			
				</columns>
				<rows>
				
					<row>					
						<label
							value="${c:l('relatorioMovimentoPorOrgaoConcedente.labelServico.value')}" />
						<combobox id="cmbEsquemaCorrida"
							mold="rounded" buttonVisible="true"
							width="100%" 
							model="@{winFiltroRelatorioMovimentoPorOrgaoConcedente$composer.lsEsquemaCorrida}"
							use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar" />
						<toolbar>
							<button id="btnRemoveEsquemaCorrida" height="20"
								image="/gui/img/remove.png" width="35px"/>
							<button id="btnAddEsquemaCorrida" height="20"
								image="/gui/img/add.png" width="35px"/>
						</toolbar>
					</row>
					
					<row spans="3" >
						<listbox id="listboxSelectedEsquemaCorrida"
							use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
							multiple="false">
							<listhead sizable="true">
								<listheader image="/gui/img/builder.gif"
									label="${c:l('relatorioMovimentoPorOrgaoConcedente.labelServico.value')}" width="23%"/>
								<listheader image="/gui/img/builder.gif"
									label="${c:l('relatorioMovimentoPorOrgaoConcedente.labelCodLinha.value')}" width="39%"/>
								<listheader image="/gui/img/builder.gif"
									label="${c:l('relatorioMovimentoPorOrgaoConcedente.labelOrigemXdestino.value')}" width="38%"/>
							</listhead>
						</listbox>
					</row>
					<!-- linhas -->
					<row>					
						<label
							value="${c:l('relatorioMovimentoPorOrgaoConcedente.labelRuta.value')}" />
						<combobox id="cmbRuta"
							use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
							mold="rounded" buttonVisible="true"
							model="@{winFiltroRelatorioMovimentoPorOrgaoConcedente$composer.lsRuta}" width="99%" />
						<toolbar>
							<button id="btnRemoveRuta" height="20"
								image="/gui/img/remove.png" width="35px"/>
							<button id="btnAddRuta" height="20"
								image="/gui/img/add.png" width="35px"/>
						</toolbar>
					</row>
					
					<row spans="3">
						<listbox id="listboxSelectedRuta"
							use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
							multiple="false">
							<listhead sizable="true">
								<listheader image="/gui/img/builder.gif"
									label="${c:l('relatorioMovimentoPorOrgaoConcedente.labelNumRuta.value')}" width="23%"/>
								<listheader image="/gui/img/builder.gif"
									label="${c:l('relatorioMovimentoPorOrgaoConcedente.labelPrefixoRuta.value')}" width="27%"/>
								<listheader image="/gui/img/builder.gif"
									label="${c:l('relatorioMovimentoPorOrgaoConcedente.labeldescruta.value')}" width="27%"/>
								<listheader image="/gui/img/builder.gif"
									label="${c:l('relatorioMovimentoPorOrgaoConcedente.labelOrgaoConcedente.value')}" width="23%"/>
							</listhead>
						</listbox>
					</row>
				</rows>
			</grid>
		<separator bar="true" />
		<toolbar>
			<button id="btnExecutarRelatorio"
				image="/gui/img/enginer.png"
				label="${c:l('relatorio.lb.btnExecutarRelatorio')}" />
		</toolbar>
	</window>
</zk>


