diff --git a/pom.xml b/pom.xml
index c734ec348..e63f75132 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
4.0.0
br.com.rjconsultores
ventaboletosadm
- 1.35.18
+ 1.35.19
war
diff --git a/src/java/com/rjconsultores/ventaboletos/web/gui/controladores/ingreso/EditarTipoEventoExtraController.java b/src/java/com/rjconsultores/ventaboletos/web/gui/controladores/ingreso/EditarTipoEventoExtraController.java
index 0b71366bb..c478c39e5 100644
--- a/src/java/com/rjconsultores/ventaboletos/web/gui/controladores/ingreso/EditarTipoEventoExtraController.java
+++ b/src/java/com/rjconsultores/ventaboletos/web/gui/controladores/ingreso/EditarTipoEventoExtraController.java
@@ -366,9 +366,9 @@ public class EditarTipoEventoExtraController extends MyGenericForwardComposer {
fpd.setUsuarioId(UsuarioLogado.getUsuarioLogado().getUsuarioId());
fpd.setFecmodif(Calendar.getInstance().getTime());
lsTipoEventoExtraFormaPago.add(fpd);
- formaPagoList.setData(lsTipoEventoExtraFormaPago);
- formaPagoList.updateItem(fpd);
tipoEventoExtraFormaPagoService.actualizacion(fpd);
+ lsTipoEventoExtraFormaPago = tipoEventoExtra.getTipoeventoextraId() == null ? new ArrayList() : tipoEventoExtraFormaPagoService.buscarPorTipoEventoExtra(tipoEventoExtra);
+ formaPagoList.setData(lsTipoEventoExtraFormaPago);
} else {
Messagebox.show(
Labels.getLabel("editarPuntoVentaController.MSG.Achou.FormaPago"),
@@ -398,6 +398,8 @@ public class EditarTipoEventoExtraController extends MyGenericForwardComposer {
formaPagoList.removeItem(fpd);
lsTipoEventoExtraFormaPago.remove(fpd);
tipoEventoExtraFormaPagoService.borrar(fpd);
+ lsTipoEventoExtraFormaPago = tipoEventoExtra.getTipoeventoextraId() == null ? new ArrayList() : tipoEventoExtraFormaPagoService.buscarPorTipoEventoExtra(tipoEventoExtra);
+ formaPagoList.setData(lsTipoEventoExtraFormaPago);
}
} catch (Exception ex) {
log.error(ex);