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

<zk xmlns="http://www.zkoss.org/2005/zul">
	<window id="winEditarGP_PricingVigencia" border="normal"
		apply="${editarGP_PricingVigenciaController}" width="500px" 
		contentStyle="overflow:auto"
		title="${c:l('editarPricingController.windowVigencia.title')}">
		<toolbar>
			<hbox spacing="5px" style="padding:1px" align="right">
				<button id="btnAdicionarVigencia" disabled="${arg.isReadOnly}" height="20"
					image="/gui/img/save.png" width="35px"
					tooltiptext="${c:l('editarPricingVigenciaController.btnSalvar.tooltiptext')}" />
				<button height="20" image="/gui/img/exit.png"
					width="35px" onClick="winEditarGP_PricingVigencia.detach()"
					tooltiptext="${c:l('editarPricingVigenciaController.btnFechar.tooltiptext')}" />
			</hbox>
		</toolbar>

		<grid fixedLayout="true">
			<columns>
				<column width="40%" />
				<column width="60%" />
			</columns>
			<rows>
				<row>
					<label
						value="${c:l('editarPricingController.vigInicioViaje.value')}" />
					<datebox id="fecinicioviaje" width="80%"
						mold="rounded"  format="dd/MM/yyyy HH:mm" />
				</row>
				<row>
					<label
						value="${c:l('editarPricingController.vigFinViaje.value')}" />
					<datebox id="fecfinviaje" constraint="no empty"
						width="80%" mold="rounded" 
						format="dd/MM/yyyy HH:mm" />
				</row>
				<row>
					<label
						value="${c:l('editarPricingController.vigInicioVenta.value')}" />
					<datebox id="fecinicioventa" constraint="no empty"
						width="80%" mold="rounded" 
						format="dd/MM/yyyy HH:mm" />
				</row>
				<row>
					<label
						value="${c:l('editarPricingController.vigFinVenta.value')}" />
					<datebox id="fecfinventa" constraint="no empty"
						width="80%" mold="rounded" 
						format="dd/MM/yyyy HH:mm" />
				</row>
			</rows>
		</grid>
	</window>
</zk>
