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

<zk xmlns="http://www.zkoss.org/2005/zul">
	<window id="winConfigLayoutGeradorContratoController"
		apply="${configLayoulGeradorContratoController}"
		title="${c:l('configLayoutImpressaoBoletoController.window.title')}"
		contentStyle="overflow:auto" height="550px" width="860px"
		border="normal">

		<toolbar>
			<button id="botaoSalvar" image="/gui/img/save.png"
				width="35px" />
			<button id="btnExecutarRelatorio" image="/gui/img/pdf.png"
				label="${c:l('configLayoutGeradorContratoController.btnVisualizarPDF.label')}" />
		 <button id="btnCerrar" onClick="winConfigLayoutGeradorContratoController.detach()"
				image="/gui/img/exit.png" width="35px"
				tooltiptext="${c:l('configLayoutGeradorContratoController.btnCerrar.tooltiptext')}" />
		</toolbar>


		<vbox>
			<grid fixedLayout="true">
				<columns>
					<column width="20%"></column>
					<column width="80%"></column>
				</columns>
				<rows>
					<row>
						<label
							value="${c:l('configLayoutGeradorContratoController.lb.puntoVenta.value')}" />
						<combobox id="cmbPuntoVenta" constraint="no empty" 
							use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxPuntoVenta"
							width="100%" mold="rounded" buttonVisible="true" />
					</row>
					<row>
						<label
							value="${c:l('configLayoutGeradorContratoController.lbEmpresa.value')}" />
						<combobox id="cmbEmpresa"
							use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandarEmpresaUsuario"
							constraint="no empty" mold="rounded" buttonVisible="true"
							width="100%"/>
					</row>
					<row spans="2">
						<radiogroup Id="rdbGroup">
						<radio id="rdbAutorizado" value="P" label="${c:l('configLayoutGeradorContratoController.lbPrazo.value')}"  selected="true"/>
						<radio id="rdbRejeitado" value="A" label="${c:l('configLayoutGeradorContratoController.lbAVista.value')}"  />
					</radiogroup>
					</row>
				</rows>
			</grid>
		</vbox>
		<tabbox>
			<tabs>
				<tab
					label="${c:l('configLayoutGeradorContratoController.contratoPrazo.label')}" />
				<tab
					label="${c:l('configLayoutGeradorContratoController.contratoVista.label')}" />
			</tabs>
			<tabpanels>
				<tabpanel>
					<vbox>
						<ckeditor
							id="chkConfigLayoutGeradorContratoPrazo"
							value="@{winConfigLayoutGeradorContratoController$composer.confContratoPuntoVenta.textoContratoPrazo}"
							width="100%">
						</ckeditor>
					</vbox>
				</tabpanel>

				<tabpanel>
					<vbox>
						<ckeditor
							id="chkConfigLayoutGeradorContratoVista"
							value="@{winConfigLayoutGeradorContratoController$composer.confContratoPuntoVenta.textoContratoAVista}"
							width="100%">
						</ckeditor>
					</vbox>
				</tabpanel>
			</tabpanels>
		</tabbox>

	</window>
</zk>