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

<zk>
	<window id="winEditarPricingCtrl" border="normal"
		apply="${editarPricingCtrlController}" width="800px" height="410px" sizable="true"
		contentStyle="overflow:auto"
		title="${c:l('editarPricingCtrlController.window.title')}">
		<toolbar>
			<hbox spacing="5px" style="padding:1px" align="right">
				<button id="btnFechar" height="20"
					image="/gui/img/exit.png" width="35px"
					onClick="winEditarPricingCtrl.detach()"
					tooltiptext="${c:l('editarPricingCtrlController.btnFechar.tooltiptext')}" />
			</hbox>
		</toolbar>

		<toolbar>
			<button id="btnSalvar" image="/gui/img/check_icon.png"
				label="${c:l('lb.btnAtivar')}"
				visible="@{winEditarPricingCtrl$composer.desativado}" />
			<button id="btnApagar" image="/gui/img/close_icon.png"
				label="${c:l('lb.btnDesativar')}"
				visible="@{winEditarPricingCtrl$composer.ativado}" />
		</toolbar>		

		<grid fixedLayout="true">
			<columns>
				<column width="100%" />
			</columns>
			<rows>
				<row>
					<label value="@{winEditarPricingCtrl$composer.statusAtual}" />
				</row>
				<row>
					<label value="${c:l('editarPricingCtrlController.lbMsg.value')}" style="font-weight:bold;"/>
				</row>
				<row>
					<label value="${c:l('editarPricingCtrlController.lbPriorConexao.value')}" />
				</row>
				<row>
					<label value="${c:l('editarPricingCtrlController.lbPriorcorrida.value')}" />
				</row>
				<row>
					<label value="${c:l('editarPricingCtrlController.lbSomarcorridaruta.value')}" />
				</row>
				<row>
					<label value="${c:l('editarPricingCtrlController.lbSomarcorrida.value')}" />
				</row>
				<row>
					<label value="${c:l('editarPricingCtrlController.lbSomarruta.value')}" />
				</row>
				<row>
					<label value="${c:l('editarPricingCtrlController.lbObrdiasminoumax.value')}" />
				</row>
				<row>
					<label value="${c:l('editarPricingCtrlController.lbManterprecoselasiento.value')}" />
				</row>
				<row>
					<label value="${c:l('editarPricingCtrlController.lbPriorizarPricingEspecifico.value')}" />
				</row>
				<row>
					<label value="${c:l('editarPricingCtrlController.lbPriorizarPricingTrecho.value')}" />
				</row>
				<row>
					<label value="${c:l('editarPricingCtrlController.lbPriorizarPricingSomarTrechos.value')}" />
				</row>
				<row>
					<label value="${c:l('editarPricingCtrlController.lbPriorizarPricingHorarioDiaSemana.value')}" />
				</row>
				<row>
					<label value="${c:l('editarPricingCtrlController.lbPriorizarPricingSomarHorarioDiaSemana.value')}" />
				</row>
				<row>
					<label value="${c:l('editarPricingCtrlController.lbPriorizarPricingPriorizarTrechoHorario.value')}" />
				</row>
			</rows>
		</grid>

	</window>
</zk>
