From f4ff5fb5936435c732b41877a2fcddc1c9effcd4 Mon Sep 17 00:00:00 2001 From: Lucas Date: Wed, 28 Aug 2024 16:56:42 -0300 Subject: [PATCH] AL-4466 --- pom.xml | 4 ++-- .../ingreso/EditarTipoEventoExtraController.java | 8 ++++++++ web/gui/ingreso/editarTipoEventoExtra.zul | 12 ++++++++++-- 3 files changed, 20 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index f6fa658d0..bcd479e73 100644 --- a/pom.xml +++ b/pom.xml @@ -8,8 +8,8 @@ war - 1.101.0 - 1.88.2 + 1.102.0 + 1.89.0 UTF-8 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 0f5deeab9..1ee555119 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 @@ -92,6 +92,7 @@ public class EditarTipoEventoExtraController extends MyGenericForwardComposer { private MyComboboxEstandar cmbEmpresa; private MyComboboxPuntoVenta cmbPontoVenda; private MyComboboxImpresionLayoutConfig cmbImpresionLayoutConfig; + private MyComboboxImpresionLayoutConfig cmbImpresionLayoutEmailConfig; /*Forma de Pagamento*/ private List lsEmpresas; /*Forma de Pagamento*/ @@ -144,6 +145,7 @@ public class EditarTipoEventoExtraController extends MyGenericForwardComposer { rowIndEnviaExcessoDeBagagemSefaz.setVisible(false); } cmbImpresionLayoutConfig.setInitialValue(tipoEventoExtra.getImpresionLayoutConfig()); + cmbImpresionLayoutEmailConfig.setInitialValue(tipoEventoExtra.getImpresionLayoutEmailConfig()); } else { rowIndEnviaExcessoDeBagagemSefaz.setVisible(false); btnApagar.setVisible(false); @@ -291,6 +293,12 @@ public class EditarTipoEventoExtraController extends MyGenericForwardComposer { if (cbImpresionLayoutConfig != null) { tipoEventoExtra.setImpresionLayoutConfig((ImpresionLayoutConfig) cbImpresionLayoutConfig.getValue()); } + + Comboitem cbImpresionLayoutEmailConfig = cmbImpresionLayoutEmailConfig.getSelectedItem(); + tipoEventoExtra.setImpresionLayoutEmailConfig(null); + if (cbImpresionLayoutEmailConfig != null) { + tipoEventoExtra.setImpresionLayoutEmailConfig((ImpresionLayoutConfig) cbImpresionLayoutEmailConfig.getValue()); + } try { tipoEventoExtra.setActivo(Boolean.TRUE); diff --git a/web/gui/ingreso/editarTipoEventoExtra.zul b/web/gui/ingreso/editarTipoEventoExtra.zul index 1c0d3034c..d7e31557c 100644 --- a/web/gui/ingreso/editarTipoEventoExtra.zul +++ b/web/gui/ingreso/editarTipoEventoExtra.zul @@ -6,7 +6,7 @@ @@ -66,11 +66,19 @@ + +