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
master
walace 2022-04-26 13:51:06 +00:00
parent 406b609d4c
commit 83ec819e51
1 changed files with 6 additions and 0 deletions

View File

@ -143,6 +143,7 @@ import com.rjconsultores.ventaboletos.service.PtovtaComissaoService;
import com.rjconsultores.ventaboletos.service.PtovtaEmpresaBloqueadaService; import com.rjconsultores.ventaboletos.service.PtovtaEmpresaBloqueadaService;
import com.rjconsultores.ventaboletos.service.PtovtaEmpresaContaBancariaService; import com.rjconsultores.ventaboletos.service.PtovtaEmpresaContaBancariaService;
import com.rjconsultores.ventaboletos.service.PtovtaEmpresaService; import com.rjconsultores.ventaboletos.service.PtovtaEmpresaService;
import com.rjconsultores.ventaboletos.service.PtovtaTitularService;
import com.rjconsultores.ventaboletos.service.PuntoVentaService; import com.rjconsultores.ventaboletos.service.PuntoVentaService;
import com.rjconsultores.ventaboletos.service.TipoPuntoVentaService; import com.rjconsultores.ventaboletos.service.TipoPuntoVentaService;
import com.rjconsultores.ventaboletos.service.UsuarioBancarioService; import com.rjconsultores.ventaboletos.service.UsuarioBancarioService;
@ -248,6 +249,8 @@ public class EditarPuntoVentaController extends MyGenericForwardComposer {
private PtovtaAntifraudeService ptovtaAntifraudeService; private PtovtaAntifraudeService ptovtaAntifraudeService;
@Autowired @Autowired
private UsuarioUbicacionService usuarioUbicacionService; private UsuarioUbicacionService usuarioUbicacionService;
@Autowired
private PtovtaTitularService ptovtaTitularService;
private PuntoVenta puntoVenta; private PuntoVenta puntoVenta;
private Textbox txtCP; private Textbox txtCP;
@ -686,6 +689,9 @@ public class EditarPuntoVentaController extends MyGenericForwardComposer {
if(puntoVenta.getTipoSocio() != null) { if(puntoVenta.getTipoSocio() != null) {
cmbTipoSocio.setValue(puntoVenta.getTipoSocio().toString()); cmbTipoSocio.setValue(puntoVenta.getTipoSocio().toString());
} }
if(puntoVenta.getTitularId() != null) {
puntoVenta.setTitularId(ptovtaTitularService.obtenerID(puntoVenta.getTitularId().getPtovtaTitularId()));;
}
} }
puntoVentaList = (MyListbox) Executions.getCurrent().getArg().get("puntoVentaList"); puntoVentaList = (MyListbox) Executions.getCurrent().getArg().get("puntoVentaList");