diff --git a/Ventas/Ventas.aspx.vb b/Ventas/Ventas.aspx.vb index e6dae90ad..d7c129b73 100644 --- a/Ventas/Ventas.aspx.vb +++ b/Ventas/Ventas.aspx.vb @@ -5063,6 +5063,10 @@ Partial Class Ventas ' End If ' End If 'End If + 'si utiliza cortes, y cajas, no permitir cancelar de días anteriores + If UsuarioActual.Empresa.Funcionalidad(109) = "1" AndAlso DbRowVenta("Fecha").ToString.ToDate.ToShortDateString.ToDate < Now.ToShortDateString.ToDate Then + LbCancelarDocumento.Visible = False + End If End If End If