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

<zk xmlns="http://www.zkoss.org/2005/zul">
	<window id="winEditarCotacao" border="normal"
		apply="${editarCotacaoController}" width="300px" height="156px"
		contentStyle="overflow:auto"
		title="${c:l('editarCotacaoController.window.title')}">
		<toolbar>
			<hbox spacing="5px" style="padding:1px" align="right">

				<button id="btnSalvar" height="20"
					image="/gui/img/save.png" width="35px"
					tooltiptext="${c:l('editarRedondeoController.btnSalvar.tooltiptext')}" />
				<button id="btnFechar" height="20"
					image="/gui/img/exit.png" width="35px"
					onClick="winEditarCotacao.detach()"
					tooltiptext="${c:l('editarRedondeoController.btnFechar.tooltiptext')}" />
			</hbox>
		</toolbar>


		<grid fixedLayout="true">
			<columns>
				<column width="30%" />
				<column width="70%" />
			</columns>
			<rows>

				<row>
					<label
						value="${c:l('busquedaCotacaoController.fecmodif.label')}" />
					<datebox id="txtFecmodif" width="90%"
						use="com.rjconsultores.ventaboletos.web.utilerias.MyDatebox"
						maxlength="10" />
				</row>

				<row>
					<label id="lbMoneda"
						value="${c:l('busquedaCotacaoController.moneda.label')}" />

					<combobox id="cmbMoneda" width="90%" mold="rounded"
						buttonVisible="true" constraint="no empty"
						use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
						model="@{winEditarCotacao$composer.lsMoneda}"
						selectedItem="@{winEditarCotacao$composer.cotacao.moneda}" />
				</row>

				<row>
					<label
						value="${c:l('busquedaCotacaoController.valor.label')}" />

					<textbox id="txtValor" width="100%" mold="rounded"
						constraint="no empty, no zero, no negative"
						use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal"
						value="@{winEditarCotacao$composer.cotacao.valor,converter=com.rjconsultores.ventaboletos.web.utilerias.StringDecimalToDecimalConverterScale5}"
						precision="10" scale="5" />
				</row>



			</rows>
		</grid>

	</window>
</zk>
