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

<zk xmlns:n="http://www.zkoss.org/2005/zk/native">
	<window id="winEditarPacoteTarifa"
		title="${c:l('editarConfiguracionPacoteController.window.title')}"
		apply="${editarPacoteTarifaController}"
		contentStyle="overflow:auto" height="195px" width="500px"
		border="normal">

		<toolbar>
			<hbox spacing="5px" style="padding:1px" align="right">
				<button id="btnSalvar" height="20"
					image="/gui/img/save.png" width="35px"
					tooltiptext="${c:l('editarConfiguracionPacoteController.btnSalvar.tooltiptext')}" />
				<button id="btnFechar" height="20"
					image="/gui/img/exit.png" width="35px"
					onClick="winEditarPacoteTarifa.detach()"
					tooltiptext="${c:l('editarConfiguracionPacoteController.btnFechar.tooltiptext')}" />
			</hbox>
		</toolbar>

		<grid fixedLayout="true">
			<columns>
				<column width="20%" />
				<column width="80%" />
			</columns>
			<rows>
				<row>
					<label
						value="${c:l('editarConfiguracionPacoteController.txtDescTarifa.label')}" />
					<textbox id="txtDescTarifa" width="70%" maxlength="50" disabled="true"
						use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
				</row>
				
				<row>
                    <label value="${c:l('editarConfiguracionPacoteController.lhTarifa.label')}"/>
                    <textbox id="tarifa"  use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal" 
                    	precision="7" scale="2" maxlength="9" constraint="no empty" />
                </row>
                
				<row>
					<label
						value="${c:l('indexController.mniCategoria.label')}" />
					<combobox id="cmbCategoria"
							 use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
							mold="rounded"
						   width="70%"
						   model="@{winEditarPacoteTarifa$composer.lsCategorias}" />
				</row>                
				
				<row>
                    <label value="${c:l('editarConfiguracionPacoteController.lhVendaWeb.label')}"/>
                    <checkbox id="chkIndvendaweb"/>
                </row>
                
			</rows>
		</grid>
	</window>
</zk>