189 Ajustes RDLC, Ventas limpiar gvInv de link de kardex duplicado
This commit is contained in:
@@ -425,7 +425,7 @@
|
||||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value>Código Prov.</Value>
|
||||
<Value># Parte</Value>
|
||||
<Style>
|
||||
<FontFamily>MYRIAd Pro</FontFamily>
|
||||
<FontSize>7.5pt</FontSize>
|
||||
|
||||
@@ -359,7 +359,7 @@
|
||||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value>Código Prov.</Value>
|
||||
<Value># Parte</Value>
|
||||
<Style>
|
||||
<FontFamily>calibri</FontFamily>
|
||||
<FontSize>9.5pt</FontSize>
|
||||
@@ -875,6 +875,7 @@
|
||||
</TablixMembers>
|
||||
</TablixRowHierarchy>
|
||||
<DataSetName>DsOC</DataSetName>
|
||||
<Top>0cm</Top>
|
||||
<Left>0.04788in</Left>
|
||||
<Height>0.34081in</Height>
|
||||
<Width>8.21665in</Width>
|
||||
@@ -1700,7 +1701,7 @@
|
||||
<Height>3.83039in</Height>
|
||||
<Style />
|
||||
</Body>
|
||||
<Width>8.26453in</Width>
|
||||
<Width>8.29578in</Width>
|
||||
<Page>
|
||||
<PageHeader>
|
||||
<Height>5.96613cm</Height>
|
||||
@@ -1884,7 +1885,7 @@
|
||||
<Top>0.98635in</Top>
|
||||
<Left>0.16378cm</Left>
|
||||
<Height>1.36252in</Height>
|
||||
<Width>2.82301in</Width>
|
||||
<Width>4.02093in</Width>
|
||||
<Style>
|
||||
<Border>
|
||||
<Style>None</Style>
|
||||
@@ -1902,7 +1903,7 @@
|
||||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value>=IIF(LEN(Parameters!SubProyectoEntrega.Value) > 0,"Lugar de Entrega: " + Parameters!SubProyectoEntrega.Value,"")</Value>
|
||||
<Value>=IIF(LEN(Parameters!SubProyectoEntrega.Value) > 0 or LEN(Parameters!ProveedorLugar.Value) > 0,"Lugar de Entrega: " + Parameters!SubProyectoEntrega.Value,"")</Value>
|
||||
<Style>
|
||||
<FontFamily>Calibri</FontFamily>
|
||||
<FontSize>9.16pt</FontSize>
|
||||
@@ -1932,6 +1933,14 @@
|
||||
<FontWeight>Normal</FontWeight>
|
||||
</Style>
|
||||
</TextRun>
|
||||
<TextRun>
|
||||
<Value>=Parameters!ProveedorLugar.Value</Value>
|
||||
<Style>
|
||||
<FontFamily>Calibri</FontFamily>
|
||||
<FontSize>8pt</FontSize>
|
||||
<FontWeight>Normal</FontWeight>
|
||||
</Style>
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
<Style>
|
||||
<TextAlign>Left</TextAlign>
|
||||
@@ -1942,7 +1951,7 @@
|
||||
<Top>2.50885cm</Top>
|
||||
<Left>12.69644cm</Left>
|
||||
<Height>3.45728cm</Height>
|
||||
<Width>7.11877cm</Width>
|
||||
<Width>8.00264cm</Width>
|
||||
<ZIndex>1</ZIndex>
|
||||
<Style>
|
||||
<Border>
|
||||
|
||||
@@ -1982,8 +1982,7 @@
|
||||
<asp:TemplateField>
|
||||
<HeaderTemplate>Producto</HeaderTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:Literal ID="LtlPS" runat="server" Text='<%# Eval("CodigoPS") %>'></asp:Literal>
|
||||
<asp:HyperLink ID="HlPS" runat="server" Text='<%# Eval("CodigoPS") %>' Visible="false" Target="_blank"></asp:HyperLink>
|
||||
<asp:Literal ID="LtlPS" runat="server" Text='<%# Eval("CodigoPS") %>'></asp:Literal>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Serie" Visible="false">
|
||||
|
||||
@@ -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