From f8704c6e47bf05da615526ed68c21dcc14ea34bc Mon Sep 17 00:00:00 2001 From: "Brayan.Gonzalez" Date: Thu, 7 Aug 2025 10:20:34 -0600 Subject: [PATCH] =?UTF-8?q?=20-=20CORTE=20DEL=20DIA=20-=20ELIMINACI=C3=93N?= =?UTF-8?q?=20DE=20LA=20VALIDACI=C3=93N=20"El=20asesor=20debe=20de=20reali?= =?UTF-8?q?zar=20una=20acci=C3=B3n=20en=20todas=20sus=20compras=20de=20pro?= =?UTF-8?q?ducto"=20AL=20HACER=20EL=20CORTE=C2=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/arrebol/apc/web/beans/admin/ClosingDayBean.java | 8 -------- 1 file changed, 8 deletions(-) diff --git a/apc-web/src/main/java/com/arrebol/apc/web/beans/admin/ClosingDayBean.java b/apc-web/src/main/java/com/arrebol/apc/web/beans/admin/ClosingDayBean.java index 28c7a6d..668cf6b 100644 --- a/apc-web/src/main/java/com/arrebol/apc/web/beans/admin/ClosingDayBean.java +++ b/apc-web/src/main/java/com/arrebol/apc/web/beans/admin/ClosingDayBean.java @@ -880,14 +880,6 @@ public class ClosingDayBean extends GenericBean implements Serializable, Datatab calendar.set(Calendar.MILLISECOND, 0); int dayOfWeek = calendar.get(Calendar.DAY_OF_WEEK); - if (!(dayOfWeek == Calendar.SUNDAY) && !(userId.equalsIgnoreCase("aad0c673-eb93-11ea-b7e1-02907d0fb4e6"))) { - if (totalCustomerWithOutAction.compareTo(new Long(0)) == 1) { - FacesMessage msg = new FacesMessage("ERROR", "El asesor debe de realizar una acción en todas sus compras de producto."); - FacesContext.getCurrentInstance().addMessage(null, msg); - return; - } - } - if (totales.getTotal().compareTo(new BigDecimal(total)) != 0) { if (comments == null || comments.trim().equals("")) { FacesMessage msg = new FacesMessage("ERROR", "Es necesario capturar las observaciones.");