From 83ec819e51cd569a9248b2750087da9cdc8941a1 Mon Sep 17 00:00:00 2001 From: walace Date: Tue, 26 Apr 2022 13:51:06 +0000 Subject: [PATCH] fixes bug#24412 qua: dev: git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@112013 d1611594-4594-4d17-8e1d-87c2c4800839 --- .../controladores/catalogos/EditarPuntoVentaController.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/java/com/rjconsultores/ventaboletos/web/gui/controladores/catalogos/EditarPuntoVentaController.java b/src/java/com/rjconsultores/ventaboletos/web/gui/controladores/catalogos/EditarPuntoVentaController.java index 606ad0942..08c6b17f3 100644 --- a/src/java/com/rjconsultores/ventaboletos/web/gui/controladores/catalogos/EditarPuntoVentaController.java +++ b/src/java/com/rjconsultores/ventaboletos/web/gui/controladores/catalogos/EditarPuntoVentaController.java @@ -143,6 +143,7 @@ import com.rjconsultores.ventaboletos.service.PtovtaComissaoService; import com.rjconsultores.ventaboletos.service.PtovtaEmpresaBloqueadaService; import com.rjconsultores.ventaboletos.service.PtovtaEmpresaContaBancariaService; import com.rjconsultores.ventaboletos.service.PtovtaEmpresaService; +import com.rjconsultores.ventaboletos.service.PtovtaTitularService; import com.rjconsultores.ventaboletos.service.PuntoVentaService; import com.rjconsultores.ventaboletos.service.TipoPuntoVentaService; import com.rjconsultores.ventaboletos.service.UsuarioBancarioService; @@ -248,6 +249,8 @@ public class EditarPuntoVentaController extends MyGenericForwardComposer { private PtovtaAntifraudeService ptovtaAntifraudeService; @Autowired private UsuarioUbicacionService usuarioUbicacionService; + @Autowired + private PtovtaTitularService ptovtaTitularService; private PuntoVenta puntoVenta; private Textbox txtCP; @@ -686,6 +689,9 @@ public class EditarPuntoVentaController extends MyGenericForwardComposer { if(puntoVenta.getTipoSocio() != null) { cmbTipoSocio.setValue(puntoVenta.getTipoSocio().toString()); } + if(puntoVenta.getTitularId() != null) { + puntoVenta.setTitularId(ptovtaTitularService.obtenerID(puntoVenta.getTitularId().getPtovtaTitularId()));; + } } puntoVentaList = (MyListbox) Executions.getCurrent().getArg().get("puntoVentaList");