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

<zk xmlns="http://www.zkoss.org/2005/zul">
	<window id="winRecebimentoMalote"
		title="${c:l('recebimentoMaloteController.window.title')}"
		apply="${recebimentoMaloteController}"
		contentStyle="overflow:auto" height="285px" width="500px"
		border="normal">
		<toolbar>
			<button id="btnCerrar"
			   onClick="winRecebimentoMalote.detach()"
				 image="/gui/img/exit.png"
				 width="35px"
		   tooltiptext="${c:l('tooltiptext.btnFechar')}" />
		</toolbar>

		<grid fixedLayout="true">
			<columns>
				<column width="35%" />
				<column width="65%" />
			</columns>
			<rows>
				<row>
					<label value="${c:l('recebimentoMaloteController.lbCodigoBarras.label')}" />
					<textbox id="txtCodigoBarras"
						  width="95%"
					  maxlength="35"
							use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
				</row>
			</rows>
		</grid>
		
		<toolbar>
			<button id="btnPesquisa"
				 image="/gui/img/find.png"
				 label="${c:l('recebimentoMaloteController.btnPesquisa.label')}" />
			<button id="btnLimpar"
				 image="/gui/img/eraser.png"
				 label="${c:l('recebimentoMaloteController.btnLimpar.label')}" />
		</toolbar>		
		
		<grid fixedLayout="true">
			<columns>
				<column width="35%" />
				<column width="65%" />
			</columns>
			<rows>
				<row spans="2">
					<label value="${c:l('recebimentoMaloteController.lbDadosMalote.value')}" />
				</row>
				<row>
					<label value="${c:l('recebimentoMaloteController.lbNumeroMalote.value')}" />
					<textbox id="txtNumeroMalote"
						  width="95%"
							use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"
					   readonly="true" />
				</row>			
				<row>
					<label value="${c:l('recebimentoMaloteController.lbEmpresa.value')}" />
					<textbox id="txtEmpresa"
						  width="95%"
							use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"
					   readonly="true" />
				</row>			
				<row>
					<label value="${c:l('recebimentoMaloteController.lbPuntoVenta.value')}" />
					<textbox id="txtPuntoVenta"
						  width="95%"
							use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"
					   readonly="true" />
				</row>
				<row>
					<label value="${c:l('recebimentoMaloteController.lbDatasMalote.value')}" />
					<textbox id="txtDatasMalote"
						  width="95%"
							use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"
					   readonly="true" />
				</row>
			</rows>		
		</grid>
		
		<toolbar>
			<button id="btnConfirmar"
				 image="/gui/img/ok.png"
				label="${c:l('recebimentoMaloteController.btnConfirmar.label')}" />
		</toolbar>
		
	</window>
</zk>