Compras Ajuste Gridview vinculacion anticipos notas, pomociones, ya no bloquear proposiones con padre

This commit is contained in:
Oscar Irigoyen
2023-02-09 19:36:35 -07:00
parent 2bd559fbc0
commit 3adb2aa212
4 changed files with 25 additions and 21 deletions

View File

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