Erro ao Editar empresa (fixed bug #5681)
Tempo: 1 hora git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@38171 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
398ca93be5
commit
13112a219d
|
@ -35,7 +35,6 @@ import com.rjconsultores.ventaboletos.entidad.Empresa;
|
||||||
import com.rjconsultores.ventaboletos.entidad.EmpresaImposto;
|
import com.rjconsultores.ventaboletos.entidad.EmpresaImposto;
|
||||||
import com.rjconsultores.ventaboletos.entidad.Estado;
|
import com.rjconsultores.ventaboletos.entidad.Estado;
|
||||||
import com.rjconsultores.ventaboletos.entidad.InscricaoEstadual;
|
import com.rjconsultores.ventaboletos.entidad.InscricaoEstadual;
|
||||||
import com.rjconsultores.ventaboletos.entidad.UsuarioEmpresa;
|
|
||||||
import com.rjconsultores.ventaboletos.service.CiudadService;
|
import com.rjconsultores.ventaboletos.service.CiudadService;
|
||||||
import com.rjconsultores.ventaboletos.service.EmpresaImpostoService;
|
import com.rjconsultores.ventaboletos.service.EmpresaImpostoService;
|
||||||
import com.rjconsultores.ventaboletos.service.EmpresaService;
|
import com.rjconsultores.ventaboletos.service.EmpresaService;
|
||||||
|
@ -193,12 +192,10 @@ public class EditarEmpresaController extends MyGenericForwardComposer {
|
||||||
empresa.setIndExterna(Boolean.FALSE);
|
empresa.setIndExterna(Boolean.FALSE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
empresaService.suscribirActualizacion(empresa);
|
empresaService.suscribirActualizacion(empresa);
|
||||||
empresaList.updateItem(empresa);
|
empresaList.updateItem(empresa);
|
||||||
|
|
||||||
Messagebox.show(
|
Messagebox.show(Labels.getLabel("editarEmpresaController.MSG.suscribirOK"),
|
||||||
Labels.getLabel("editarEmpresaController.MSG.suscribirOK"),
|
|
||||||
Labels.getLabel("editarEmpresaController.window.title"),
|
Labels.getLabel("editarEmpresaController.window.title"),
|
||||||
Messagebox.OK, Messagebox.INFORMATION);
|
Messagebox.OK, Messagebox.INFORMATION);
|
||||||
|
|
||||||
|
@ -206,10 +203,9 @@ public class EditarEmpresaController extends MyGenericForwardComposer {
|
||||||
|
|
||||||
} catch (Exception ex) {
|
} catch (Exception ex) {
|
||||||
log.error("editarEmpresaController: " + ex);
|
log.error("editarEmpresaController: " + ex);
|
||||||
Messagebox.show(
|
|
||||||
Labels.getLabel(ex.getLocalizedMessage()),
|
Messagebox.show(Labels.getLabel(ex.getMessage()),
|
||||||
Labels.getLabel("editarEmpresaController.window.title"),
|
Labels.getLabel("editarEmpresaController.window.title"), Messagebox.OK, Messagebox.ERROR);
|
||||||
Messagebox.OK, Messagebox.ERROR);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue