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

<zk xmlns="http://www.zkoss.org/2005/zul">
	<window id="winFiltroRelatorioVendasRequisicao"
		apply="${relatorioVendasRequisicaoController}"
		contentStyle="overflow:auto" width="900px" border="normal">
		<grid fixedLayout="true">
			<columns>
				<column width="10%" />
				<column width="35%" />
				<column width="10%" />
				<column width="45%" />
			</columns>
			<rows>
				<row>
					<label
						value="${c:l('label.empresa')}" />
					<combobox id="cmbEmpresa" 
						buttonVisible="true" 
						use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
						model="@{winFiltroRelatorioVendasRequisicao$composer.lsEmpresa}"
						width="95%"
						mold="rounded"
						constraint="no empty" />

					<label
						value="${c:l('lb.puntoventa')}" />
					<combobox id="cmbPuntoVenta"
						use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxPuntoVenta"
						mold="rounded" buttonVisible="true" width="90%"
						constraint="no empty" />						 
				</row>

				<row>
					<label
						value="${c:l('lb.dataIni.value')}" />
					<datebox id="dataInicial" width="100%" mold="rounded"
						format="dd/MM/yyyy"  constraint="no empty"
						maxlength="10" />
					<label
						value="${c:l('lb.dataFin.value')}" />
					<datebox id="dataFinal" width="100%" mold="rounded"
						format="dd/MM/yyyy"  constraint="no empty"
						maxlength="10" />
				</row>		
				
				<row >	
					<label
						value="${c:l('busquedaSecretariaController.window.title')}" />
					<combobox id="cmbSecretaria"
						use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxSecretaria"
						mold="rounded" buttonVisible="true" width="90%"
						 />
					
					<label value="${c:l('relatorioVendasRequisicaoController.lbAgruparPor.label')}" />	 
					<radiogroup id="radiogroupTipoRelatorio">
						<radio id="radioTipoRelatorioPorCliente" label="${c:l('relatorioVendasRequisicaoController.radioTipoRelatorioPorCliente.label')}" />
						<radio id="radioTipoRelatorioPorPontoVenda" label="${c:l('lb.puntoventa')}" />
					</radiogroup>
				</row>	
			</rows>
		</grid>
		<toolbar>
			<button id="btnExecutarRelatorio" image="/gui/img/enginer.png"
				label="${c:l('relatorio.lb.btnExecutarRelatorio')}" />
			<button id="btnExecutarRelatorioDetalhado" image="/gui/img/find.png"
				label="${c:l('relatorio.lb.btnExecutarRelatorioDetalhado')}" />	
		</toolbar>
	</window>
</zk>

