Al mostrar/editar IE ocultar DropDownlost de cliente o prveedor y mostrar label indicando beneficiario, para cuando se este en modo de edición no cause confución al usuario
This commit is contained in:
@@ -646,8 +646,9 @@ Partial Class Bancos_IE
|
||||
Anexo.Visible = False
|
||||
DdlCliente.Enabled = False
|
||||
DdlProveedores.Enabled = False
|
||||
DdlPersonal.Enabled = False
|
||||
|
||||
DdlPersonal.Visible = False
|
||||
|
||||
|
||||
CargaDatos()
|
||||
|
||||
BtnGuardar.Visible = False
|
||||
@@ -846,15 +847,25 @@ Partial Class Bancos_IE
|
||||
|
||||
If CveCliente > 0 Then
|
||||
DdlCliente.SelectedText = ObjIE.PagueseA
|
||||
DdlCliente.SelectedValue = CveCliente.ToString
|
||||
DdlCliente.Visible = True
|
||||
DdlCliente.SelectedValue = CveCliente.ToString
|
||||
|
||||
DdlCliente.Visible = False
|
||||
DdlCliente.Enabled = False
|
||||
|
||||
LblPagarA.Visible = True
|
||||
LblPagarA.Text = ObjIE.PagueseA
|
||||
|
||||
' LnkEmitirComplemento.Visible = True
|
||||
ElseIf CveProveedor > 0 Then
|
||||
DdlProveedores.SelectedText = ObjIE.PagueseA
|
||||
DdlProveedores.SelectedValue = CveProveedor.ToString
|
||||
DdlProveedores.Visible = True
|
||||
DdlProveedores.Visible = False
|
||||
DdlProveedores.Enabled = False
|
||||
|
||||
LblPagarA.Visible = True
|
||||
LblPagarA.Text = ObjIE.PagueseA
|
||||
|
||||
|
||||
'Se prepara para la generacion del envio de correo con notificacion de pago
|
||||
LnkEnviarMailPago.Attributes.Add("onclick", "$('#ModalDivMail').modal();")
|
||||
LnkEnviarMailPago.Visible = True
|
||||
|
||||
Reference in New Issue
Block a user