189 Ajustes RDLC, Ventas limpiar gvInv de link de kardex duplicado

This commit is contained in:
rakcsle
2025-01-08 15:50:04 -07:00
parent b0201d1c93
commit cdc0e82040
4 changed files with 18 additions and 25 deletions

View File

@@ -425,7 +425,7 @@
<Paragraph> <Paragraph>
<TextRuns> <TextRuns>
<TextRun> <TextRun>
<Value>Código Prov.</Value> <Value># Parte</Value>
<Style> <Style>
<FontFamily>MYRIAd Pro</FontFamily> <FontFamily>MYRIAd Pro</FontFamily>
<FontSize>7.5pt</FontSize> <FontSize>7.5pt</FontSize>

View File

@@ -359,7 +359,7 @@
<Paragraph> <Paragraph>
<TextRuns> <TextRuns>
<TextRun> <TextRun>
<Value>Código Prov.</Value> <Value># Parte</Value>
<Style> <Style>
<FontFamily>calibri</FontFamily> <FontFamily>calibri</FontFamily>
<FontSize>9.5pt</FontSize> <FontSize>9.5pt</FontSize>
@@ -875,6 +875,7 @@
</TablixMembers> </TablixMembers>
</TablixRowHierarchy> </TablixRowHierarchy>
<DataSetName>DsOC</DataSetName> <DataSetName>DsOC</DataSetName>
<Top>0cm</Top>
<Left>0.04788in</Left> <Left>0.04788in</Left>
<Height>0.34081in</Height> <Height>0.34081in</Height>
<Width>8.21665in</Width> <Width>8.21665in</Width>
@@ -1700,7 +1701,7 @@
<Height>3.83039in</Height> <Height>3.83039in</Height>
<Style /> <Style />
</Body> </Body>
<Width>8.26453in</Width> <Width>8.29578in</Width>
<Page> <Page>
<PageHeader> <PageHeader>
<Height>5.96613cm</Height> <Height>5.96613cm</Height>
@@ -1884,7 +1885,7 @@
<Top>0.98635in</Top> <Top>0.98635in</Top>
<Left>0.16378cm</Left> <Left>0.16378cm</Left>
<Height>1.36252in</Height> <Height>1.36252in</Height>
<Width>2.82301in</Width> <Width>4.02093in</Width>
<Style> <Style>
<Border> <Border>
<Style>None</Style> <Style>None</Style>
@@ -1902,7 +1903,7 @@
<Paragraph> <Paragraph>
<TextRuns> <TextRuns>
<TextRun> <TextRun>
<Value>=IIF(LEN(Parameters!SubProyectoEntrega.Value) &gt; 0,"Lugar de Entrega: " + Parameters!SubProyectoEntrega.Value,"")</Value> <Value>=IIF(LEN(Parameters!SubProyectoEntrega.Value) &gt; 0 or LEN(Parameters!ProveedorLugar.Value) &gt; 0,"Lugar de Entrega: " + Parameters!SubProyectoEntrega.Value,"")</Value>
<Style> <Style>
<FontFamily>Calibri</FontFamily> <FontFamily>Calibri</FontFamily>
<FontSize>9.16pt</FontSize> <FontSize>9.16pt</FontSize>
@@ -1932,6 +1933,14 @@
<FontWeight>Normal</FontWeight> <FontWeight>Normal</FontWeight>
</Style> </Style>
</TextRun> </TextRun>
<TextRun>
<Value>=Parameters!ProveedorLugar.Value</Value>
<Style>
<FontFamily>Calibri</FontFamily>
<FontSize>8pt</FontSize>
<FontWeight>Normal</FontWeight>
</Style>
</TextRun>
</TextRuns> </TextRuns>
<Style> <Style>
<TextAlign>Left</TextAlign> <TextAlign>Left</TextAlign>
@@ -1942,7 +1951,7 @@
<Top>2.50885cm</Top> <Top>2.50885cm</Top>
<Left>12.69644cm</Left> <Left>12.69644cm</Left>
<Height>3.45728cm</Height> <Height>3.45728cm</Height>
<Width>7.11877cm</Width> <Width>8.00264cm</Width>
<ZIndex>1</ZIndex> <ZIndex>1</ZIndex>
<Style> <Style>
<Border> <Border>

View File

@@ -1983,7 +1983,6 @@
<HeaderTemplate>Producto</HeaderTemplate> <HeaderTemplate>Producto</HeaderTemplate>
<ItemTemplate> <ItemTemplate>
<asp:Literal ID="LtlPS" runat="server" Text='<%# Eval("CodigoPS") %>'></asp:Literal> <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>
</ItemTemplate> </ItemTemplate>
</asp:TemplateField> </asp:TemplateField>
<asp:TemplateField HeaderText="Serie" Visible="false"> <asp:TemplateField HeaderText="Serie" Visible="false">

View File

@@ -2387,18 +2387,7 @@ Partial Class Ventas
End Set End Set
End Property 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" #Region "VENTA MEDICA"
@@ -2457,7 +2446,7 @@ Partial Class Ventas
Exit Sub Exit Sub
End If End If
TienePermisoKardex = If(UsuarioActual.TienePermisoPagina(224), True, False)
Modalidad = "" Modalidad = ""
Opcion = "" Opcion = ""
@@ -9550,11 +9539,7 @@ Partial Class Ventas
End If End If
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 End If