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

<zk xmlns="http://www.zkoss.org/2005/zul">
	<window id="winGeracaoArquivo"
		apply="${geracaoArquivoEMTUController}" contentStyle="overflow:auto"
		width="500px" border="normal">

		<grid fixedLayout="true">
			<columns>
				<column width="25%" />
				<column width="30%" />
				<column width="15%" />
				<column width="30%" />
			</columns>
			<rows>
			
				<row spans="1,3">
					<label
						value="${c:l('relatorioAidfDetalhadoController.lbEmpresa.value')}" />
					<combobox id="cmbEmpresa"
						use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
						model="@{winGeracaoArquivo$composer.lsEmpresa}"
						width="100%" constraint="no empty"/>
				</row>	
				
				
				<row>
					<label
						value="${c:l('geracaoArquivoEMTUController.label.tipoArquivo')}" />
					<radiogroup Id="rdTipoServico">
						<hbox align="center">
							<radio Id="rdViagem" value="0" checked="true"
								label="${c:l('geracaoArquivoEMTUController.label.tipoArquivoViagem')}" />
							<radio Id="rdReceita" value="1"
								label="${c:l('geracaoArquivoEMTUController.label.tipoArquivoReceita')}" />

						</hbox>
					</radiogroup>
				</row>

				<row>
					<label
						value="${c:l('geracaoArquivoEMTUController.label.numSequencia')}" />
					<intbox id="txtNumSequencia" width="300px" mold="rounded" maxlength='3' />
				</row>

				<row>
					<label
						value="${c:l('geracaoArquivoEMTUController.label.datReferencia')}" />
					<datebox id="datReferencia" width="100%"
						mold="rounded" format="dd/MM/yyyy" maxlength="10"
						constraint="no empty" />
				</row>
			</rows>
		</grid>

		<toolbar>
			<button id="btnGerarArquivo" image="/gui/img/save.png"
				label="${c:l('geracaoArquivoEMTUController.label.btnGerarArquivo')}" />
		</toolbar>
	</window>
</zk>