189 Ajustes RDLC, Ventas limpiar gvInv de link de kardex duplicado
This commit is contained in:
@@ -2387,18 +2387,7 @@ Partial Class Ventas
|
||||
End Set
|
||||
End Property
|
||||
|
||||
Private Property TienePermisoKardex As Boolean
|
||||
Get
|
||||
If ViewState("TienePermisoKardex") Is Nothing Then
|
||||
ViewState("TienePermisoKardex") = False
|
||||
End If
|
||||
|
||||
Return Boolean.Parse(ViewState("TienePermisoKardex").ToString)
|
||||
End Get
|
||||
Set(value As Boolean)
|
||||
ViewState("TienePermisoKardex") = value
|
||||
End Set
|
||||
End Property
|
||||
|
||||
|
||||
#Region "VENTA MEDICA"
|
||||
@@ -2457,7 +2446,7 @@ Partial Class Ventas
|
||||
Exit Sub
|
||||
End If
|
||||
|
||||
TienePermisoKardex = If(UsuarioActual.TienePermisoPagina(224), True, False)
|
||||
|
||||
|
||||
Modalidad = ""
|
||||
Opcion = ""
|
||||
@@ -9550,11 +9539,7 @@ Partial Class Ventas
|
||||
End If
|
||||
End If
|
||||
|
||||
If TienePermisoKardex Then
|
||||
e.Row.FCLiteral("LtlPS").Visible = False
|
||||
e.Row.FCHyperLink("HlPS").Visible = True
|
||||
e.Row.FCHyperLink("HLPS").NavigateUrl = $"../Inventarios/Kardex.aspx?CvePS={e.Row.DBCampo("CvePS").ToString}"
|
||||
End If
|
||||
|
||||
|
||||
End If
|
||||
|
||||
|
||||
Reference in New Issue
Block a user