Mensajes layout cuentas deposito bancomer , Proveedores abonar, Ie, PopIeCompras
This commit is contained in:
@@ -4660,7 +4660,7 @@ Partial Class Bancos_IE
|
|||||||
trCuentaDeposito.Visible = True
|
trCuentaDeposito.Visible = True
|
||||||
DdlCuentaDeposito.Items.Insert(0, New ListItem("Seleccione una cuenta", "-1"))
|
DdlCuentaDeposito.Items.Insert(0, New ListItem("Seleccione una cuenta", "-1"))
|
||||||
Else
|
Else
|
||||||
Alert("El proveedor no tiene ninguna cuenta deposito registrada ante el sistema BBVA BANCOMER", TipoMensaje.MsgAdvertencia)
|
Alert("El Beneficiario no tiene una cuenta activa en BBVA, dela de alta o seleccione otro método de pago", TipoMensaje.MsgAdvertencia)
|
||||||
End If
|
End If
|
||||||
|
|
||||||
Else
|
Else
|
||||||
@@ -4668,25 +4668,12 @@ Partial Class Bancos_IE
|
|||||||
If Dep.DtResultados.Rows.Count > 0 Then
|
If Dep.DtResultados.Rows.Count > 0 Then
|
||||||
trCuentaDeposito.Visible = True
|
trCuentaDeposito.Visible = True
|
||||||
DdlCuentaDeposito.Items.Insert(0, New ListItem("Seleccione una cuenta", "-1"))
|
DdlCuentaDeposito.Items.Insert(0, New ListItem("Seleccione una cuenta", "-1"))
|
||||||
|
|
||||||
End If
|
End If
|
||||||
End If
|
End If
|
||||||
|
|
||||||
|
|
||||||
''ANTIGUO
|
|
||||||
'GVCuentasPago.DataSource = Dep.DtResultados
|
|
||||||
'If Dep.DtResultados.Rows.Count > 1 Then
|
|
||||||
' trCuentaDeposito.Visible = True
|
|
||||||
' DdlCuentaDeposito.Items.Insert(0, New ListItem("Seleccione una cuenta", "-1"))
|
|
||||||
|
|
||||||
' 'Si tiene seleccionado Tipo Mov: Layout y no tiene cuenta deposito
|
|
||||||
'ElseIf DdlTipoTransaccion.SelectedValue = "9" AndAlso Not Dep.DtResultados.Rows.Count > 0 Then
|
|
||||||
' trCuentaDeposito.Visible = True
|
|
||||||
' DdlCuentaDeposito.Items.Insert(0, New ListItem("Seleccione una cuenta", "-1"))
|
|
||||||
|
|
||||||
' BtnIEGuardar.Enabled = False
|
|
||||||
' UpGuardar.Update()
|
|
||||||
' Alert("El proveedor no tiene ninguna cuenta deposito registrada ante el sistema BBVA BANCOMER", TipoMensaje.MsgAdvertencia)
|
|
||||||
'End If
|
|
||||||
|
|
||||||
End If
|
End If
|
||||||
Dep.Dispose()
|
Dep.Dispose()
|
||||||
|
|||||||
@@ -942,7 +942,7 @@ Partial Class Bancos_PopIECompras
|
|||||||
DdlCuentaDeposito.Items.Insert(0, New ListItem("Seleccione una cuenta", "-1"))
|
DdlCuentaDeposito.Items.Insert(0, New ListItem("Seleccione una cuenta", "-1"))
|
||||||
Else
|
Else
|
||||||
BtnGuardar.Enabled = False
|
BtnGuardar.Enabled = False
|
||||||
Alert("El proveedor no tiene ninguna cuenta deposito registrada ante el sistema BBVA BANCOMER", TipoMensaje.MsgAdvertencia)
|
Alert("El Beneficiario no tiene una cuenta activa en BBVA, dela de alta o seleccione otro método de pago", TipoMensaje.MsgAdvertencia)
|
||||||
End If
|
End If
|
||||||
|
|
||||||
Else
|
Else
|
||||||
|
|||||||
@@ -2515,33 +2515,24 @@ Partial Class Bancos_ProveedoresAbonar
|
|||||||
DdlCuentaDeposito.Items.Insert(0, New ListItem("Seleccione una cuenta", "-1"))
|
DdlCuentaDeposito.Items.Insert(0, New ListItem("Seleccione una cuenta", "-1"))
|
||||||
Else
|
Else
|
||||||
BtnIEGuardar.Enabled = False
|
BtnIEGuardar.Enabled = False
|
||||||
Alert("El proveedor no tiene ninguna cuenta deposito registrada ante el sistema BBVA BANCOMER", TipoMensaje.MsgAdvertencia)
|
Alert("El Beneficiario no tiene una cuenta activa en BBVA, dela de alta o seleccione otro método de pago", TipoMensaje.MsgAdvertencia)
|
||||||
End If
|
End If
|
||||||
|
|
||||||
ElseIf DdlTipoTransaccion.SelectedValue = "17" Then
|
ElseIf DdlTipoTransaccion.SelectedValue = "17" Then
|
||||||
|
|
||||||
|
|
||||||
If Dep.DtResultados.Rows.Count > 0 Then
|
If Dep.DtResultados.Rows.Count > 0 Then
|
||||||
DdlCuentaDeposito.DataSource = Dep.DtResultados '.FiltraParametros("EstatusPagoElectronicoGrupos = 'True' AND Estatus ='True'")
|
DdlCuentaDeposito.DataSource = Dep.DtResultados
|
||||||
trCuentaDeposito.Visible = True
|
trCuentaDeposito.Visible = True
|
||||||
BtnIEGuardar.ToolTip = ""
|
BtnIEGuardar.ToolTip = ""
|
||||||
Else
|
Else
|
||||||
'Alert("El proveedor no tiene cuentas deposito registradas.")
|
|
||||||
|
|
||||||
BtnIEGuardar.Enabled = False
|
BtnIEGuardar.Enabled = False
|
||||||
BtnIEGuardar.ToolTip = "El proveedor no tiene cuentas deposito"
|
BtnIEGuardar.ToolTip = "El proveedor no tiene cuentas deposito"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
End If
|
End If
|
||||||
|
|
||||||
'If Dep.DtResultados.FiltraParametros("EstatusPagoElectronicoGrupos = 'True' AND Estatus ='True'").Rows.Count > 0 Then
|
|
||||||
' trCuentaDeposito.Visible = True
|
|
||||||
' DdlCuentaDeposito.Items.Insert(0, New ListItem("Seleccione una cuenta", "-1"))
|
|
||||||
'Else
|
|
||||||
' BtnIEGuardar.Enabled = False
|
|
||||||
' Alert("El proveedor no tiene ninguna cuenta deposito registrada ", TipoMensaje.MsgAdvertencia)
|
|
||||||
'End If
|
|
||||||
UpGuardar.Update()
|
UpGuardar.Update()
|
||||||
Else
|
Else
|
||||||
DdlCuentaDeposito.DataSource = Dep.DtResultados.FiltraParametros("Estatus ='True'")
|
DdlCuentaDeposito.DataSource = Dep.DtResultados.FiltraParametros("Estatus ='True'")
|
||||||
|
|||||||
Reference in New Issue
Block a user