Merge pull request 'fixes bugs#AL-5070' (!787) from AL-5070 into master

Reviewed-on: adm/VentaBoletosAdm#787
Reviewed-by: Gleison da Cruz <gleison.cruz@totvs.com.br>
master 1.156.2
aristides 2024-10-15 18:15:19 +00:00
commit de5939681a
2 changed files with 3 additions and 2 deletions

View File

@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>br.com.rjconsultores</groupId> <groupId>br.com.rjconsultores</groupId>
<artifactId>ventaboletosadm</artifactId> <artifactId>ventaboletosadm</artifactId>
<version>1.156.1</version> <version>1.156.2</version>
<packaging>war</packaging> <packaging>war</packaging>
<properties> <properties>

View File

@ -134,7 +134,8 @@ public class EditarTipoDocumentoController extends MyGenericForwardComposer {
Messagebox.YES | Messagebox.NO, Messagebox.QUESTION); Messagebox.YES | Messagebox.NO, Messagebox.QUESTION);
if (resp == Messagebox.YES) { if (resp == Messagebox.YES) {
tipoIdentificacionService.borrar(tipoDocumento); tipoDocumento.setActivo(false);
tipoIdentificacionService.actualizacion(tipoDocumento);
Messagebox.show( Messagebox.show(
Labels.getLabel("editarTipoDocumentoController.MSG.borrarOK"), Labels.getLabel("editarTipoDocumentoController.MSG.borrarOK"),