diff --git a/Ventas/Clientes.aspx b/Ventas/Clientes.aspx
index 97a0b5725..e3f74c920 100644
--- a/Ventas/Clientes.aspx
+++ b/Ventas/Clientes.aspx
@@ -2569,7 +2569,7 @@
-
+
diff --git a/Ventas/Clientes.aspx.vb b/Ventas/Clientes.aspx.vb
index 52440f082..3b4e5846f 100644
--- a/Ventas/Clientes.aspx.vb
+++ b/Ventas/Clientes.aspx.vb
@@ -2592,6 +2592,7 @@ Partial Class Clientes
If TxtLimiteCredito.Text.ToDecimal = 0 OrElse TxtCobranzaContacto.Text.Trim = "" OrElse TxtCobranzaTelefono.Text.Trim = "" OrElse TxtDiasEspecifico.Text.Trim = "" OrElse TxtCobranzaCorreo.Text.Trim = "" Then
InformacionCompleta = False
End If
+ If DdlTipoPago.SelectedValue.ToEntero <= 0 Then InformacionCompleta = False
'si es el concepto de pagaré
tPagare = 0
For Each dRow As GridViewRow In GvDocumentosCliente.Rows
@@ -2601,18 +2602,25 @@ Partial Class Clientes
End If
Next
If tPagare = 0 Then InformacionCompleta = False
- If GvClentesPersonalEntrega.Rows.Count = 0 Then InformacionCompleta = False
-
End If
- If TxtTelefono.Text.Trim() = "" Then InformacionCompleta = False
- If TxtEmail.Text.Trim() = "" Then InformacionCompleta = False
'SOLO VALIDA EN CLIENTES FRECUENTE
If DdlTipoCliente.SelectedValue = "1" Then
+ If GvClentesPersonalEntrega.Rows.Count = 0 Then InformacionCompleta = False
+ 'VALIDACIONES DE BANCOS
+ If Not GvBancosCuentas.Rows.Cast(Of GridViewRow).Any(Function(c) c.DataKey("EstatusTexto") = "Activo") Then InformacionCompleta = False
+ If Not GvBancosCuentas.Rows.Cast(Of GridViewRow).Any(Function(c) c.DataKey("CLABE") <> "") Then InformacionCompleta = False
+ If Not GvBancosCuentas.Rows.Cast(Of GridViewRow).Any(Function(c) c.DataKey("BancoNombre") <> "") Then InformacionCompleta = False
+ If Not GvBancosCuentas.Rows.Cast(Of GridViewRow).Any(Function(c) c.DataKey("Sucursal") <> "") Then InformacionCompleta = False
+ If Not GvBancosCuentas.Rows.Cast(Of GridViewRow).Any(Function(c) c.DataKey("Cuenta") <> "") Then InformacionCompleta = False
+
If TxtContacto.Text.Trim() = "" Then InformacionCompleta = False
If TxtRepresentanteLegal.Text.Trim() = "" Then InformacionCompleta = False
-
End If
+
+ If TxtTelefono.Text.Trim() = "" Then InformacionCompleta = False
+ If TxtEmail.Text.Trim() = "" Then InformacionCompleta = False
+
End If
'CargaSucursal()