Rep complementos de pago mensajes de longitud de cuenta de cliente
This commit is contained in:
@@ -218,6 +218,7 @@ Partial Class Bancos_RepComplementoPago
|
|||||||
e.Row.ForeColor = Drawing.Color.Red
|
e.Row.ForeColor = Drawing.Color.Red
|
||||||
e.Row.FCCheckBox("Chk").Enabled = False
|
e.Row.FCCheckBox("Chk").Enabled = False
|
||||||
e.Row.FCCheckBox("Chk").ToolTip = Mensaje
|
e.Row.FCCheckBox("Chk").ToolTip = Mensaje
|
||||||
|
e.Row.Attributes.Add("title", Mensaje)
|
||||||
End If
|
End If
|
||||||
|
|
||||||
Else
|
Else
|
||||||
@@ -341,57 +342,58 @@ Partial Class Bancos_RepComplementoPago
|
|||||||
' no tiene restricciones
|
' no tiene restricciones
|
||||||
Case "2"
|
Case "2"
|
||||||
If CuentaPago <> "" AndAlso Not CuentaPago.Length.Contiene(11, 18) Then
|
If CuentaPago <> "" AndAlso Not CuentaPago.Length.Contiene(11, 18) Then
|
||||||
Mensaje = "La cuenta ordenante no cumple con el formato esperado."
|
Mensaje = "La cuenta ordenante no cumple con el formato esperado. El tamaño debe de ser de 11 o 18 caracteres."
|
||||||
End If
|
End If
|
||||||
|
|
||||||
If CuentaBeneficiario <> "" AndAlso Not (CuentaBeneficiario.Length.Contiene(10, 11, 15, 16, 18, 50)) Then
|
If CuentaBeneficiario <> "" AndAlso Not (CuentaBeneficiario.Length.Contiene(10, 11, 15, 16, 18, 50)) Then
|
||||||
Mensaje = $"{Mensaje} La Cuenta Beneficiario no cumple con el formato esperado."
|
Mensaje = $"{Mensaje} La Cuenta Beneficiario no cumple con el formato esperado. El tamaño debe de ser de 10, 11, 15, 16, 18 o 50 caracteres."
|
||||||
End If
|
End If
|
||||||
Case "3"
|
Case "3"
|
||||||
If CuentaPago <> "" AndAlso Not CuentaPago.Length.Contiene(10, 16, 18) Then
|
If CuentaPago <> "" AndAlso Not CuentaPago.Length.Contiene(10, 16, 18) Then
|
||||||
Mensaje = "La cuenta ordenante no cumple con el formato esperado."
|
|
||||||
|
Mensaje = "La cuenta ordenante no cumple con el formato esperado. El tamaño debe de ser de caracteres."
|
||||||
End If
|
End If
|
||||||
If CuentaBeneficiario <> "" AndAlso Not (CuentaBeneficiario.Length.Contiene(10, 18)) Then
|
If CuentaBeneficiario <> "" AndAlso Not (CuentaBeneficiario.Length.Contiene(10, 18)) Then
|
||||||
Mensaje = $"{Mensaje} La Cuenta Beneficiario no cumple con el formato esperado."
|
Mensaje = $"{Mensaje} La Cuenta Beneficiario no cumple con el formato esperado. El tamaño debe de ser de 10 o 18 caracteres."
|
||||||
End If
|
End If
|
||||||
Case "4"
|
Case "4"
|
||||||
If CuentaPago <> "" AndAlso Not CuentaPago.Length.Contiene(16) Then
|
If CuentaPago <> "" AndAlso Not CuentaPago.Length.Contiene(16) Then
|
||||||
Mensaje = "La cuenta ordenante no cumple con el formato esperado."
|
Mensaje = "La cuenta ordenante no cumple con el formato esperado. El tamaño debe de ser de 16 caracteres."
|
||||||
End If
|
End If
|
||||||
|
|
||||||
If CuentaBeneficiario <> "" AndAlso Not (CuentaBeneficiario.Length.Contiene(10, 11, 15, 16, 18, 50)) Then
|
If CuentaBeneficiario <> "" AndAlso Not (CuentaBeneficiario.Length.Contiene(10, 11, 15, 16, 18, 50)) Then
|
||||||
Mensaje = $"{Mensaje} La Cuenta Beneficiario no cumple con el formato esperado."
|
Mensaje = $"{Mensaje} La Cuenta Beneficiario no cumple con el formato esperado. El tamaño debe de ser de 10, 11, 15, 16, 18 o 50 caracteres."
|
||||||
End If
|
End If
|
||||||
|
|
||||||
Case "5"
|
Case "5"
|
||||||
If CuentaPago <> "" AndAlso Not CuentaPago.Length.Contiene(10, 11, 15, 16, 18, 50) Then
|
If CuentaPago <> "" AndAlso Not CuentaPago.Length.Contiene(10, 11, 15, 16, 18, 50) Then
|
||||||
Mensaje = "La cuenta ordenante no cumple con el formato esperado."
|
Mensaje = "La cuenta ordenante no cumple con el formato esperado. El tamaño debe de ser de 10, 11, 15, 16, 18 o 50 caracteres."
|
||||||
End If
|
End If
|
||||||
|
|
||||||
If CuentaBeneficiario <> "" AndAlso Not (CuentaBeneficiario.Length.Contiene(10, 11, 15, 16, 18, 50)) Then
|
If CuentaBeneficiario <> "" AndAlso Not (CuentaBeneficiario.Length.Contiene(10, 11, 15, 16, 18, 50)) Then
|
||||||
Mensaje = $"{Mensaje} La Cuenta Beneficiario no cumple con el formato esperado."
|
Mensaje = $"{Mensaje} La Cuenta Beneficiario no cumple con el formato esperado. El tamaño debe de ser de 10, 11, 15, 16, 18 o 50 caracteres."
|
||||||
End If
|
End If
|
||||||
Case "6"
|
Case "6"
|
||||||
If CuentaPago <> "" AndAlso Not CuentaPago.Length.Contiene(10) Then
|
If CuentaPago <> "" AndAlso Not CuentaPago.Length.Contiene(10) Then
|
||||||
Mensaje = "La cuenta ordenante no cumple con el formato esperado."
|
Mensaje = "La cuenta ordenante no cumple con el formato esperado. El tamaño debe de ser de 10 caracteres."
|
||||||
End If
|
End If
|
||||||
|
|
||||||
CuentaBeneficiario = ""
|
CuentaBeneficiario = ""
|
||||||
Case "28"
|
Case "28"
|
||||||
If CuentaPago <> "" AndAlso Not CuentaPago.Length.Contiene(16) Then
|
If CuentaPago <> "" AndAlso Not CuentaPago.Length.Contiene(16) Then
|
||||||
Mensaje = "La cuenta ordenante no cumple con el formato esperado."
|
Mensaje = "La cuenta ordenante no cumple con el formato esperado. El tamaño debe de ser de 16 caracteres."
|
||||||
End If
|
End If
|
||||||
|
|
||||||
If CuentaBeneficiario <> "" AndAlso Not (CuentaBeneficiario.Length.Contiene(10, 11, 15, 16, 18, 50)) Then
|
If CuentaBeneficiario <> "" AndAlso Not (CuentaBeneficiario.Length.Contiene(10, 11, 15, 16, 18, 50)) Then
|
||||||
Mensaje = $"{Mensaje} La Cuenta Beneficiario no cumple con el formato esperado."
|
Mensaje = $"{Mensaje} La Cuenta Beneficiario no cumple con el formato esperado. El tamaño debe de ser de 10, 11, 15, 16, 18 o 50 caracteres."
|
||||||
End If
|
End If
|
||||||
Case "29"
|
Case "29"
|
||||||
If CuentaPago <> "" AndAlso Not CuentaPago.Length.Contiene(15, 16) Then
|
If CuentaPago <> "" AndAlso Not CuentaPago.Length.Contiene(15, 16) Then
|
||||||
Mensaje = "La cuenta ordenante no cumple con el formato esperado."
|
Mensaje = "La cuenta ordenante no cumple con el formato esperado. El tamaño debe de ser de 15 o 16 caracteres."
|
||||||
End If
|
End If
|
||||||
|
|
||||||
If CuentaBeneficiario <> "" AndAlso Not (CuentaBeneficiario.Length.Contiene(10, 11, 15, 16, 18, 50)) Then
|
If CuentaBeneficiario <> "" AndAlso Not (CuentaBeneficiario.Length.Contiene(10, 11, 15, 16, 18, 50)) Then
|
||||||
Mensaje = $"{Mensaje} La Cuenta Beneficiario no cumple con el formato esperado."
|
Mensaje = $"{Mensaje} La Cuenta Beneficiario no cumple con el formato esperado. El tamaño debe de ser de 10, 11, 15, 16, 18 o 50 caracteres."
|
||||||
End If
|
End If
|
||||||
Case Else
|
Case Else
|
||||||
Mensaje = "Forma de Pago no valida, no tiene una forma de pago SAT"
|
Mensaje = "Forma de Pago no valida, no tiene una forma de pago SAT"
|
||||||
|
|||||||
Binary file not shown.
@@ -398,7 +398,7 @@
|
|||||||
<i></i>
|
<i></i>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group form-md-line-input input-iconright">
|
<div class="form-group form-md-line-input input-iconright">
|
||||||
<asp:TextBox CssClass="form-control" ID="TxtCredencialElector" runat="server" MaxLength="50"></asp:TextBox>
|
<asp:TextBox CssClass="form-control" ID="TxtCredencialElector" runat="server" MaxLength="18"></asp:TextBox>
|
||||||
<label for="<%= TxtCredencialElector.ClientID.ToString()%>">Credencial Elector: </label>
|
<label for="<%= TxtCredencialElector.ClientID.ToString()%>">Credencial Elector: </label>
|
||||||
<i></i>
|
<i></i>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user