--Cambios información completa
This commit is contained in:
@@ -2569,7 +2569,7 @@
|
|||||||
<div class="portlet-body ">
|
<div class="portlet-body ">
|
||||||
<asp:UpdatePanel ID="UpCuentasBancos" runat="server" UpdateMode="Conditional">
|
<asp:UpdatePanel ID="UpCuentasBancos" runat="server" UpdateMode="Conditional">
|
||||||
<ContentTemplate>
|
<ContentTemplate>
|
||||||
<asp:GridView ID="GvBancosCuentas" GridLines="None" BorderColor="#D3D3D3" CssClass="table table-striped table-hover Widthall ScrollAD mysmallbtn" data-sort="true" runat="server" DataKeyNames="CveCuentaDeposito,BancoNombre,Sucursal,Cuenta,CLABE,SWIFT,Plaza,CIE,Referencia,CveMoneda,Estatus" AutoGenerateColumns="False" EmptyDataText="No se encontraron registros" ToolTip="Listado de Cuentas Bancarias">
|
<asp:GridView ID="GvBancosCuentas" GridLines="None" BorderColor="#D3D3D3" CssClass="table table-striped table-hover Widthall ScrollAD mysmallbtn" data-sort="true" runat="server" DataKeyNames="CveCuentaDeposito,BancoNombre,Sucursal,Cuenta,CLABE,SWIFT,Plaza,CIE,Referencia,CveMoneda,Estatus,EstatusTexto" AutoGenerateColumns="False" EmptyDataText="No se encontraron registros" ToolTip="Listado de Cuentas Bancarias">
|
||||||
<Columns>
|
<Columns>
|
||||||
<asp:TemplateField ItemStyle-HorizontalAlign="Left" HeaderText="Banco" ItemStyle-CssClass="Excede">
|
<asp:TemplateField ItemStyle-HorizontalAlign="Left" HeaderText="Banco" ItemStyle-CssClass="Excede">
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
|
|||||||
@@ -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
|
If TxtLimiteCredito.Text.ToDecimal = 0 OrElse TxtCobranzaContacto.Text.Trim = "" OrElse TxtCobranzaTelefono.Text.Trim = "" OrElse TxtDiasEspecifico.Text.Trim = "" OrElse TxtCobranzaCorreo.Text.Trim = "" Then
|
||||||
InformacionCompleta = False
|
InformacionCompleta = False
|
||||||
End If
|
End If
|
||||||
|
If DdlTipoPago.SelectedValue.ToEntero <= 0 Then InformacionCompleta = False
|
||||||
'si es el concepto de pagaré
|
'si es el concepto de pagaré
|
||||||
tPagare = 0
|
tPagare = 0
|
||||||
For Each dRow As GridViewRow In GvDocumentosCliente.Rows
|
For Each dRow As GridViewRow In GvDocumentosCliente.Rows
|
||||||
@@ -2601,18 +2602,25 @@ Partial Class Clientes
|
|||||||
End If
|
End If
|
||||||
Next
|
Next
|
||||||
If tPagare = 0 Then InformacionCompleta = False
|
If tPagare = 0 Then InformacionCompleta = False
|
||||||
If GvClentesPersonalEntrega.Rows.Count = 0 Then InformacionCompleta = False
|
|
||||||
|
|
||||||
End If
|
End If
|
||||||
If TxtTelefono.Text.Trim() = "" Then InformacionCompleta = False
|
|
||||||
If TxtEmail.Text.Trim() = "" Then InformacionCompleta = False
|
|
||||||
|
|
||||||
'SOLO VALIDA EN CLIENTES FRECUENTE
|
'SOLO VALIDA EN CLIENTES FRECUENTE
|
||||||
If DdlTipoCliente.SelectedValue = "1" Then
|
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 TxtContacto.Text.Trim() = "" Then InformacionCompleta = False
|
||||||
If TxtRepresentanteLegal.Text.Trim() = "" Then InformacionCompleta = False
|
If TxtRepresentanteLegal.Text.Trim() = "" Then InformacionCompleta = False
|
||||||
|
|
||||||
End If
|
End If
|
||||||
|
|
||||||
|
If TxtTelefono.Text.Trim() = "" Then InformacionCompleta = False
|
||||||
|
If TxtEmail.Text.Trim() = "" Then InformacionCompleta = False
|
||||||
|
|
||||||
End If
|
End If
|
||||||
|
|
||||||
'CargaSucursal()
|
'CargaSucursal()
|
||||||
|
|||||||
Reference in New Issue
Block a user