diff --git a/src/java/com/rjconsultores/ventaboletos/web/gui/controladores/pricing/EditarPricingController.java b/src/java/com/rjconsultores/ventaboletos/web/gui/controladores/pricing/EditarPricingController.java index 83c0e25f7..48c82054a 100644 --- a/src/java/com/rjconsultores/ventaboletos/web/gui/controladores/pricing/EditarPricingController.java +++ b/src/java/com/rjconsultores/ventaboletos/web/gui/controladores/pricing/EditarPricingController.java @@ -516,7 +516,7 @@ public class EditarPricingController extends MyGenericForwardComposer { radioImp.setChecked(true); onClick$radioImp(null); } else { - radioPor.setChecked(true); + btnNovoImporte.setVisible(false); btnApagarImporte.setVisible(false); btnModificarImporte.setVisible(false); @@ -527,7 +527,6 @@ public class EditarPricingController extends MyGenericForwardComposer { salvo = true; } else { - radioPor.setChecked(true); btnNovoImporte.setVisible(false); btnApagarImporte.setVisible(false); @@ -751,27 +750,6 @@ public class EditarPricingController extends MyGenericForwardComposer { return false; } - if (radioImp.isChecked()) { - if (pricingImporteList.getModel().getSize() == 0) { - Messagebox.show( - Labels.getLabel("editarPricingController.MSG.cantImportePricingVazio"), - Labels.getLabel("editarPricingController.window.title"), - Messagebox.OK, Messagebox.INFORMATION); - return false; - } - } else { - if ((descuentoporcsen.getValue() == null) || (descuentoporcsen.getValue().equals("")) || (descuentoporcsen.getValueDecimal().compareTo(BigDecimal.ZERO) == 0)) { - if ((pricingAsientoList.getData().length == 0) && (pricingOcupaAntecipaList.getData().length == 0)) { - Messagebox.show( - Labels.getLabel("editarPricingController.MSG.porcentajeSencilloVazio"), - Labels.getLabel("editarPricingController.window.title"), - Messagebox.OK, Messagebox.INFORMATION); - return false; - - } - } - } - if (pricingVigenciaList.getModel().getSize() == 0) { Messagebox.show( Labels.getLabel("editarPricingController.MSG.vigenciasVazio"),