AdmMono/web/gui/expressos/cotizarExpreso.zul

137 lines
6.1 KiB
XML

<?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="winCotizarExpresso"?>
<?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c"?>
<zk xmlns="http://www.zkoss.org/2005/zul">
<window
id="winCotizarExpresso"
title="${c:l('winCotizarExpresso.title')}"
border="normal"
height="484px"
width="712px"
position="center"
mode="overlapped"
apply="${cotizarExpresoController}">
<toolbar>
<button id="btnGuardar" image="/gui/img/save.png" width="35px"
tooltiptext="${c:l('tooltiptext.btnGuardar')}" />
<separator orient="vertical" />
<button id="btnCerrar" onClick="winCotizarExpresso.detach()" image="/gui/img/exit.png" width="35px"
tooltiptext="${c:l('tooltiptext.btnFechar')}"/>
</toolbar>
<grid fixedLayout="true">
<columns>
<column width="25%" />
<column width="25%" />
<column width="25%" />
<column width="25%" />
</columns>
<rows>
<row>
<label value="${c:l('expressosPorCotizarController.lhNumSolicitud.label')}"/>
<textbox id="txtNumSolicitud"
disabled="true"
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"/>
<label value="${c:l('expressosPorCotizarController.lhRuta.label')}"/>
<textbox
id="txtRuta"
disabled="true"
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"/>
</row>
<row>
<label value="${c:l('expressosPorCotizarController.lhIdaRegreso.label')}"/>
<textbox
id="txtIdaRegreso"
disabled="true"
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"/>
<label value="${c:l('expressosPorCotizarController.lhCantidadPasajeros.label')}"/>
<textbox
id="txtCantPasajeros"
disabled="true"
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"/>
</row>
<row>
<label value="${c:l('expressosPorCotizarController.lhFechaIda.label')}"/>
<textbox
id="txtFechaIda"
disabled="true"
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"/>
<label value="${c:l('expressosPorCotizarController.lhFechaRegreso.label')}"/>
<textbox
id="txtFechaRegreso"
disabled="true"
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"/>
</row>
<row>
<label value="${c:l('expressosPorCotizarController.lhSitioRecogidaIda.label')}"/>
<textbox
id="txtSitioRecogidaIda"
disabled="true"
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"/>
<label value="${c:l('expressosPorCotizarController.lhSitioRecogidaRegreso.label')}"/>
<textbox
id="txtSitioRecogidaRegreso"
disabled="true"
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"/>
</row>
<row spans="1, 3">
<fileupload
id="archivoCotizacion"
label="${c:l('expressosPorCotizarController.lhAdjuntarCotizacion.label')}"
upload="true"
onUpload="winCotizarExpresso$composer.onUpload(event)" />
<textbox
id="archivoCotizacionPath"
width="90%"
disabled="true"
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"/>
</row>
</rows>
</grid>
<grid fixedLayout="true">
<rows>
<row>
<label value="${c:l('expressosPorCotizarController.lblOrigen.label')}"/>
<combobox id="cmbOrigen"
mold="rounded"
buttonVisible="true"
width="85%"
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
model="@{winCotizarExpresso$composer.lsOrigen}"/>
<label value="${c:l('expressosPorCotizarController.lblDestino.label')}"/>
<combobox id="cmbDestino"
mold="rounded"
buttonVisible="true"
width="85%"
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
model="@{winCotizarExpresso$composer.lsDestino}"/>
<button id="btnAgregarTrayecto" image="/gui/img/add.png" label="${c:l('expressosPorCotizarController.lblAgregarTrayecto.label')}"
tooltiptext="${c:l('tooltiptext.btnGuardar')}" />
</row>
</rows>
</grid>
<toolbar>
<button id="btnBorrarTrayecto" image="/gui/img/remove.png" width="35px"
tooltiptext="${c:l('tooltiptext.btnBorrar')}" />
<separator orient="vertical" />
<button id="btnRefresh" image="/gui/img/refresh.png" width="35px"
tooltiptext="${c:l('tooltiptext.btnActualizar')}" />
<separator orient="vertical" />
<button id="btnGuardarCotizacion" image="/gui/img/save.png" label="${c:l('tooltiptext.btnGuardar')}"
tooltiptext="${c:l('tooltiptext.btnGuardar')}" />
</toolbar>
<paging id="pagingTrayectos" pageSize="20" />
<listbox id="trayectosList"
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
multiple="false">
<listhead sizable="true">
<listheader label="${c:l('expressosPorCotizarController.lhRuta.label')}"/>
<listheader label="${c:l('expressosPorCotizarController.lhCantidadVehiculos.label')}"/>
<listheader label="${c:l('expressosPorCotizarController.lhValorTrayecto.label')}"/>
</listhead>
</listbox>
</window>
</zk>