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

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


		<grid fixedLayout="true">
			<columns>
				<column width="40%" />
				<column width="60%" />
			</columns>
			<rows>
				<row>
					<label
						value="${c:l('editarPricingController.lbDatas.value')}" />
					<radiogroup Id="rdDatas">
						<hbox>
							<radio id="rdFecViaje"
								label="${c:l('editarPricingController.ckFecViagem.value')}"
								checked="true" />
							<radio id="rdFecVenta"
								label="${c:l('editarPricingController.ckFecCompra.value')}"
								checked="false" />
						</hbox>
					</radiogroup>
				</row>
				<row>
					<label
						value="${c:l('editarPricingController.hIni.value')}" />
					<timebox id="horarioinicio" format="HH:mm"
						mold="rounded" constraint="no empty"
						value="@{winEditarPricingDia$composer.pricingDia.horarioinicio}" />
				</row>
				<row>
					<label
						value="${c:l('editarPricingController.hFim.value')}" />
					<timebox id="horariofin" format="HH:mm"
						mold="rounded" constraint="no empty"
						value="@{winEditarPricingDia$composer.pricingDia.horariofin}" />
				</row>
				<row>
					<label
						value="${c:l('editarPricingController.lbDias.value')}" />
					<hbox>
						<checkbox id="rdLun"
							label="${c:l('editarPricingController.lbLunM.value')}"
							checked="false" />
						<checkbox id="rdMar"
							label="${c:l('editarPricingController.lbMarM.value')}"
							checked="false" />
						<checkbox id="rdMie"
							label="${c:l('editarPricingController.lbMieM.value')}"
							checked="false" />
						<checkbox id="rdJue"
							label="${c:l('editarPricingController.lbJueM.value')}"
							checked="false" />
						<checkbox id="rdVie"
							label="${c:l('editarPricingController.lbVieM.value')}"
							checked="false" />
						<checkbox id="rdSab"
							label="${c:l('editarPricingController.lbSabM.value')}"
							checked="false" />
						<checkbox id="rdDom"
							label="${c:l('editarPricingController.lbDomM.value')}"
							checked="false" />
					</hbox>
				</row>
			</rows>
		</grid>
	</window>
</zk>