AdmMono/web/gui/catalogos/busquedaPuntoVenta.zul

130 lines
7.8 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="winBusquedaPuntoVenta"?>
<?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c"?>
<zk xmlns="http://www.zkoss.org/2005/zul">
<window id="winBusquedaPuntoVenta" title="${c:l('busquedaPuntoVentaController.window.title')}"
apply="${busquedaPuntoVentaController}" contentStyle="overflow:auto"
height="500px" width="950px" border="normal" >
<toolbar>
<button id="btnRefresh" image="/gui/img/refresh.png" width="35px"
tooltiptext="${c:l('busquedaPuntoVentaController.btnRefresh.tooltiptext')}" />
<separator orient="vertical" />
<button id="btnNovo" image="/gui/img/add.png" width="35px"
tooltiptext="${c:l('busquedaPuntoVentaController.btnNovo.tooltiptext')}" />
<separator orient="vertical" />
<button id="btnCerrar" onClick="winBusquedaPuntoVenta.detach()" image="/gui/img/exit.png" width="35px"
tooltiptext="${c:l('busquedaPuntoVentaController.btnCerrar.tooltiptext')}"/>
</toolbar>
<grid fixedLayout="true">
<columns>
<column width="20%" />
<column width="35%" />
<column width="10%" />
<column width="35%" />
</columns>
<rows>
<row>
<!--Nome do Ponto de Venda-->
<label value="${c:l('editarPuntoVentaController.lbNome.value')}"/>
<textbox id="txtNombre" width="99%" maxlength="60"
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"/>
<!-- Empresa -->
<label value="${c:l('editarPuntoVentaController.lbEmpresa.value')}"/>
<combobox id="cmbEmpresa" use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar" width="99%"
mold="rounded" buttonVisible="true"
model="@{winBusquedaPuntoVenta$composer.lsEmpresas}"/>
</row>
<row>
<!-- Tipo Pto Venda -->
<label value="${c:l('editarPuntoVentaController.lbTpoPtoVta.value')}"/>
<combobox id="cmbTipoPontoVenta" use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
mold="rounded" buttonVisible="true" width="100%"
model="@{winBusquedaPuntoVenta$composer.lsTipoPuntoVenta}"/>
<!-- Moneda -->
<label value="${c:l('editarPuntoVentaController.lbMoneda.value')}"/>
<combobox id="cmbMoneda" use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar" width="100%"
mold="rounded" buttonVisible="true"
model="@{winBusquedaPuntoVenta$composer.lsMoneda}"/>
</row>
<row>
<!-- Status Aprobacion -->
<label value="${c:l('editarPuntoVentaController.lbStaAprobacion.value')}"/>
<radiogroup Id="indAprobacion" >
<radio id="radAprobacionAutorizado" label="${c:l('editarCatalogoDeRutaController.radAprobacionAutorizado.value')}"/>
<radio id="radAprobacionLatente" label="${c:l('editarCatalogoDeRutaController.radAprobacionLatente.value')}"/>
</radiogroup>
<!-- Nodo -->
<label value="${c:l('editarPuntoVentaController.lbNodo.value')}"/>
<combobox id="cmbNodo" use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar" width="100%"
mold="rounded" buttonVisible="true"
model="@{winBusquedaPuntoVenta$composer.lsNodos}"/>
</row>
<row spans="1,3">
<!-- calle -->
<label value="${c:l('editarPuntoVentaController.lbCalle.value')}"/>
<textbox id="txtCalle" width="99%" maxlength="60"
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"/>
</row>
<row>
<!-- Numero-->
<label value="${c:l('editarPuntoVentaController.lbNumero.value')}"/>
<textbox id="txtNumero" width="99%" maxlength="30"
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"/>
<!-- Colonia -->
<label value="${c:l('editarPuntoVentaController.lbColonia.value')}"/>
<textbox id="txtColonia" width="99%" maxlength="30"
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"/>
</row>
<row>
<!-- Telefono uno -->
<label value="${c:l('editarPuntoVentaController.lbTelefonoUno.value')}"/>
<textbox id="txtTelefonoUno" width="99%" maxlength="30"
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"/>
<!-- Telefono dos -->
<label value="${c:l('editarPuntoVentaController.lbTelefonoDos.value')}"/>
<textbox id="txtTelefonoDos" width="99%" maxlength="30"
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"/>
</row>
</rows>
</grid>
<toolbar>
<button id="btnPesquisa" image="/gui/img/find.png"
label="${c:l('busquedaPuntoVentaController.btnPesquisa.label')}"/>
</toolbar>
<paging id="pagingPuntoVenta" pageSize="20"/>
<listbox id="puntoVentaList" use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
vflex="true" multiple="false">
<listhead sizable="true">
<listheader image="/gui/img/create_doc.gif" width="55px"
label="${c:l('busquedaPuntoVentaController.lhId.label')}"
sort="auto(puntoventaId)"/>
<listheader id="lhDesc" image="/gui/img/create_doc.gif"
label="${c:l('busquedaPuntoVentaController.lhDesc.label')}"
sort="auto(nombpuntoventa)" width="200px"/>
<listheader image="/gui/img/create_doc.gif"
label="${c:l('editarPuntoVentaController.lbEmpresa.value')}"
sort="auto(empresa.nombempresa)" width="110px"/>
<listheader image="/gui/img/create_doc.gif"
label="${c:l('editarPuntoVentaController.lbCalle.value')}"
sort="auto(direccioncalle)" width="200px"/>
<listheader image="/gui/img/create_doc.gif"
label="${c:l('editarPuntoVentaController.lbNumero.value')}"
sort="auto(direccionnumero)" width="110px"/>
<listheader image="/gui/img/create_doc.gif"
label="${c:l('editarPuntoVentaController.lbTelefonoUno.value')}"
sort="auto(numtelefonouno)" width="110px"/>
<listheader image="/gui/img/create_doc.gif"
label="${c:l('editarPuntoVentaController.lbTelefonoDos.value')}"
sort="auto(numtelefonodos)" width="110px"/>
</listhead>
</listbox>
</window>
</zk>