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

<zk xmlns="http://www.zkoss.org/2005/zul">
	<window id="winBusquedaFaturarVoucher" border="normal"
		apply="${busquedaFaturarVoucherController}" 
		height="220px" width="800px" contentStyle="overflow:auto" sizable="true"
		title="${c:l('faturarVoucherController.window.title')}" > 
		
		<toolbar>
			<hbox spacing="5px" style="padding:1px" align="right">
				<button id="btnCerrar"
					onClick="winBusquedaFaturarVoucher.detach()" image="/gui/img/exit.png"
					width="35px"
					tooltiptext="${c:l('tooltiptext.btnFechar')}" />
			</hbox>			
		</toolbar>

		<grid fixedLayout="true">
			<columns>
				<column width="15%" />
				<column width="35%" />
				<column width="15%" />
				<column width="35%" />
			</columns>
			<rows>
				<row>
					<label value="${c:l('label.numInicial')}" />
					<longbox id="txtNumInicial" constraint="no negative" maxlength="15" width="100px" />
					
					<label value="${c:l('label.numFinal')}" />
					<longbox id="txtNumFinal" constraint="no negative" maxlength="15" width="100px" />
				</row>
				<row>
					<label value="${c:l('label.nit')}" />
					<textbox id="txtNit" maxlength="20" width="150px" />
					
                    <label value="${c:l('label.transportadora')}"/>
                    <combobox id="cmbTransportadora" 
                    	buttonVisible="true" 
                    	use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
                    	model="@{winBusquedaFaturarVoucher$composer.lsTransportadora}"
                    	mold="rounded" width="95%" />			                				
				</row>								
				<row>
					<label value="${c:l('label.numContrato')}" />
					<textbox id="txtNumContrato" constraint="no negative" maxlength="15" width="100px" />
					
					<label value="${c:l('label.grupoContrato')}" />
					<combobox id="cmbGrupo" 
						buttonVisible="true"
						use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
						model="@{winBusquedaFaturarVoucher$composer.lsGrupo}"
						mold="rounded" width="95%" />
				</row>				
				<row>
					<label value="${c:l('label.origem')}" />
					<combobox id="cmbOrigem"
						buttonVisible="true"
						use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxParada"
						mold="rounded" width="95%" />
				
					<label value="${c:l('label.destino')}" />
					<combobox id="cmbDestino"
						buttonVisible="true"
						use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxParada"
						mold="rounded" width="95%" />
				</row>
				<row spans="4" align="center">
                    
                </row>
			</rows>
		</grid>
		
		<toolbar>
			<button id="btnPesquisar" image="/gui/img/find.png"
					label="${c:l('label.btnPesquisar')}" />
		</toolbar>
	</window>
</zk>