fixes bug#AL-3308

master
Gleison da Cruz 2023-12-01 11:55:58 -03:00
parent e6202b1ead
commit 0e3c4a6c0a
2 changed files with 5 additions and 3 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.35.18</version> <version>1.35.19</version>
<packaging>war</packaging> <packaging>war</packaging>
<properties> <properties>

View File

@ -366,9 +366,9 @@ public class EditarTipoEventoExtraController extends MyGenericForwardComposer {
fpd.setUsuarioId(UsuarioLogado.getUsuarioLogado().getUsuarioId()); fpd.setUsuarioId(UsuarioLogado.getUsuarioLogado().getUsuarioId());
fpd.setFecmodif(Calendar.getInstance().getTime()); fpd.setFecmodif(Calendar.getInstance().getTime());
lsTipoEventoExtraFormaPago.add(fpd); lsTipoEventoExtraFormaPago.add(fpd);
formaPagoList.setData(lsTipoEventoExtraFormaPago);
formaPagoList.updateItem(fpd);
tipoEventoExtraFormaPagoService.actualizacion(fpd); tipoEventoExtraFormaPagoService.actualizacion(fpd);
lsTipoEventoExtraFormaPago = tipoEventoExtra.getTipoeventoextraId() == null ? new ArrayList<TipoEventoExtraFormaPago>() : tipoEventoExtraFormaPagoService.buscarPorTipoEventoExtra(tipoEventoExtra);
formaPagoList.setData(lsTipoEventoExtraFormaPago);
} else { } else {
Messagebox.show( Messagebox.show(
Labels.getLabel("editarPuntoVentaController.MSG.Achou.FormaPago"), Labels.getLabel("editarPuntoVentaController.MSG.Achou.FormaPago"),
@ -398,6 +398,8 @@ public class EditarTipoEventoExtraController extends MyGenericForwardComposer {
formaPagoList.removeItem(fpd); formaPagoList.removeItem(fpd);
lsTipoEventoExtraFormaPago.remove(fpd); lsTipoEventoExtraFormaPago.remove(fpd);
tipoEventoExtraFormaPagoService.borrar(fpd); tipoEventoExtraFormaPagoService.borrar(fpd);
lsTipoEventoExtraFormaPago = tipoEventoExtra.getTipoeventoextraId() == null ? new ArrayList<TipoEventoExtraFormaPago>() : tipoEventoExtraFormaPagoService.buscarPorTipoEventoExtra(tipoEventoExtra);
formaPagoList.setData(lsTipoEventoExtraFormaPago);
} }
} catch (Exception ex) { } catch (Exception ex) {
log.error(ex); log.error(ex);