git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@23636 d1611594-4594-4d17-8e1d-87c2c4800839
parent
3b3a021a18
commit
68b56d6b0a
|
@ -241,12 +241,9 @@ public class BusquedaPuntoVentaController extends MyGenericForwardComposer {
|
||||||
}
|
}
|
||||||
|
|
||||||
private void refreshLista() {
|
private void refreshLista() {
|
||||||
HibernateSearchObject<PuntoVenta> claseServicioBusqueda =
|
HibernateSearchObject<PuntoVenta> claseServicioBusqueda =new HibernateSearchObject<PuntoVenta>(PuntoVenta.class,pagingPuntoVenta.getPageSize());
|
||||||
new HibernateSearchObject<PuntoVenta>(PuntoVenta.class,
|
|
||||||
pagingPuntoVenta.getPageSize());
|
|
||||||
|
|
||||||
claseServicioBusqueda.addFilterLike("nombpuntoventa",
|
claseServicioBusqueda.addFilterLike("nombpuntoventa","%" + txtNombre.getText().trim().concat("%"));
|
||||||
"%" + txtNombre.getText().trim().concat("%"));
|
|
||||||
|
|
||||||
Comboitem itemEmpresa = cmbEmpresa.getSelectedItem();
|
Comboitem itemEmpresa = cmbEmpresa.getSelectedItem();
|
||||||
Comboitem itemTipoPontoVenta = cmbTipoPontoVenta.getSelectedItem();
|
Comboitem itemTipoPontoVenta = cmbTipoPontoVenta.getSelectedItem();
|
||||||
|
|
|
@ -210,6 +210,7 @@ public class EditarPuntoVentaController extends MyGenericForwardComposer {
|
||||||
private Timebox timeboxFim;
|
private Timebox timeboxFim;
|
||||||
private Intbox txtQuant;
|
private Intbox txtQuant;
|
||||||
private Intbox txtcodAg;
|
private Intbox txtcodAg;
|
||||||
|
private Intbox txtNumPtoVta;
|
||||||
private Textbox txtNomeBanco;
|
private Textbox txtNomeBanco;
|
||||||
private Checkbox checkRecibo;
|
private Checkbox checkRecibo;
|
||||||
private Checkbox checkTarifaReceita;
|
private Checkbox checkTarifaReceita;
|
||||||
|
@ -612,6 +613,7 @@ public class EditarPuntoVentaController extends MyGenericForwardComposer {
|
||||||
public void onClick$btnSalvar(Event ev) throws InterruptedException {
|
public void onClick$btnSalvar(Event ev) throws InterruptedException {
|
||||||
|
|
||||||
txtNome.getValue();
|
txtNome.getValue();
|
||||||
|
txtNumPtoVta.getValue();
|
||||||
txtNumFax.getValue();
|
txtNumFax.getValue();
|
||||||
txtCompl.getValue();
|
txtCompl.getValue();
|
||||||
txtNumAg.getValue();
|
txtNumAg.getValue();
|
||||||
|
@ -691,7 +693,7 @@ public class EditarPuntoVentaController extends MyGenericForwardComposer {
|
||||||
puntoVenta.setUsuarioBancario(null);
|
puntoVenta.setUsuarioBancario(null);
|
||||||
}
|
}
|
||||||
|
|
||||||
List<PuntoVenta> lsPv = puntoVentaService.buscar(puntoVenta);
|
List<PuntoVenta> lsPv = puntoVentaService.buscar(puntoVenta.getNombpuntoventa() , puntoVenta.getNumPuntoVenta());
|
||||||
|
|
||||||
boolean podeSalvar = false;
|
boolean podeSalvar = false;
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
# <controler>. <id>. <propiedade> = XXX
|
# <controler>. <id>. <propiedade> = XXX
|
||||||
|
|
||||||
#Versao do VentaBoleto:
|
#Versao do VentaBoleto:
|
||||||
versao = ADM_20121228_1RC95
|
versao = ADM_20130117_1RC96
|
||||||
|
|
||||||
# MSG Defaut:
|
# MSG Defaut:
|
||||||
MSG.CONSTRAINT.PORCENTAGEM = Os valores devem estar entre 0 e 100
|
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.estoque = Estoque Mínimo
|
||||||
editarPuntoVentaController.tab.label.usuBancario = Usuarios bancários
|
editarPuntoVentaController.tab.label.usuBancario = Usuarios bancários
|
||||||
editarPuntoVentaController.lbCP.value = Cod. Postal
|
editarPuntoVentaController.lbCP.value = Cod. Postal
|
||||||
|
editarPuntoVentaController.lblNumPuntoVenda=Número Agência
|
||||||
|
|
||||||
# Muestra o TipoVenta Pesquisa
|
# Muestra o TipoVenta Pesquisa
|
||||||
busquedaTipoVentaController.window.title = Modalidade de Venda
|
busquedaTipoVentaController.window.title = Modalidade de Venda
|
||||||
|
|
|
@ -21,20 +21,20 @@
|
||||||
|
|
||||||
<grid fixedLayout="true">
|
<grid fixedLayout="true">
|
||||||
<columns>
|
<columns>
|
||||||
<column width="15%" />
|
<column width="20%" />
|
||||||
<column width="35%" />
|
<column width="35%" />
|
||||||
<column width="15%" />
|
<column width="10%" />
|
||||||
<column width="35%" />
|
<column width="35%" />
|
||||||
</columns>
|
</columns>
|
||||||
<rows>
|
<rows>
|
||||||
<row>
|
<row>
|
||||||
<!--Nome do Ponto de Venda-->
|
<!--Nome do Ponto de Venda-->
|
||||||
<label value="${c:l('editarPuntoVentaController.lbNome.value')}"/>
|
<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"/>
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"/>
|
||||||
<!-- Empresa -->
|
<!-- Empresa -->
|
||||||
<label value="${c:l('editarPuntoVentaController.lbEmpresa.value')}"/>
|
<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"
|
mold="rounded" buttonVisible="true"
|
||||||
model="@{winBusquedaPuntoVenta$composer.lsEmpresas}"/>
|
model="@{winBusquedaPuntoVenta$composer.lsEmpresas}"/>
|
||||||
</row>
|
</row>
|
||||||
|
@ -66,28 +66,28 @@
|
||||||
<row spans="1,3">
|
<row spans="1,3">
|
||||||
<!-- calle -->
|
<!-- calle -->
|
||||||
<label value="${c:l('editarPuntoVentaController.lbCalle.value')}"/>
|
<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"/>
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"/>
|
||||||
|
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<!-- Numero-->
|
<!-- Numero-->
|
||||||
<label value="${c:l('editarPuntoVentaController.lbNumero.value')}"/>
|
<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"/>
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"/>
|
||||||
<!-- Colonia -->
|
<!-- Colonia -->
|
||||||
<label value="${c:l('editarPuntoVentaController.lbColonia.value')}"/>
|
<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"/>
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"/>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<!-- Telefono uno -->
|
<!-- Telefono uno -->
|
||||||
<label value="${c:l('editarPuntoVentaController.lbTelefonoUno.value')}"/>
|
<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"/>
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"/>
|
||||||
<!-- Telefono dos -->
|
<!-- Telefono dos -->
|
||||||
<label value="${c:l('editarPuntoVentaController.lbTelefonoDos.value')}"/>
|
<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"/>
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"/>
|
||||||
</row>
|
</row>
|
||||||
</rows>
|
</rows>
|
||||||
|
|
|
@ -59,6 +59,11 @@
|
||||||
value="@{winEditarPuntoVenta$composer.puntoVenta.nombpuntoventa}"
|
value="@{winEditarPuntoVenta$composer.puntoVenta.nombpuntoventa}"
|
||||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
||||||
</row>
|
</row>
|
||||||
|
<row>
|
||||||
|
<label value="${c:l('editarPuntoVentaController.lblNumPuntoVenda')}"/>
|
||||||
|
<intbox id="txtNumPtoVta" maxlength="7" constraint="no empty"
|
||||||
|
value="@{winEditarPuntoVenta$composer.puntoVenta.numPuntoVenta}" />
|
||||||
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<!-- Parada -->
|
<!-- Parada -->
|
||||||
<label
|
<label
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
</row>
|
</row>
|
||||||
<row spans="1,3">
|
<row spans="1,3">
|
||||||
<label id="lbNumCorrida" value="${c:l('editarConfiguracionCorridaController.lbNumCorrida.label')}"/>
|
<label id="lbNumCorrida" value="${c:l('editarConfiguracionCorridaController.lbNumCorrida.label')}"/>
|
||||||
<intbox id="txtNumCorrida" maxlength="4" />
|
<intbox id="txtNumCorrida" maxlength="7" />
|
||||||
</row>
|
</row>
|
||||||
<row spans="1,3">
|
<row spans="1,3">
|
||||||
<label value="${c:l('busquedaConfiguracionCorridaController.lhHora.label')}"/>
|
<label value="${c:l('busquedaConfiguracionCorridaController.lhHora.label')}"/>
|
||||||
|
|
|
@ -81,7 +81,7 @@
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<label id="lbNumCorrida" value="${c:l('editarConfiguracionCorridaController.lbNumCorrida.value')}"/>
|
<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}" />
|
value="@{winEditarCorrida$composer.esquemaCorrida.numCorrida}" />
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
<zk xmlns="http://www.zkoss.org/2005/zul">
|
<zk xmlns="http://www.zkoss.org/2005/zul">
|
||||||
<window id="winEditarUsuario" border="normal"
|
<window id="winEditarUsuario" border="normal"
|
||||||
apply="${editarUsuarioController}"
|
apply="${editarUsuarioController}"
|
||||||
width="600px" height="457px" contentStyle="overflow:auto"
|
width="600px" height="380px" contentStyle="overflow:auto"
|
||||||
title="${c:l('editarUsuarioController.window.title')}">
|
title="${c:l('editarUsuarioController.window.title')}">
|
||||||
<toolbar>
|
<toolbar>
|
||||||
<hbox spacing="5px" style="padding:1px" align="right">
|
<hbox spacing="5px" style="padding:1px" align="right">
|
||||||
|
@ -166,7 +166,7 @@
|
||||||
</grid>
|
</grid>
|
||||||
|
|
||||||
<listbox id="empresaList" use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
<listbox id="empresaList" use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
||||||
multiple="false" height="100px" >
|
multiple="false" height="170px" >
|
||||||
<listhead sizable="true">
|
<listhead sizable="true">
|
||||||
<listheader id="lhCNPJ" image="/gui/img/create_doc.gif"
|
<listheader id="lhCNPJ" image="/gui/img/create_doc.gif"
|
||||||
label="${c:l('editarUsuarioController.lhCNPJ.label')}"/>
|
label="${c:l('editarUsuarioController.lhCNPJ.label')}"/>
|
||||||
|
|
Loading…
Reference in New Issue