fixed bug #8979
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@69164 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
7aaf4e38ad
commit
ad0f55483a
|
@ -451,10 +451,10 @@ public class EditarPuntoVentaController extends MyGenericForwardComposer {
|
|||
lsLogFiles = getLogFiles();
|
||||
puntoVenta = (PuntoVenta) Executions.getCurrent().getArg().get("puntoVenta");
|
||||
|
||||
statusAprobacionInicial = puntoVenta.getStatusaprobacion();
|
||||
|
||||
super.doAfterCompose(comp);
|
||||
|
||||
|
||||
cmbBanco.addEventListener("onAfterRender", new org.zkoss.zk.ui.event.EventListener() {
|
||||
public void onEvent(Event event) throws Exception {
|
||||
cmbBanco.setSelectedIndex(lsBanco.indexOf(puntoVenta.getAgenciaId().getInstiFinanceiraId()));
|
||||
|
@ -542,6 +542,8 @@ public class EditarPuntoVentaController extends MyGenericForwardComposer {
|
|||
}
|
||||
}
|
||||
|
||||
statusAprobacionInicial = radAprobacionAutorizado.isChecked() ? "A" : "L";
|
||||
|
||||
if (puntoVenta.getPuntoventaId() != null) {
|
||||
if (puntoVenta.getAgenciaId() != null) {
|
||||
|
||||
|
@ -1597,6 +1599,7 @@ public class EditarPuntoVentaController extends MyGenericForwardComposer {
|
|||
ex.getMessage(),
|
||||
Labels.getLabel("editarPuntoVentaController.window.title"),
|
||||
Messagebox.OK, Messagebox.ERROR);
|
||||
closeWindow();
|
||||
|
||||
} catch (Exception ex) {
|
||||
log.error("editarPuntoVentaController: ", ex);
|
||||
|
@ -1607,6 +1610,7 @@ public class EditarPuntoVentaController extends MyGenericForwardComposer {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
private boolean validarEmail() {
|
||||
if(descCorreo.getText() == null){
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue