-- activacioin para las facturas del 2025

This commit is contained in:
2024-12-29 07:44:51 -07:00
parent ac1645f751
commit 2dbdcb6e3b

View File

@@ -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