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:
@@ -41,7 +41,7 @@
|
|||||||
<asp:LinkButton ID="LnkChqDevuelto" runat="server" Visible="false" OnClick="LnkChqDevuelto_Click" Style="color: #686868;"><i class="fa fa-ban" style="color:#686868;"></i> Cheque Devuelto</asp:LinkButton>
|
<asp:LinkButton ID="LnkChqDevuelto" runat="server" Visible="false" OnClick="LnkChqDevuelto_Click" Style="color: #686868;"><i class="fa fa-ban" style="color:#686868;"></i> Cheque Devuelto</asp:LinkButton>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<asp:LinkButton ID="LnkCancelar" runat="server" Visible="false" OnClick="LnkCancelar_Click" Style="color: #686868;"><i class="fa fa-ban" style="color:#686868;"></i> Cancelar Movimiento</asp:LinkButton>
|
<asp:LinkButton ID="LnkCancelar" runat="server" Visible="false" OnClick="LnkCancelar_Click" Styl="color: #686868;"><i class="fa fa-ban" style="color:#686868;"></i> Cancelar Movimiento</asp:LinkButton>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<asp:LinkButton ID="LnkEliminar" runat="server" Visible="false" OnClientClick="return confirm('¿Está seguro de eliminar el documento?');" Style="color: #686868;"><i class="fa fa-minus" style="color: #686868;"></i> Eliminar Movimiento</asp:LinkButton>
|
<asp:LinkButton ID="LnkEliminar" runat="server" Visible="false" OnClientClick="return confirm('¿Está seguro de eliminar el documento?');" Style="color: #686868;"><i class="fa fa-minus" style="color: #686868;"></i> Eliminar Movimiento</asp:LinkButton>
|
||||||
@@ -232,6 +232,9 @@
|
|||||||
<ADS:Dropdownlost ID="DdlProveedores" runat="server" CssStyle="width: 100%;" DataTextField="RazonSocial" DataValueField="CveProveedor" Visible="false" Onselectedindexchange="DdlProveedores_selectedindexchange"></ADS:Dropdownlost>
|
<ADS:Dropdownlost ID="DdlProveedores" runat="server" CssStyle="width: 100%;" DataTextField="RazonSocial" DataValueField="CveProveedor" Visible="false" Onselectedindexchange="DdlProveedores_selectedindexchange"></ADS:Dropdownlost>
|
||||||
<asp:DropDownList ID="DdlPersonal" runat="server" AppendDataBoundItems="true" DataTextField="NombreCompleto" DataValueField="CvePersonal" CssClass="form-control input-sm input-medium select2me" Visible="false" Width="100%" OnSelectedIndexChanged="DdlPersonal_SelectedIndexChanged" AutoPostBack="true">
|
<asp:DropDownList ID="DdlPersonal" runat="server" AppendDataBoundItems="true" DataTextField="NombreCompleto" DataValueField="CvePersonal" CssClass="form-control input-sm input-medium select2me" Visible="false" Width="100%" OnSelectedIndexChanged="DdlPersonal_SelectedIndexChanged" AutoPostBack="true">
|
||||||
</asp:DropDownList>
|
</asp:DropDownList>
|
||||||
|
|
||||||
|
<asp:Label runat="server" ID="LblPagarA" Visible="false"></asp:Label>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-2">
|
<div class="col-md-2">
|
||||||
|
|||||||
@@ -646,8 +646,9 @@ Partial Class Bancos_IE
|
|||||||
Anexo.Visible = False
|
Anexo.Visible = False
|
||||||
DdlCliente.Enabled = False
|
DdlCliente.Enabled = False
|
||||||
DdlProveedores.Enabled = False
|
DdlProveedores.Enabled = False
|
||||||
DdlPersonal.Enabled = False
|
DdlPersonal.Visible = False
|
||||||
|
|
||||||
|
|
||||||
CargaDatos()
|
CargaDatos()
|
||||||
|
|
||||||
BtnGuardar.Visible = False
|
BtnGuardar.Visible = False
|
||||||
@@ -846,15 +847,25 @@ Partial Class Bancos_IE
|
|||||||
|
|
||||||
If CveCliente > 0 Then
|
If CveCliente > 0 Then
|
||||||
DdlCliente.SelectedText = ObjIE.PagueseA
|
DdlCliente.SelectedText = ObjIE.PagueseA
|
||||||
DdlCliente.SelectedValue = CveCliente.ToString
|
DdlCliente.SelectedValue = CveCliente.ToString
|
||||||
DdlCliente.Visible = True
|
|
||||||
|
DdlCliente.Visible = False
|
||||||
DdlCliente.Enabled = False
|
DdlCliente.Enabled = False
|
||||||
|
|
||||||
|
LblPagarA.Visible = True
|
||||||
|
LblPagarA.Text = ObjIE.PagueseA
|
||||||
|
|
||||||
' LnkEmitirComplemento.Visible = True
|
' LnkEmitirComplemento.Visible = True
|
||||||
ElseIf CveProveedor > 0 Then
|
ElseIf CveProveedor > 0 Then
|
||||||
DdlProveedores.SelectedText = ObjIE.PagueseA
|
DdlProveedores.SelectedText = ObjIE.PagueseA
|
||||||
DdlProveedores.SelectedValue = CveProveedor.ToString
|
DdlProveedores.SelectedValue = CveProveedor.ToString
|
||||||
DdlProveedores.Visible = True
|
DdlProveedores.Visible = False
|
||||||
DdlProveedores.Enabled = False
|
DdlProveedores.Enabled = False
|
||||||
|
|
||||||
|
LblPagarA.Visible = True
|
||||||
|
LblPagarA.Text = ObjIE.PagueseA
|
||||||
|
|
||||||
|
|
||||||
'Se prepara para la generacion del envio de correo con notificacion de pago
|
'Se prepara para la generacion del envio de correo con notificacion de pago
|
||||||
LnkEnviarMailPago.Attributes.Add("onclick", "$('#ModalDivMail').modal();")
|
LnkEnviarMailPago.Attributes.Add("onclick", "$('#ModalDivMail').modal();")
|
||||||
LnkEnviarMailPago.Visible = True
|
LnkEnviarMailPago.Visible = True
|
||||||
|
|||||||
Reference in New Issue
Block a user