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

<zk xmlns="http://www.zkoss.org/2005/zul">

	<window id="winEditarConfTotem" apply="${editarConfTotem}"
		contentStyle="overflow:auto" xmlns:h="http://www.w3.org/1999/xhtml"
		title="${c:l('editarConfTotemController.window.title')}"
		height="400px" width="950px" border="normal" sizable="true">

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

		<grid fixedLayout="true">
			<columns>
				<column width="50%" />
				<column width="50%" />
			</columns>
			<rows>
				<row>
					<groupbox>
						<caption
							label="${c:l('editarConfTotemController.permitirTecladoAlfaNumerico')}" />						                        
						<hlayout>						             
							<checkbox
								id="chkPermitirTecladoAlfaNumerico"
								value="@{winEditarConfTotem$composer.empresa.indImprimeGratuidade}" />
							<image src="/gui/img/Question_mark_1.png"
								tooltiptext="${c:l('editarConfTotemController.permitirImpressaoGratuidade.ajuda')}"
								style="cursor: help" />		            
						</hlayout>
					</groupbox>
					<groupbox>
						<caption
							label="${c:l('editarConfTotemController.permitirVenda')}" />					                        
						<hlayout>             
							<checkbox id="chkPermitirVenda"
								value="@{winEditarConfTotem$composer.empresa.indImprimeGratuidade}" />
							<image src="/gui/img/Question_mark_1.png"
								tooltiptext="${c:l('editarConfTotemController.permitirImpressaoGratuidade.ajuda')}"
								style="cursor: help" />		            
						</hlayout>
					</groupbox>
				</row>
				<row>
					<groupbox>
						<caption
							label="${c:l('editarConfTotemController.permitirImpressao')}" />               
						<hlayout>             
							<checkbox id="chkPermitirImpressao"
								value="@{winEditarConfTotem$composer.empresa.indImprimeGratuidade}" />
							<image src="/gui/img/Question_mark_1.png"
								tooltiptext="${c:l('editarConfTotemController.permitirImpressaoGratuidade.ajuda')}"
								style="cursor: help" />	            
						</hlayout>
					</groupbox>
					<groupbox>
						<caption
							label="${c:l('editarConfTotemController.permitirImpressao')}" />					                        
						<hlayout>					             
							<checkbox id="chkPermitirReserva"
								value="@{winEditarConfTotem$composer.empresa.indImprimeGratuidade}" />
							<image src="/gui/img/Question_mark_1.png"
								tooltiptext="${c:l('editarConfTotemController.permitirImpressaoGratuidade.ajuda')}"
								style="cursor: help" />			            
						</hlayout>
					</groupbox>
				</row>
				<row>
					<groupbox>
						<caption
							label="${c:l('editarConfTotemController.permitirImpressao')}" />						                        
						<hlayout>            
							<textbox id="txtEmpresasVendas"
								value="@{winEditarConfTotem$composer.empresa.indImprimeGratuidade}" />
							<image src="/gui/img/Question_mark_1.png"
								tooltiptext="${c:l('editarConfTotemController.permitirImpressaoGratuidade.ajuda')}"
								style="cursor: help" />							            
						</hlayout>
					</groupbox>
				</row>
			</rows>
		</grid>
	</window>
</zk>
