Cadastro Fechamento Conta Corrente. ( fixes bug #5801 )
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@39537 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
e48d98c3b1
commit
062102480e
|
@ -29,6 +29,8 @@ import com.rjconsultores.ventaboletos.web.utilerias.paginacion.PagedListWrapper;
|
||||||
@Scope("prototype")
|
@Scope("prototype")
|
||||||
public class BusquedaFechamentoParamgeralController extends MyGenericForwardComposer {
|
public class BusquedaFechamentoParamgeralController extends MyGenericForwardComposer {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
private FechamentoParamgeralService fechamentoParamgeralService;
|
private FechamentoParamgeralService fechamentoParamgeralService;
|
||||||
|
|
||||||
|
@ -67,8 +69,8 @@ public class BusquedaFechamentoParamgeralController extends MyGenericForwardComp
|
||||||
if (_params == null)
|
if (_params == null)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
Map args = new HashMap();
|
Map<String,Object> args = new HashMap<String,Object>();
|
||||||
args.put("params", _params);
|
args.put("fechamentoparamgeralId", _params.getFechamentoparamgeralId());
|
||||||
args.put("paramsList", paramsList);
|
args.put("paramsList", paramsList);
|
||||||
|
|
||||||
openWindow("/gui/configuraciones_comerciales/editarFechamentoParamgeral.zul",
|
openWindow("/gui/configuraciones_comerciales/editarFechamentoParamgeral.zul",
|
||||||
|
@ -85,7 +87,10 @@ public class BusquedaFechamentoParamgeralController extends MyGenericForwardComp
|
||||||
}
|
}
|
||||||
|
|
||||||
public void onClick$btnNovo(Event ev) {
|
public void onClick$btnNovo(Event ev) {
|
||||||
visualizaParams(new FechamentoParamgeral());
|
FechamentoParamgeral fechamentoParamgeral = new FechamentoParamgeral();
|
||||||
|
fechamentoParamgeral.setUsuarioId(UsuarioLogado.getUsuarioLogado().getUsuarioId());
|
||||||
|
fechamentoParamgeral.setActivo(Boolean.TRUE);
|
||||||
|
visualizaParams(fechamentoParamgeral);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void actualizaParamsList() {
|
private void actualizaParamsList() {
|
||||||
|
@ -115,4 +120,34 @@ public class BusquedaFechamentoParamgeralController extends MyGenericForwardComp
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public MyListbox getParamsList() {
|
||||||
|
return paramsList;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public void setParamsList(MyListbox paramsList) {
|
||||||
|
this.paramsList = paramsList;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public Combobox getCmbEmpresa() {
|
||||||
|
return cmbEmpresa;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public void setCmbEmpresa(Combobox cmbEmpresa) {
|
||||||
|
this.cmbEmpresa = cmbEmpresa;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public List<Empresa> getLsEmpresas() {
|
||||||
|
return lsEmpresas;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public void setLsEmpresas(List<Empresa> lsEmpresas) {
|
||||||
|
this.lsEmpresas = lsEmpresas;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,198 @@
|
||||||
|
package com.rjconsultores.ventaboletos.web.gui.controladores.configuracioneccomerciales;
|
||||||
|
|
||||||
|
import java.util.Calendar;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
import org.apache.log4j.Logger;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.context.annotation.Scope;
|
||||||
|
import org.springframework.stereotype.Controller;
|
||||||
|
import org.zkoss.util.resource.Labels;
|
||||||
|
import org.zkoss.zhtml.Messagebox;
|
||||||
|
import org.zkoss.zk.ui.Component;
|
||||||
|
import org.zkoss.zk.ui.Executions;
|
||||||
|
import org.zkoss.zk.ui.util.Clients;
|
||||||
|
import org.zkoss.zul.Combobox;
|
||||||
|
import org.zkoss.zul.Textbox;
|
||||||
|
|
||||||
|
import com.rjconsultores.ventaboletos.entidad.Empresa;
|
||||||
|
import com.rjconsultores.ventaboletos.entidad.FechamentoParamgeral;
|
||||||
|
import com.rjconsultores.ventaboletos.service.FechamentoParamgeralService;
|
||||||
|
import com.rjconsultores.ventaboletos.utilerias.UsuarioLogado;
|
||||||
|
import com.rjconsultores.ventaboletos.web.utilerias.MyGenericForwardComposer;
|
||||||
|
import com.rjconsultores.ventaboletos.web.utilerias.MyListbox;
|
||||||
|
|
||||||
|
@Controller("editarFechamentoParamgeralController")
|
||||||
|
@Scope("prototype")
|
||||||
|
public class EditarFechamentoParamgeralController extends MyGenericForwardComposer {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
private static Logger log = Logger.getLogger(EditarFechamentoParamgeralController.class);
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
private FechamentoParamgeralService fechamentoParamgeralService;
|
||||||
|
|
||||||
|
private Combobox cmbEmpresa;
|
||||||
|
private Textbox txtBoletoBancoCod;
|
||||||
|
private Textbox txtBoletoBancoAgencia;
|
||||||
|
private Textbox txtBoletoBancoConta;
|
||||||
|
private Textbox txtBoletoBancoContaDigito;
|
||||||
|
private Textbox txtBoletoBancoCarteira;
|
||||||
|
private Textbox txtBoletoDiasVenc;
|
||||||
|
|
||||||
|
private List<Empresa> lsEmpresas;
|
||||||
|
private FechamentoParamgeral fechamentoParamgeral;
|
||||||
|
|
||||||
|
private MyListbox paramsList;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void doAfterCompose(Component comp) throws Exception {
|
||||||
|
lsEmpresas = UsuarioLogado.getUsuarioLogado().getEmpresa();
|
||||||
|
super.doAfterCompose(comp);
|
||||||
|
|
||||||
|
Long fechamentoparamgeralId = (Long) Executions.getCurrent().getArg().get("fechamentoparamgeralId");
|
||||||
|
if(fechamentoparamgeralId != null && fechamentoparamgeralId > 0) {
|
||||||
|
fechamentoParamgeral = fechamentoParamgeralService.obtenerID(fechamentoparamgeralId);
|
||||||
|
if(fechamentoParamgeral.getEmpresa() != null) {
|
||||||
|
cmbEmpresa.setText(fechamentoParamgeral.getEmpresa().getNombempresa());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
paramsList = (MyListbox) Executions.getCurrent().getArg().get("paramsList");
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public Combobox getCmbEmpresa() {
|
||||||
|
return cmbEmpresa;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setCmbEmpresa(Combobox cmbEmpresa) {
|
||||||
|
this.cmbEmpresa = cmbEmpresa;
|
||||||
|
}
|
||||||
|
|
||||||
|
public List<Empresa> getLsEmpresas() {
|
||||||
|
return lsEmpresas;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setLsEmpresas(List<Empresa> lsEmpresas) {
|
||||||
|
this.lsEmpresas = lsEmpresas;
|
||||||
|
}
|
||||||
|
|
||||||
|
public FechamentoParamgeral getFechamentoParamgeral() {
|
||||||
|
return fechamentoParamgeral;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setFechamentoParamgeral(FechamentoParamgeral fechamentoParamgeral) {
|
||||||
|
this.fechamentoParamgeral = fechamentoParamgeral;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void onClick$btnSalvar() {
|
||||||
|
try {
|
||||||
|
txtBoletoBancoAgencia.getText();
|
||||||
|
txtBoletoBancoCarteira.getText();
|
||||||
|
txtBoletoBancoCod.getText();
|
||||||
|
txtBoletoBancoConta.getText();
|
||||||
|
txtBoletoBancoContaDigito.getText();
|
||||||
|
txtBoletoDiasVenc.getText();
|
||||||
|
|
||||||
|
if(cmbEmpresa.getSelectedItem() != null) {
|
||||||
|
getFechamentoParamgeral().setEmpresa((Empresa) cmbEmpresa.getSelectedItem().getValue());
|
||||||
|
}
|
||||||
|
|
||||||
|
getFechamentoParamgeral().setFecmodif(Calendar.getInstance().getTime());
|
||||||
|
setFechamentoParamgeral(fechamentoParamgeralService.suscribirOrActualizacion(getFechamentoParamgeral()));
|
||||||
|
|
||||||
|
if(paramsList != null) {
|
||||||
|
paramsList.updateItem(getFechamentoParamgeral());
|
||||||
|
}
|
||||||
|
|
||||||
|
Messagebox.show(
|
||||||
|
Labels.getLabel("editarFechamentoParamgeralController.MSG.suscribirOK"),
|
||||||
|
Labels.getLabel("editarFechamentoParamgeralController.window.title"),
|
||||||
|
Messagebox.OK, Messagebox.INFORMATION);
|
||||||
|
|
||||||
|
closeWindow();
|
||||||
|
} catch (Exception ex) {
|
||||||
|
log.info(ex.getLocalizedMessage());
|
||||||
|
Clients.alert(ex.getLocalizedMessage(),
|
||||||
|
Labels.getLabel("editarFechamentoParamgeralController.window.title"), Messagebox.INFORMATION);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public void onClick$btnApagar() {
|
||||||
|
try {
|
||||||
|
if(getFechamentoParamgeral() != null && getFechamentoParamgeral().getFechamentoparamgeralId() != null) {
|
||||||
|
int resp = Messagebox.show(
|
||||||
|
Labels.getLabel("editarFechamentoParamgeralController.MSG.borrarPergunta"),
|
||||||
|
Labels.getLabel("editarFechamentoParamgeralController.window.title"),
|
||||||
|
Messagebox.YES | Messagebox.NO, Messagebox.QUESTION);
|
||||||
|
|
||||||
|
if (resp == Messagebox.YES) {
|
||||||
|
fechamentoParamgeralService.borrar(getFechamentoParamgeral());
|
||||||
|
|
||||||
|
Messagebox.show(
|
||||||
|
Labels.getLabel("editarFechamentoParamgeralController.MSG.borrarOK"),
|
||||||
|
Labels.getLabel("editarFechamentoParamgeralController.window.title"),
|
||||||
|
Messagebox.OK, Messagebox.INFORMATION);
|
||||||
|
|
||||||
|
if (paramsList != null) {
|
||||||
|
paramsList.removeItem(getFechamentoParamgeral());
|
||||||
|
}
|
||||||
|
|
||||||
|
closeWindow();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
} catch (Exception ex) {
|
||||||
|
log.error(ex);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public Textbox getTxtBoletoBancoCod() {
|
||||||
|
return txtBoletoBancoCod;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setTxtBoletoBancoCod(Textbox txtBoletoBancoCod) {
|
||||||
|
this.txtBoletoBancoCod = txtBoletoBancoCod;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Textbox getTxtBoletoBancoAgencia() {
|
||||||
|
return txtBoletoBancoAgencia;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setTxtBoletoBancoAgencia(Textbox txtBoletoBancoAgencia) {
|
||||||
|
this.txtBoletoBancoAgencia = txtBoletoBancoAgencia;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Textbox getTxtBoletoBancoConta() {
|
||||||
|
return txtBoletoBancoConta;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setTxtBoletoBancoConta(Textbox txtBoletoBancoConta) {
|
||||||
|
this.txtBoletoBancoConta = txtBoletoBancoConta;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Textbox getTxtBoletoBancoContaDigito() {
|
||||||
|
return txtBoletoBancoContaDigito;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setTxtBoletoBancoContaDigito(Textbox txtBoletoBancoContaDigito) {
|
||||||
|
this.txtBoletoBancoContaDigito = txtBoletoBancoContaDigito;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Textbox getTxtBoletoBancoCarteira() {
|
||||||
|
return txtBoletoBancoCarteira;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setTxtBoletoBancoCarteira(Textbox txtBoletoBancoCarteira) {
|
||||||
|
this.txtBoletoBancoCarteira = txtBoletoBancoCarteira;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Textbox getTxtBoletoDiasVenc() {
|
||||||
|
return txtBoletoDiasVenc;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setTxtBoletoDiasVenc(Textbox txtBoletoDiasVenc) {
|
||||||
|
this.txtBoletoDiasVenc = txtBoletoDiasVenc;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
|
@ -360,6 +360,7 @@
|
||||||
</value>
|
</value>
|
||||||
<!-- value>com.rjconsultores.ventaboletos.entidad.ControleEstoqueMigracao</value -->
|
<!-- value>com.rjconsultores.ventaboletos.entidad.ControleEstoqueMigracao</value -->
|
||||||
<value>com.rjconsultores.ventaboletos.entidad.FiscalImpressora</value>
|
<value>com.rjconsultores.ventaboletos.entidad.FiscalImpressora</value>
|
||||||
|
<value>com.rjconsultores.ventaboletos.entidad.FechamentoParamgeral</value>
|
||||||
|
|
||||||
</list>
|
</list>
|
||||||
</property>
|
</property>
|
||||||
|
|
|
@ -4875,7 +4875,7 @@ winCambiaContrasena.erro.senhasDiferentes = La nueva contraseña y la confirmaci
|
||||||
winCambiaContrasena.erro.usuarioSenha = Usuario y / o contraseña no existe
|
winCambiaContrasena.erro.usuarioSenha = Usuario y / o contraseña no existe
|
||||||
winCambiaContrasena.MSG.suscribirOK = La contraseña ha sido cambiada
|
winCambiaContrasena.MSG.suscribirOK = La contraseña ha sido cambiada
|
||||||
|
|
||||||
# Búsqueda Usuário
|
# Búsqueda Impressora Fiscal
|
||||||
busquedaFiscalImpressoraController.window.title = Impresora Fiscal
|
busquedaFiscalImpressoraController.window.title = Impresora Fiscal
|
||||||
busquedaFiscalImpressoraController.btnRefresh.tooltiptext = Actualizar
|
busquedaFiscalImpressoraController.btnRefresh.tooltiptext = Actualizar
|
||||||
busquedaFiscalImpressoraController.btnCerrar.tooltiptext = Cerrar
|
busquedaFiscalImpressoraController.btnCerrar.tooltiptext = Cerrar
|
||||||
|
@ -4887,3 +4887,21 @@ busquedaFiscalImpressoraController.cniee.label = CNIEE
|
||||||
busquedaFiscalImpressoraController.numserie20.label = Número de Série
|
busquedaFiscalImpressoraController.numserie20.label = Número de Série
|
||||||
busquedaFiscalImpressoraController.btnPesquisa.label = Búsqueda
|
busquedaFiscalImpressoraController.btnPesquisa.label = Búsqueda
|
||||||
busquedaFiscalImpressoraController.MSG.suscribirOK = Impresora Fiscal registró con éxito
|
busquedaFiscalImpressoraController.MSG.suscribirOK = Impresora Fiscal registró con éxito
|
||||||
|
|
||||||
|
# Búsqueda Fechamento Conta Corrente
|
||||||
|
busquedaFechamentoParamgeralController.window.title = Cierre de Cuenta Corriente
|
||||||
|
busquedaFechamentoParamgeralController.empresa.label = Empresa
|
||||||
|
busquedaFechamentoParamgeralController.btnPesquisa.label = Búsqueda
|
||||||
|
busquedaFechamentoParamgeralController.boletoBancoCod.label = Código Banco
|
||||||
|
busquedaFechamentoParamgeralController.boletoBancoAgencia.label = Agência
|
||||||
|
busquedaFechamentoParamgeralController.boletoBancoConta.label = Cuenta
|
||||||
|
busquedaFechamentoParamgeralController.boletoBancoContaDigito.label = Dígito
|
||||||
|
busquedaFechamentoParamgeralController.boletoBancoCarteira.label = Cartera
|
||||||
|
busquedaFechamentoParamgeralController.boletoDiasVenc.label = Días de Vencimiento
|
||||||
|
busquedaFechamentoParamgeralController.fecmodif.label = Ult. Actual.
|
||||||
|
|
||||||
|
# Editar Fechamento Conta Corrente
|
||||||
|
editarFechamentoParamgeralController.window.title = Cierre de Cuenta Corriente - Editar Parâmetro Geral
|
||||||
|
editarFechamentoParamgeralController.MSG.suscribirOK = Cierre de Cuenta Corriente registró con éxito.
|
||||||
|
editarFechamentoParamgeralController.MSG.borrarPergunta = Eliminar o Cierre de Cuenta Corriente?
|
||||||
|
editarFechamentoParamgeralController.MSG.borrarOK = Cierre de Cuenta Corriente excluido con éxito.
|
|
@ -232,6 +232,7 @@ indexController.mniRelatorioSisdap.label=SISDAP
|
||||||
indexController.mniRelatorioEmpresaCorrida.label = Relatório por Empresa Corrida
|
indexController.mniRelatorioEmpresaCorrida.label = Relatório por Empresa Corrida
|
||||||
indexController.mniRelatorioEmpresaOnibus.label = Relatório por Empresa Ônibus
|
indexController.mniRelatorioEmpresaOnibus.label = Relatório por Empresa Ônibus
|
||||||
indexController.mniRelatorioOCD.label = Relatório OCD por Empresa
|
indexController.mniRelatorioOCD.label = Relatório OCD por Empresa
|
||||||
|
indexController.mniFechamentoParamgeral.label = Fechamento Conta Corrente
|
||||||
|
|
||||||
#PARTE REALIZADA POR MANUEL
|
#PARTE REALIZADA POR MANUEL
|
||||||
indexController.mnCortesias.label = Cortesias Para Funcionários
|
indexController.mnCortesias.label = Cortesias Para Funcionários
|
||||||
|
@ -4956,7 +4957,7 @@ winCambiaContrasena.erro.senhasDiferentes = A nova senha e a confirmação de se
|
||||||
winCambiaContrasena.erro.usuarioSenha = Usuário e/ou senha não existe
|
winCambiaContrasena.erro.usuarioSenha = Usuário e/ou senha não existe
|
||||||
winCambiaContrasena.MSG.suscribirOK = A senha foi alterada
|
winCambiaContrasena.MSG.suscribirOK = A senha foi alterada
|
||||||
|
|
||||||
# Búsqueda Usuário
|
# Búsqueda Impressora Fiscal
|
||||||
busquedaFiscalImpressoraController.window.title = Impressora Fiscal
|
busquedaFiscalImpressoraController.window.title = Impressora Fiscal
|
||||||
busquedaFiscalImpressoraController.btnRefresh.tooltiptext = Atualizar
|
busquedaFiscalImpressoraController.btnRefresh.tooltiptext = Atualizar
|
||||||
busquedaFiscalImpressoraController.btnCerrar.tooltiptext = Fechar
|
busquedaFiscalImpressoraController.btnCerrar.tooltiptext = Fechar
|
||||||
|
@ -4968,3 +4969,21 @@ busquedaFiscalImpressoraController.cniee.label = CNIEE
|
||||||
busquedaFiscalImpressoraController.numserie20.label = Número de Série
|
busquedaFiscalImpressoraController.numserie20.label = Número de Série
|
||||||
busquedaFiscalImpressoraController.btnPesquisa.label = Pesquisa
|
busquedaFiscalImpressoraController.btnPesquisa.label = Pesquisa
|
||||||
busquedaFiscalImpressoraController.MSG.suscribirOK = Impressora Fiscal gravada com sucesso.
|
busquedaFiscalImpressoraController.MSG.suscribirOK = Impressora Fiscal gravada com sucesso.
|
||||||
|
|
||||||
|
# Búsqueda Fechamento Conta Corrente
|
||||||
|
busquedaFechamentoParamgeralController.window.title = Fechamento Conta Corrente
|
||||||
|
busquedaFechamentoParamgeralController.empresa.label = Empresa
|
||||||
|
busquedaFechamentoParamgeralController.btnPesquisa.label = Pesquisa
|
||||||
|
busquedaFechamentoParamgeralController.boletoBancoCod.label = Código Banco
|
||||||
|
busquedaFechamentoParamgeralController.boletoBancoAgencia.label = Agência
|
||||||
|
busquedaFechamentoParamgeralController.boletoBancoConta.label = Conta
|
||||||
|
busquedaFechamentoParamgeralController.boletoBancoContaDigito.label = Dígito
|
||||||
|
busquedaFechamentoParamgeralController.boletoBancoCarteira.label = Carteira
|
||||||
|
busquedaFechamentoParamgeralController.boletoDiasVenc.label = Dias Vencimento
|
||||||
|
busquedaFechamentoParamgeralController.fecmodif.label = Ult. Atual.
|
||||||
|
|
||||||
|
# Editar Fechamento Conta Corrente
|
||||||
|
editarFechamentoParamgeralController.window.title = Fechamento Conta Corrente - Editar Parâmetro Geral
|
||||||
|
editarFechamentoParamgeralController.MSG.suscribirOK = Fechamento Conta Corrente gravada com sucesso.
|
||||||
|
editarFechamentoParamgeralController.MSG.borrarPergunta = Eliminar o Fechamento Conta Corrente?
|
||||||
|
editarFechamentoParamgeralController.MSG.borrarOK = Fechamento Conta Corrente excluido com Sucesso.
|
|
@ -7,18 +7,18 @@
|
||||||
<zk>
|
<zk>
|
||||||
<window id="winBusquedaFechamentoParamgeral" title="${c:l('busquedaFechamentoParamgeralController.window.title')}"
|
<window id="winBusquedaFechamentoParamgeral" title="${c:l('busquedaFechamentoParamgeralController.window.title')}"
|
||||||
apply="${busquedaFechamentoParamgeralController}" contentStyle="overflow:auto"
|
apply="${busquedaFechamentoParamgeralController}" contentStyle="overflow:auto"
|
||||||
height="500px" width="1300px" border="normal" >
|
height="500px" width="1100px" border="normal" >
|
||||||
<toolbar>
|
<toolbar>
|
||||||
<button id="btnRefresh" image="/gui/img/refresh.png" width="35px"
|
<button id="btnRefresh" image="/gui/img/refresh.png" width="35px"
|
||||||
tooltiptext="${c:l('busquedaFechamentoParamgeralController.btnRefresh.tooltiptext')}" />
|
tooltiptext="${c:l('tooltiptext.btnRefresh')}" />
|
||||||
<separator orient="vertical" />
|
<separator orient="vertical" />
|
||||||
|
|
||||||
<button id="btnNovo" image="/gui/img/add.png" width="35px"
|
<button id="btnNovo" image="/gui/img/add.png" width="35px"
|
||||||
tooltiptext="${c:l('busquedaFechamentoParamgeralController.btnNovo.tooltiptext')}" />
|
tooltiptext="${c:l('tooltiptext.btnNovo')}" />
|
||||||
|
|
||||||
<separator orient="vertical" />
|
<separator orient="vertical" />
|
||||||
<button id="btnCerrar" onClick="winBusquedaFechamentoParamgeral.detach()" image="/gui/img/exit.png" width="35px"
|
<button id="btnCerrar" onClick="winBusquedaFechamentoParamgeral.detach()" image="/gui/img/exit.png" width="35px"
|
||||||
tooltiptext="${c:l('busquedaFechamentoParamgeralController.btnCerrar.tooltiptext')}"/>
|
tooltiptext="${c:l('tooltiptext.btnCerrar')}"/>
|
||||||
</toolbar>
|
</toolbar>
|
||||||
|
|
||||||
<grid fixedLayout="true">
|
<grid fixedLayout="true">
|
||||||
|
@ -34,15 +34,13 @@
|
||||||
<label value="${c:l('busquedaFechamentoParamgeralController.empresa.label')}" />
|
<label value="${c:l('busquedaFechamentoParamgeralController.empresa.label')}" />
|
||||||
<combobox id="cmbEmpresa"
|
<combobox id="cmbEmpresa"
|
||||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
||||||
width="50%" mold="rounded" buttonVisible="true"
|
mold="rounded" buttonVisible="true"
|
||||||
model="@{winBusquedaFechamentoParamgeral$composer.lsEmpresas}" />
|
model="@{winBusquedaFechamentoParamgeral$composer.lsEmpresas}" />
|
||||||
</cell>
|
</cell>
|
||||||
</row>
|
</row>
|
||||||
</rows>
|
</rows>
|
||||||
</grid>
|
</grid>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<toolbar>
|
<toolbar>
|
||||||
<button id="btnPesquisa" image="/gui/img/find.png"
|
<button id="btnPesquisa" image="/gui/img/find.png"
|
||||||
label="${c:l('busquedaFechamentoParamgeralController.btnPesquisa.label')}"/>
|
label="${c:l('busquedaFechamentoParamgeralController.btnPesquisa.label')}"/>
|
||||||
|
@ -50,10 +48,11 @@
|
||||||
|
|
||||||
<paging id="pagingParams" pageSize="10"/>
|
<paging id="pagingParams" pageSize="10"/>
|
||||||
<listbox id="paramsList" use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox" fixedLayout="true" vflex="true" hflex="min"
|
<listbox id="paramsList" use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox" fixedLayout="true" vflex="true" hflex="min"
|
||||||
multiple="false" height="250px" width="1299px">
|
multiple="false" height="250px" width="1080px">
|
||||||
<listhead sizable="true">
|
<listhead sizable="true">
|
||||||
<listheader width="3%" image="/gui/img/create_doc.gif"
|
<listheader width="5%" image="/gui/img/create_doc.gif"
|
||||||
label="${c:l('lb.id')}" sort="auto(fechamentoparamgeralId)"/>
|
label="${c:l('lb.id')}" sort="auto(fechamentoparamgeralId)"/>
|
||||||
|
|
||||||
<listheader image="/gui/img/create_doc.gif" align="right"
|
<listheader image="/gui/img/create_doc.gif" align="right"
|
||||||
label="${c:l('busquedaFechamentoParamgeralController.empresa.label')}" sort="auto(empresa)"/>
|
label="${c:l('busquedaFechamentoParamgeralController.empresa.label')}" sort="auto(empresa)"/>
|
||||||
|
|
||||||
|
@ -72,10 +71,10 @@
|
||||||
<listheader image="/gui/img/create_doc.gif" align="right"
|
<listheader image="/gui/img/create_doc.gif" align="right"
|
||||||
label="${c:l('busquedaFechamentoParamgeralController.boletoBancoCarteira.label')}" sort="auto(boletoBancoCarteira)"/>
|
label="${c:l('busquedaFechamentoParamgeralController.boletoBancoCarteira.label')}" sort="auto(boletoBancoCarteira)"/>
|
||||||
|
|
||||||
<listheader width="5%" image="/gui/img/create_doc.gif" align="right"
|
<listheader image="/gui/img/create_doc.gif" align="right"
|
||||||
label="${c:l('busquedaFechamentoParamgeralController.boletoDiasVenc.label')}" sort="auto(boletoDiasVenc)"/>
|
label="${c:l('busquedaFechamentoParamgeralController.boletoDiasVenc.label')}" sort="auto(boletoDiasVenc)"/>
|
||||||
|
|
||||||
<listheader width="5%" image="/gui/img/create_doc.gif" align="right"
|
<listheader image="/gui/img/create_doc.gif" align="right"
|
||||||
label="${c:l('busquedaFechamentoParamgeralController.fecmodif.label')}" sort="auto(fecmodif)"/>
|
label="${c:l('busquedaFechamentoParamgeralController.fecmodif.label')}" sort="auto(fecmodif)"/>
|
||||||
|
|
||||||
</listhead>
|
</listhead>
|
||||||
|
|
|
@ -1,6 +1,102 @@
|
||||||
<?page title="Fechamento Conta Corrente - Editar parametro geral" contentType="text/html;charset=UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<?page title="Fechamento Conta Corrente - Parametros" contentType="text/html;charset=UTF-8"?>
|
||||||
|
<?variable-resolver class="org.zkoss.zkplus.spring.DelegatingVariableResolver"?>
|
||||||
|
<?init class="org.zkoss.zkplus.databind.AnnotateDataBinderInit" arg0="winEditarFechamentoParamgeral"?>
|
||||||
|
<?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c"?>
|
||||||
|
|
||||||
<zk>
|
<zk>
|
||||||
<window title="Fechamento Conta Corrente - Editar parametro geral" border="normal">
|
<window id="winEditarFechamentoParamgeral"
|
||||||
New Content Here!
|
title="${c:l('editarFechamentoParamgeralController.window.title')}"
|
||||||
</window>
|
border="normal"
|
||||||
|
apply="${editarFechamentoParamgeralController}"
|
||||||
|
contentStyle="overflow:auto"
|
||||||
|
width="415px"
|
||||||
|
height="260px">
|
||||||
|
|
||||||
|
<toolbar>
|
||||||
|
<button id="btnSalvar"
|
||||||
|
height="20"
|
||||||
|
image="/gui/img/save.png"
|
||||||
|
width="35px"
|
||||||
|
tooltiptext="${c:l('tooltiptext.btnGuardar')}"/>
|
||||||
|
<separator orient="vertical" />
|
||||||
|
<button id="btnApagar"
|
||||||
|
image="/gui/img/remove.png"
|
||||||
|
width="35px"
|
||||||
|
tooltiptext="${c:l('tooltiptext.btnEliminar')}" />
|
||||||
|
<separator orient="vertical" />
|
||||||
|
<button id="btnCerrar"
|
||||||
|
onClick="winEditarFechamentoParamgeral.detach()"
|
||||||
|
image="/gui/img/exit.png"
|
||||||
|
width="35px"
|
||||||
|
tooltiptext="${c:l('tooltiptext.btnFechar')}"/>
|
||||||
|
</toolbar>
|
||||||
|
|
||||||
|
<grid fixedLayout="true">
|
||||||
|
<rows>
|
||||||
|
<row>
|
||||||
|
<label value="${c:l('busquedaFechamentoParamgeralController.empresa.label')}" />
|
||||||
|
<combobox id="cmbEmpresa"
|
||||||
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
||||||
|
mold="rounded"
|
||||||
|
buttonVisible="true"
|
||||||
|
model="@{winEditarFechamentoParamgeral$composer.lsEmpresas}"
|
||||||
|
constraint="no empty" />
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<label value="${c:l('busquedaFechamentoParamgeralController.boletoBancoCod.label')}" />
|
||||||
|
<textbox id="txtBoletoBancoCod"
|
||||||
|
width="190px"
|
||||||
|
maxlength="5"
|
||||||
|
value="@{winEditarFechamentoParamgeral$composer.fechamentoParamgeral.boletoBancoCod}"
|
||||||
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"
|
||||||
|
constraint="no empty" />
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<label value="${c:l('busquedaFechamentoParamgeralController.boletoBancoAgencia.label')}" />
|
||||||
|
<textbox id="txtBoletoBancoAgencia"
|
||||||
|
width="190px"
|
||||||
|
maxlength="50"
|
||||||
|
value="@{winEditarFechamentoParamgeral$composer.fechamentoParamgeral.boletoBancoAgencia}"
|
||||||
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"
|
||||||
|
constraint="no empty" />
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<label value="${c:l('busquedaFechamentoParamgeralController.boletoBancoConta.label')}" />
|
||||||
|
<textbox id="txtBoletoBancoConta"
|
||||||
|
width="190px"
|
||||||
|
maxlength="50"
|
||||||
|
value="@{winEditarFechamentoParamgeral$composer.fechamentoParamgeral.boletoBancoConta}"
|
||||||
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"
|
||||||
|
constraint="no empty" />
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<label value="${c:l('busquedaFechamentoParamgeralController.boletoBancoContaDigito.label')}" />
|
||||||
|
<textbox id="txtBoletoBancoContaDigito"
|
||||||
|
width="190px"
|
||||||
|
maxlength="2"
|
||||||
|
value="@{winEditarFechamentoParamgeral$composer.fechamentoParamgeral.boletoBancoContaDigito}"
|
||||||
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"
|
||||||
|
constraint="no empty" />
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<label value="${c:l('busquedaFechamentoParamgeralController.boletoBancoCarteira.label')}" />
|
||||||
|
<textbox id="txtBoletoBancoCarteira"
|
||||||
|
width="190px"
|
||||||
|
maxlength="3"
|
||||||
|
value="@{winEditarFechamentoParamgeral$composer.fechamentoParamgeral.boletoBancoCarteira}"
|
||||||
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"
|
||||||
|
constraint="no empty" />
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<label value="${c:l('busquedaFechamentoParamgeralController.boletoDiasVenc.label')}" />
|
||||||
|
<textbox id="txtBoletoDiasVenc"
|
||||||
|
width="190px"
|
||||||
|
value="@{winEditarFechamentoParamgeral$composer.fechamentoParamgeral.boletoDiasVenc}"
|
||||||
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"
|
||||||
|
constraint="no empty" />
|
||||||
|
</row>
|
||||||
|
</rows>
|
||||||
|
</grid>
|
||||||
|
</window>
|
||||||
</zk>
|
</zk>
|
Loading…
Reference in New Issue