Mostar motivo de cancelacion al cancelar complemento de pago
This commit is contained in:
@@ -1370,9 +1370,9 @@
|
|||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
</asp:TemplateField>
|
</asp:TemplateField>
|
||||||
|
|
||||||
<asp:TemplateField HeaderText="Motivo" Visible="true" ItemStyle-HorizontalAlign="Left" ItemStyle-Width="15%">
|
<asp:TemplateField HeaderText="Motivo" Visible="true" ItemStyle-HorizontalAlign="Left" ItemStyle-Width="30%">
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
<asp:DropDownList runat="server" id="DdlMotivoCancelacion" DataTextField="CodigoSATDescripcion" DataValueField="CveMotivoCancelacion" CssClass="select2me" Visible ="false">
|
<asp:DropDownList runat="server" id="DdlMotivoCancelacion" DataTextField="CodigoSATDescripcion" DataValueField="CveMotivoCancelacion" CssClass="form-control input-sm select2me" Visible ="false">
|
||||||
</asp:DropDownList>
|
</asp:DropDownList>
|
||||||
<asp:Literal runat="server" ID="LtlMotivoCancelacion" Text='<%# Eval("MotivoCancelacion") %>'> </asp:Literal>
|
<asp:Literal runat="server" ID="LtlMotivoCancelacion" Text='<%# Eval("MotivoCancelacion") %>'> </asp:Literal>
|
||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
|
|||||||
@@ -5905,13 +5905,13 @@ Partial Class Bancos_IE
|
|||||||
Else
|
Else
|
||||||
e.Row.FCLinkButton("LnkCancelarComplemetno").Visible = False
|
e.Row.FCLinkButton("LnkCancelarComplemetno").Visible = False
|
||||||
e.Row.FCDropDownList("DdlMotivoCancelacion").Visible = False
|
e.Row.FCDropDownList("DdlMotivoCancelacion").Visible = False
|
||||||
|
|
||||||
|
If e.Row.DataKey("Estatus").ToEntero = 2 Then
|
||||||
|
e.Row.FCLiteral("LtlMotivoCancelacion").Visible = True
|
||||||
|
End If
|
||||||
End If
|
End If
|
||||||
|
|
||||||
If e.Row.DataKey("Estatus").ToEntero = 2 Then
|
|
||||||
e.Row.FCLiteral("LtlMotivoCancelacion").Visible = True
|
|
||||||
Else
|
|
||||||
e.Row.FCDropDownList("DdlMotivoCancelacion").Visible = False
|
|
||||||
End If
|
|
||||||
|
|
||||||
ElseIf e.Row.DataKey("Tipo") = "Egs" Then
|
ElseIf e.Row.DataKey("Tipo") = "Egs" Then
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user