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

<zk xmlns="http://www.zkoss.org/2005/zul">
	<window id="winConfRestricaoCanalVentaEmpValMin"
		title="${c:l('confRestricaoCanalVentaController.window.title')}"
		apply="${confRestricaoCanalVentaEmpValMinController}"
		contentStyle="overflow:auto" height="550px" width="950px"
		border="normal">
		<toolbar>
			<button id="btnSalvar2" height="20"
					image="/gui/img/save.png" width="35px"
					tooltiptext="${c:l('editarConfRestricaoCanalVentaController.btnSalvar.tooltiptext')}" />
			<button id="btnAddRestricaoVendaWeb" height="20"
				image="/gui/img/add.png" width="35px" />
			<button id="btnRemoveRestricaoVendaWeb" height="20"
				image="/gui/img/remove.png" width="35px"/>	
			
		</toolbar>
		
		
		<grid fixedLayout="true">
			<columns>
				<column width="20%" />
				<column width="80%" />
			</columns>
			<rows>
				<row>
					<label
						value="${c:l('editarConfRestricaoCanalVentaController.aba.vendaWeb.empresa')}" />
					<combobox id="cmbEmpresaVendaWeb" readonly="true"
						use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxPuntoVenta"
						mold="rounded" buttonVisible="true" width="90%" 
						selectedItem="@{winConfRestricaoCanalVentaEmpValMin$composer.empresa}"
						model="@{winConfRestricaoCanalVentaEmpValMin$composer.lsEmpresa}"/>
				</row>
				<row>
					<label
						value="${c:l('editarConfRestricaoCanalVentaController.aba.vendaWeb.valorMinimo')}" />
					<textbox id="txtValorMinimo" width="90%" mold="rounded" constraint="no empty, no zero, no negative, /[0-9]+(\,[0-9][0-9]?)?/ "
                     			use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal" precision="6" scale="2"/>
				</row>
			</rows>
		</grid>
		<separator orient="horizontal" />
		<listbox id="confRestricaoVendaWebDataList"
			use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
			multiple="false" checkmark="false" tooltiptext="">
			<listhead sizable="true">
				<listheader id="headEmpresa" width="60%"
					label="${c:l('editarConfRestricaoCanalVentaController.aba.vendaWeb.empresa')}"/>
				<listheader id="headValor" width="40%"
					label="${c:l('editarConfRestricaoCanalVentaController.aba.vendaWeb.valor')}"/>
			</listhead>
		</listbox>
		
					
					
		
	</window>
</zk>