diff --git a/Compras/eFacturas.aspx.vb b/Compras/eFacturas.aspx.vb index 7e5c2cd3a..f2874e93f 100644 --- a/Compras/eFacturas.aspx.vb +++ b/Compras/eFacturas.aspx.vb @@ -1124,11 +1124,8 @@ Partial Class Compras_eFacturas If UsuarioActual.CveEmpresa.Contiene(13, 83) Then - Dim FechaFactura As Date = e.Row.DataKey("FechaFactura").ToDate - Dim AnioFactura As Integer = FechaFactura.Year - Dim Fecha28Dic As Date = New Date(2024, 12, 28) - If NowADS() >= Fecha28Dic Then + If NowADS() >= Fecha28Dic AndAlso e.Row.DBCampo("FechaFactura").ToDate <= "2025/01/01".ToDate Then e.Row.FCHyperLink("HplAgregar").Visible = False End If End If