Compras Ajuste Gridview vinculacion anticipos notas, pomociones, ya no bloquear proposiones con padre
This commit is contained in:
@@ -873,7 +873,10 @@
|
||||
<div class="col-md-6">
|
||||
<asp:UpdatePanel ID="UPPAnticiposSel" runat="server" UpdateMode="Conditional">
|
||||
<ContentTemplate>
|
||||
<asp:GridView ID="GvAnticiposSel" runat="server" CssClass="table table-striped table-hover Widthall" AutoGenerateColumns="False" DataKeyNames="TipoDocto,CveCompraNC" ClientIDMode="Static" EmptyDataText="" Caption="Anticipos/NC Vinculados" GridLines="None">
|
||||
|
||||
<asp:Literal runat="server" ID="LtlGvAnticiposSel" Visible="false">Anticipos/NC Vinculados</asp:Literal>
|
||||
<asp:GridView ID="GvAnticiposSel" runat="server" CssClass="table table-striped table-hover ScrollAD" Width="100%" AutoGenerateColumns="False" DataKeyNames="TipoDocto,CveCompraNC" ClientIDMode="Static" EmptyDataText="" data-height="280"
|
||||
GridLines="None">
|
||||
<Columns>
|
||||
<asp:TemplateField>
|
||||
<ItemTemplate>
|
||||
|
||||
@@ -3122,6 +3122,10 @@ Partial Class Compras_Compras
|
||||
GvAnticiposSel.DataSource = dtnc
|
||||
GvAnticiposSel.DataBind()
|
||||
|
||||
If dtnc IsNot Nothing AndAlso dtnc.Rows.Count > 0 Then
|
||||
LtlGvAnticiposSel.Visible = True
|
||||
End If
|
||||
|
||||
|
||||
'' VALIDA ELIMINAR COMPRA, QUE NO TENGA PAGOS CONCILIADOS
|
||||
If (UsuarioActual.TienePermisoProceso(77) OrElse UsuarioActual.TienePermisoProceso(135)) AndAlso dr("NumPagosConciliados").ToString.ToEntero = 0 Then ' Eliminar compra
|
||||
|
||||
Reference in New Issue
Block a user