fixes bug#17465

dev:
qua:

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@99431 d1611594-4594-4d17-8e1d-87c2c4800839
master
thiago.clemente 2019-12-19 18:32:49 +00:00
parent 0f95a50859
commit becdf23fe4
1 changed files with 5 additions and 2 deletions

View File

@ -2585,8 +2585,11 @@ public class EditarPuntoVentaController extends MyGenericForwardComposer {
cmbEmpresaPtoVta.setSelectedIndex(-1);
// cmbEmpresasContaBancarias.setSelectedIndex(-1);
if(lsEmpresas != null) {
cmbEmpresaPtoVta.setSelectedIndex(lsEmpresas.indexOf(ptovtaEmpresa.getEmpresa()));
if(lsEmpresasSemTodos != null) {
int indexOf = lsEmpresasSemTodos.indexOf(ptovtaEmpresa.getEmpresa());
if (indexOf>-1) {
cmbEmpresaPtoVta.setSelectedIndex(indexOf);
}
}
if(lsEmpresaContaBancarias != null) {