gleimar 2013-01-17 19:52:40 +00:00
parent 3b3a021a18
commit 68b56d6b0a
8 changed files with 25 additions and 20 deletions

View File

@ -241,12 +241,9 @@ public class BusquedaPuntoVentaController extends MyGenericForwardComposer {
}
private void refreshLista() {
HibernateSearchObject<PuntoVenta> claseServicioBusqueda =
new HibernateSearchObject<PuntoVenta>(PuntoVenta.class,
pagingPuntoVenta.getPageSize());
HibernateSearchObject<PuntoVenta> claseServicioBusqueda =new HibernateSearchObject<PuntoVenta>(PuntoVenta.class,pagingPuntoVenta.getPageSize());
claseServicioBusqueda.addFilterLike("nombpuntoventa",
"%" + txtNombre.getText().trim().concat("%"));
claseServicioBusqueda.addFilterLike("nombpuntoventa","%" + txtNombre.getText().trim().concat("%"));
Comboitem itemEmpresa = cmbEmpresa.getSelectedItem();
Comboitem itemTipoPontoVenta = cmbTipoPontoVenta.getSelectedItem();

View File

@ -210,6 +210,7 @@ public class EditarPuntoVentaController extends MyGenericForwardComposer {
private Timebox timeboxFim;
private Intbox txtQuant;
private Intbox txtcodAg;
private Intbox txtNumPtoVta;
private Textbox txtNomeBanco;
private Checkbox checkRecibo;
private Checkbox checkTarifaReceita;
@ -612,6 +613,7 @@ public class EditarPuntoVentaController extends MyGenericForwardComposer {
public void onClick$btnSalvar(Event ev) throws InterruptedException {
txtNome.getValue();
txtNumPtoVta.getValue();
txtNumFax.getValue();
txtCompl.getValue();
txtNumAg.getValue();
@ -691,7 +693,7 @@ public class EditarPuntoVentaController extends MyGenericForwardComposer {
puntoVenta.setUsuarioBancario(null);
}
List<PuntoVenta> lsPv = puntoVentaService.buscar(puntoVenta);
List<PuntoVenta> lsPv = puntoVentaService.buscar(puntoVenta.getNombpuntoventa() , puntoVenta.getNumPuntoVenta());
boolean podeSalvar = false;

View File

@ -7,7 +7,7 @@
# <controler>. <id>. <propiedade> = XXX
#Versao do VentaBoleto:
versao = ADM_20121228_1RC95
versao = ADM_20130117_1RC96
# MSG Defaut:
MSG.CONSTRAINT.PORCENTAGEM = Os valores devem estar entre 0 e 100
@ -541,6 +541,7 @@ editarPuntoVentaController.tab.label.empVenta = Empresas para Venda
editarPuntoVentaController.tab.label.estoque = Estoque Mínimo
editarPuntoVentaController.tab.label.usuBancario = Usuarios bancários
editarPuntoVentaController.lbCP.value = Cod. Postal
editarPuntoVentaController.lblNumPuntoVenda=Número Agência
# Muestra o TipoVenta Pesquisa
busquedaTipoVentaController.window.title = Modalidade de Venda

View File

@ -21,20 +21,20 @@
<grid fixedLayout="true">
<columns>
<column width="15%" />
<column width="20%" />
<column width="35%" />
<column width="15%" />
<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="70%" maxlength="60"
<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="100%"
<combobox id="cmbEmpresa" use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar" width="99%"
mold="rounded" buttonVisible="true"
model="@{winBusquedaPuntoVenta$composer.lsEmpresas}"/>
</row>
@ -66,28 +66,28 @@
<row spans="1,3">
<!-- calle -->
<label value="${c:l('editarPuntoVentaController.lbCalle.value')}"/>
<textbox id="txtCalle" width="27%" maxlength="60"
<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="70%" maxlength="30"
<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="70%" maxlength="30"
<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="70%" maxlength="30"
<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="70%" maxlength="30"
<textbox id="txtTelefonoDos" width="99%" maxlength="30"
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"/>
</row>
</rows>

View File

@ -59,6 +59,11 @@
value="@{winEditarPuntoVenta$composer.puntoVenta.nombpuntoventa}"
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
</row>
<row>
<label value="${c:l('editarPuntoVentaController.lblNumPuntoVenda')}"/>
<intbox id="txtNumPtoVta" maxlength="7" constraint="no empty"
value="@{winEditarPuntoVenta$composer.puntoVenta.numPuntoVenta}" />
</row>
<row>
<!-- Parada -->
<label

View File

@ -31,7 +31,7 @@
</row>
<row spans="1,3">
<label id="lbNumCorrida" value="${c:l('editarConfiguracionCorridaController.lbNumCorrida.label')}"/>
<intbox id="txtNumCorrida" maxlength="4" />
<intbox id="txtNumCorrida" maxlength="7" />
</row>
<row spans="1,3">
<label value="${c:l('busquedaConfiguracionCorridaController.lhHora.label')}"/>

View File

@ -81,7 +81,7 @@
</row>
<row>
<label id="lbNumCorrida" value="${c:l('editarConfiguracionCorridaController.lbNumCorrida.value')}"/>
<intbox id="txtNumCorrida" maxlength="4" constraint="no empty" width="120px"
<intbox id="txtNumCorrida" maxlength="7" constraint="no empty" width="120px"
value="@{winEditarCorrida$composer.esquemaCorrida.numCorrida}" />
</row>
<row>

View File

@ -7,7 +7,7 @@
<zk xmlns="http://www.zkoss.org/2005/zul">
<window id="winEditarUsuario" border="normal"
apply="${editarUsuarioController}"
width="600px" height="457px" contentStyle="overflow:auto"
width="600px" height="380px" contentStyle="overflow:auto"
title="${c:l('editarUsuarioController.window.title')}">
<toolbar>
<hbox spacing="5px" style="padding:1px" align="right">
@ -166,7 +166,7 @@
</grid>
<listbox id="empresaList" use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
multiple="false" height="100px" >
multiple="false" height="170px" >
<listhead sizable="true">
<listheader id="lhCNPJ" image="/gui/img/create_doc.gif"
label="${c:l('editarUsuarioController.lhCNPJ.label')}"/>