461 lines
17 KiB
XML
461 lines
17 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="winEditarPuntoVenta"?>
|
|
<?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c"?>
|
|
|
|
<zk xmlns="http://www.zkoss.org/2005/zul">
|
|
<window id="winEditarPuntoVenta" border="normal"
|
|
apply="${editarPuntoVentaController}" height="520px" width="640px"
|
|
contentStyle="overflow:auto"
|
|
title="${c:l('editarPuntoVentaController.window.title')}">
|
|
<toolbar>
|
|
<hbox spacing="5px" style="padding:1px" align="right">
|
|
<button id="btnApagar" height="20"
|
|
image="/gui/img/remove.png" width="35px"
|
|
tooltiptext="${c:l('editarPuntoVentaController.btnApagar.tooltiptext')}" />
|
|
<button id="btnSalvar" height="20"
|
|
image="/gui/img/save.png" width="35px"
|
|
tooltiptext="${c:l('editarPuntoVentaController.btnSalvar.tooltiptext')}" />
|
|
<button id="btnFechar" height="20"
|
|
image="/gui/img/exit.png" width="35px"
|
|
onClick="winEditarPuntoVenta.detach()"
|
|
tooltiptext="${c:l('editarPuntoVentaController.btnFechar.tooltiptext')}" />
|
|
</hbox>
|
|
</toolbar>
|
|
|
|
<tabbox>
|
|
<tabs width="200px">
|
|
<tab
|
|
label="${c:l('editarPuntoVentaController.window.title')}" />
|
|
<tab
|
|
label="${c:l('editarPuntoVentaController.tab.label.endereco')}" />
|
|
<tab
|
|
label="${c:l('indexController.mniFormaPago.label')}" />
|
|
<tab
|
|
label="${c:l('editarPuntoVentaController.tab.label.recoleccion')}" />
|
|
<tab
|
|
label="${c:l('editarPuntoVentaController.tab.label.empVenta')}" />
|
|
<tab visible="false"
|
|
label="${c:l('editarPuntoVentaController.tab.label.usuBancario')}" />
|
|
</tabs>
|
|
|
|
<tabpanels>
|
|
<tabpanel>
|
|
<grid fixedLayout="true">
|
|
<columns>
|
|
<column width="30%" />
|
|
<column width="70%" />
|
|
</columns>
|
|
<rows>
|
|
<row>
|
|
<!--Nome do Ponto de Venda-->
|
|
<label
|
|
value="${c:l('editarPuntoVentaController.lbNome.value')}" />
|
|
<textbox id="txtNome"
|
|
constraint="no empty" width="70%" maxlength="60"
|
|
value="@{winEditarPuntoVenta$composer.puntoVenta.nombpuntoventa}"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
|
</row>
|
|
<row>
|
|
<!-- Parada -->
|
|
<label
|
|
value="${c:l('editarPuntoVentaController.lbparada.value')}" />
|
|
<combobox id="cmbParada"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxParada"
|
|
mold="rounded" buttonVisible="true" width="70%"
|
|
selectedItem="@{winEditarPuntoVenta$composer.puntoVenta.parada}" />
|
|
</row>
|
|
<row>
|
|
<!-- Empresa -->
|
|
<label
|
|
value="${c:l('editarPuntoVentaController.lbEmpresa.value')}" />
|
|
<combobox id="cmbEmpresa"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
|
constraint="no empty" mold="rounded" buttonVisible="true"
|
|
width="70%" model="@{winEditarPuntoVenta$composer.lsEmpresas}"
|
|
selectedItem="@{winEditarPuntoVenta$composer.puntoVenta.empresa}" />
|
|
</row>
|
|
<row>
|
|
<!-- Tipo Pto Venda -->
|
|
<label
|
|
value="${c:l('editarPuntoVentaController.lbTpoPtoVta.value')}" />
|
|
<combobox id="cmbTipoPontoVenta"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
|
constraint="no empty" mold="rounded" buttonVisible="true"
|
|
width="70%"
|
|
model="@{winEditarPuntoVenta$composer.lsTipoPuntoVenta}"
|
|
selectedItem="@{winEditarPuntoVenta$composer.puntoVenta.tipoPuntoVenta}" />
|
|
</row>
|
|
<row>
|
|
<!-- Moneda -->
|
|
<label
|
|
value="${c:l('editarPuntoVentaController.lbMoneda.value')}" />
|
|
<combobox id="cmbMoneda"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
|
constraint="no empty" mold="rounded" buttonVisible="true"
|
|
width="70%" model="@{winEditarPuntoVenta$composer.lsMoneda}"
|
|
selectedItem="@{winEditarPuntoVenta$composer.puntoVenta.moneda}" />
|
|
</row>
|
|
<row>
|
|
<!-- Status Aprobacion -->
|
|
<label
|
|
value="${c:l('editarPuntoVentaController.lbStaAprobacion.value')}" />
|
|
<radiogroup Id="indAprobacion">
|
|
<radio id="radAprobacionAutorizado"
|
|
label="${c:l('editarCatalogoDeRutaController.radAprobacionAutorizado.value')}"
|
|
checked="true" />
|
|
<radio id="radAprobacionLatente"
|
|
label="${c:l('editarCatalogoDeRutaController.radAprobacionLatente.value')}" />
|
|
</radiogroup>
|
|
</row>
|
|
<row>
|
|
<!-- Tel1 -->
|
|
<label
|
|
value="${c:l('editarPuntoVentaController.lbTelefonoUno.value')}" />
|
|
<textbox id="numtelefonouno"
|
|
constraint="no zero" width="70%" maxlength="10"
|
|
value="@{winEditarPuntoVenta$composer.puntoVenta.numtelefonouno}"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
|
</row>
|
|
<row>
|
|
<!-- Tel2 -->
|
|
<label
|
|
value="${c:l('editarPuntoVentaController.lbTelefonoDos.value')}" />
|
|
<textbox id="numtelefonodos"
|
|
constraint="no zero" width="70%" maxlength="10"
|
|
value="@{winEditarPuntoVenta$composer.puntoVenta.numtelefonodos}"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
|
</row>
|
|
|
|
<row>
|
|
<!-- Nodo -->
|
|
<label
|
|
value="${c:l('editarPuntoVentaController.lbNodo.value')}" />
|
|
<combobox id="cmbNodo"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
|
constraint="no empty" mold="rounded" buttonVisible="true"
|
|
width="70%" model="@{winEditarPuntoVenta$composer.lsNodos}"
|
|
selectedItem="@{winEditarPuntoVenta$composer.puntoVenta.nodo}" />
|
|
</row>
|
|
|
|
<!-- Novo dados bancarios -->
|
|
<row visible="false">
|
|
<label
|
|
value="${c:l('editarEstacionController.conexion')}" />
|
|
<combobox id="cmbConexion" width="90%"
|
|
mold="rounded" buttonVisible="true"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
|
selectedItem="@{winEditarPuntoVenta$composer.puntoVenta.conexionBancaria}">
|
|
<comboitem value="B"
|
|
label="${c:l('editarEstacionController.IndTipo.1')}" />
|
|
<comboitem value="M"
|
|
label="${c:l('editarEstacionController.IndTipo.2')}" />
|
|
<comboitem value="S"
|
|
label="${c:l('editarEstacionController.IndTipo.3')}" />
|
|
</combobox>
|
|
</row>
|
|
<row visible="false">
|
|
<label
|
|
value="${c:l('editarEstacionController.usuario')}" />
|
|
<combobox id="cmbUsuarioBancario"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
|
mold="rounded" buttonVisible="true" width="90%" disabled="true"
|
|
model="@{winEditarPuntoVenta$composer.lsUsuarioBancario}"
|
|
selectedItem="@{winEditarPuntoVenta$composer.puntoVenta.usuarioBancario}" />
|
|
</row>
|
|
<!-- Novo dados bancarios fim -->
|
|
<row>
|
|
<!-- dscUsuarioInternet -->
|
|
<label
|
|
value="${c:l('editarPuntoVentaController.lbdscUsuarioInternet.value')}" />
|
|
<textbox id="dscUsuarioInternet"
|
|
constraint="no empty" width="70%" maxlength="30"
|
|
value="@{winEditarPuntoVenta$composer.puntoVenta.dscUsuarioInternet}"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
|
</row>
|
|
<row>
|
|
<!-- dscContrasenaInternet -->
|
|
<label
|
|
value="${c:l('editarPuntoVentaController.lbdscContrasenaInternet.value')}" />
|
|
<textbox id="dscContrasenaInternet"
|
|
constraint="no empty" width="70%" maxlength="30"
|
|
value="@{winEditarPuntoVenta$composer.puntoVenta.dscContrasenaInternet}"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
|
</row>
|
|
|
|
<row>
|
|
<!-- Comentarios -->
|
|
<label
|
|
value="${c:l('editarPuntoVentaController.lbComentarios.value')}" />
|
|
<textbox id="comentarios" rows="3"
|
|
width="90%" maxlength="100"
|
|
value="@{winEditarPuntoVenta$composer.puntoVenta.comentarios}"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
|
</row>
|
|
</rows>
|
|
</grid>
|
|
</tabpanel>
|
|
<tabpanel>
|
|
<grid fixedLayout="true">
|
|
<columns>
|
|
<column width="30%" />
|
|
<column width="70%" />
|
|
</columns>
|
|
<rows>
|
|
<row>
|
|
<!--Rua-->
|
|
<label
|
|
value="${c:l('editarPuntoVentaController.lbCalle.value')}" />
|
|
<textbox id="direccioncalle"
|
|
constraint="no empty" width="70%" maxlength="30"
|
|
value="@{winEditarPuntoVenta$composer.puntoVenta.direccioncalle}"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
|
</row>
|
|
<row>
|
|
<!--Numero-->
|
|
<label
|
|
value="${c:l('editarPuntoVentaController.lbNumero.value')}" />
|
|
<textbox id="direccionnumero"
|
|
constraint="no empty" width="70%" maxlength="30"
|
|
value="@{winEditarPuntoVenta$composer.puntoVenta.direccionnumero}"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
|
</row>
|
|
<row>
|
|
<!-- descCorreo -->
|
|
<label
|
|
value="${c:l('editarPuntoVentaController.lbDescCorreo.value')}" />
|
|
<textbox id="descCorreo"
|
|
constraint="no empty" width="70%" maxlength="60"
|
|
value="@{winEditarPuntoVenta$composer.puntoVenta.descCorreo}"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
|
</row>
|
|
<row>
|
|
<!--Ciudad-->
|
|
<label
|
|
value="${c:l('editarPuntoVentaController.lbCiudad.value')}" />
|
|
<combobox id="cmbCiudad"
|
|
autodrop="false" constraint="no empty"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxCiudad"
|
|
mold="rounded" buttonVisible="true" width="70%" />
|
|
</row>
|
|
<row>
|
|
<!--Colonia-->
|
|
<label
|
|
value="${c:l('editarPuntoVentaController.lbColonia.value')}" />
|
|
<combobox id="cmbColonia"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
|
mold="rounded" buttonVisible="true" width="70%" />
|
|
</row>
|
|
<row>
|
|
<!--CP-->
|
|
<label
|
|
value="${c:l('editarPuntoVentaController.lbCP.value')}" />
|
|
<textbox id="txtCP"
|
|
constraint="no empty" width="70%" maxlength="30"
|
|
value="@{winEditarPuntoVenta$composer.puntoVenta.colonia.codpostal}" />
|
|
</row>
|
|
</rows>
|
|
</grid>
|
|
</tabpanel>
|
|
<tabpanel height="300px">
|
|
<grid fixedLayout="true">
|
|
<columns>
|
|
<column width="40%" />
|
|
<column width="60%" />
|
|
</columns>
|
|
<rows>
|
|
<row>
|
|
<label id="lblFormaPago"
|
|
value="${c:l('editarConfiguracionFormaPagoController.lblInicial.value')}" />
|
|
<combobox id="cmbFormaPago"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
|
width="80%" mold="rounded" buttonVisible="true"
|
|
constraint="no empty"
|
|
model="@{winEditarPuntoVenta$composer.lsFormaPago}" />
|
|
</row>
|
|
<row>
|
|
<label id="lblCargosExtras"
|
|
value="${c:l('editarConfiguracionFormaPagoController.lblCargosExtras.value')}" />
|
|
<doublebox id="txtCargosExtras"
|
|
width="80%" value="0.0" maxlength="7"
|
|
constraint="no empty, no negative" />
|
|
</row>
|
|
</rows>
|
|
</grid>
|
|
|
|
<toolbar>
|
|
<hbox spacing="5px" style="padding:1px"
|
|
align="right">
|
|
<button id="btnApagarFormaPago" height="20"
|
|
image="/gui/img/remove.png" width="35px"
|
|
tooltiptext="${c:l('editarConfiguracionFormaPagoController.btnApagar.tooltiptext')}" />
|
|
<button id="btnSalvarFormaPago" height="20"
|
|
image="/gui/img/add.png" width="35px"
|
|
tooltiptext="${c:l('editarConfiguracionFormaPagoController.btnSalvar.tooltiptext')}" />
|
|
</hbox>
|
|
</toolbar>
|
|
|
|
<listbox id="formaPagoList"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
|
vflex="true" multiple="false">
|
|
<listhead sizable="true">
|
|
<listheader id="lhFormaPago"
|
|
image="/gui/img/builder.gif"
|
|
label="${c:l('editarConfiguracionFormaPagoController.lblInicial.value')}" />
|
|
<listheader id="lhCargosExtras"
|
|
image="/gui/img/builder.gif"
|
|
label="${c:l('editarConfiguracionFormaPagoController.lblCargosExtras.value')}" />
|
|
</listhead>
|
|
</listbox>
|
|
</tabpanel>
|
|
|
|
<!-- ParamRecoleccion -->
|
|
<tabpanel height="300px">
|
|
<grid fixedLayout="true">
|
|
<columns>
|
|
<column width="40%" />
|
|
<column width="60%" />
|
|
</columns>
|
|
<rows>
|
|
<row>
|
|
<label
|
|
value="${c:l('editarPuntoVentaController.lblInicial.value')}" />
|
|
<textbox id="importeInicial"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal"
|
|
precision="7" scale="2" constraint="no empty" />
|
|
|
|
</row>
|
|
<row>
|
|
<label
|
|
value="${c:l('editarPuntoVentaController.lblAdicional.value')}" />
|
|
<textbox id="importeAdicional"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal"
|
|
precision="7" scale="2" constraint="no empty" />
|
|
</row>
|
|
</rows>
|
|
</grid>
|
|
|
|
<toolbar>
|
|
<hbox spacing="5px" style="padding:1px"
|
|
align="right">
|
|
<button id="btnApagarParamRecoleccion"
|
|
height="20" image="/gui/img/remove.png" width="35px"
|
|
tooltiptext="${c:l('editarConfiguracionFormaPagoController.btnApagar.tooltiptext')}" />
|
|
<button id="btnSalvarParamRecoleccion"
|
|
height="20" image="/gui/img/add.png" width="35px"
|
|
tooltiptext="${c:l('editarConfiguracionFormaPagoController.btnSalvar.tooltiptext')}" />
|
|
</hbox>
|
|
</toolbar>
|
|
|
|
<listbox id="paramRecoleccionList"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
|
vflex="true" multiple="false">
|
|
<listhead sizable="true">
|
|
<listheader image="/gui/img/builder.gif"
|
|
label="${c:l('editarPuntoVentaController.lblInicial.value')}" />
|
|
<listheader image="/gui/img/builder.gif"
|
|
label="${c:l('editarPuntoVentaController.lblAdicional.value')}" />
|
|
</listhead>
|
|
</listbox>
|
|
</tabpanel>
|
|
<!-- Empresas para venta -->
|
|
<tabpanel height="300px">
|
|
<grid fixedLayout="true">
|
|
<columns>
|
|
<column width="40%" />
|
|
<column width="60%" />
|
|
</columns>
|
|
<rows>
|
|
<row>
|
|
<label
|
|
value="${c:l('editarPuntoVentaController.lbEmpresa.value')}" />
|
|
<combobox id="cmbEmpresaPtoVta"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
|
constraint="no empty" mold="rounded" buttonVisible="true"
|
|
width="70%" model="@{winEditarPuntoVenta$composer.lsEmpresas}" />
|
|
</row>
|
|
</rows>
|
|
</grid>
|
|
|
|
<toolbar>
|
|
<hbox spacing="5px" style="padding:1px"
|
|
align="right">
|
|
<button id="btnSalvarPtovtaEmpresa"
|
|
height="20" image="/gui/img/add.png" width="35px"
|
|
tooltiptext="${c:l('tooltiptext.btnAgregar')}" />
|
|
|
|
<button id="btnApagarPtovtaEmpresa"
|
|
height="20" image="/gui/img/remove.png" width="35px"
|
|
tooltiptext="${c:l('tooltiptext.btnEliminar')}" />
|
|
</hbox>
|
|
</toolbar>
|
|
|
|
<listbox id="ptovtaEmpresaList"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
|
vflex="true" multiple="false">
|
|
<listhead sizable="true">
|
|
<listheader image="/gui/img/builder.gif"
|
|
label="${c:l('editarPuntoVentaController.lbEmpresa.value')}" />
|
|
</listhead>
|
|
</listbox>
|
|
</tabpanel>
|
|
<!-- Usuario Bancario -->
|
|
<tabpanel height="300px">
|
|
<grid fixedLayout="true">
|
|
<columns>
|
|
<column width="40%" />
|
|
<column width="60%" />
|
|
</columns>
|
|
<rows>
|
|
<row>
|
|
<label
|
|
value="${c:l('editarPuntoVentaController.lbEmpresa.value')}" />
|
|
<combobox
|
|
id="cmbEmpresaPtoVtaUsuarioBancario"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
|
constraint="no empty" mold="rounded" buttonVisible="true"
|
|
width="70%" model="@{winEditarPuntoVenta$composer.lsEmpresas}" />
|
|
</row>
|
|
<row>
|
|
<label
|
|
value="${c:l('editarPuntoVentaController.tab.label.usuBancario')}" />
|
|
<combobox
|
|
id="cmbUsuarioBancarioPtoVtaUsuarioBancario"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
|
constraint="no empty" mold="rounded" buttonVisible="true"
|
|
width="70%"
|
|
model="@{winEditarPuntoVenta$composer.lsUsuarioBancario}" />
|
|
</row>
|
|
</rows>
|
|
</grid>
|
|
|
|
<toolbar>
|
|
<hbox spacing="5px" style="padding:1px"
|
|
align="right">
|
|
<button id="btnSalvarPtovtaUsuarioBancario"
|
|
height="20" image="/gui/img/add.png" width="35px"
|
|
tooltiptext="${c:l('tooltiptext.btnAgregar')}" />
|
|
|
|
<button id="btnApagarPtovtaUsuarioBancario"
|
|
height="20" image="/gui/img/remove.png" width="35px"
|
|
tooltiptext="${c:l('tooltiptext.btnEliminar')}" />
|
|
</hbox>
|
|
</toolbar>
|
|
|
|
<listbox id="ptovtaUsuarioBancarioList"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
|
vflex="true" multiple="false">
|
|
<listhead sizable="true">
|
|
<listheader image="/gui/img/builder.gif"
|
|
label="${c:l('editarPuntoVentaController.lbEmpresa.value')}" />
|
|
<listheader image="/gui/img/builder.gif"
|
|
label="${c:l('editarPuntoVentaController.tab.label.usuBancario')}" />
|
|
</listhead>
|
|
</listbox>
|
|
</tabpanel>
|
|
</tabpanels>
|
|
</tabbox>
|
|
</window>
|
|
</zk>
|