Razones Fianacieras Ratios, ajuste tamaños drop down list, Ratios poner en rojo negativos
This commit is contained in:
@@ -52,13 +52,13 @@
|
|||||||
|
|
||||||
<label class="col-md-1" runat="server" id="LiEjercicioLbl">Ejercicio Inicio: </label>
|
<label class="col-md-1" runat="server" id="LiEjercicioLbl">Ejercicio Inicio: </label>
|
||||||
<div class="col-md-2 " runat="server" id="LiEjercicioDdl">
|
<div class="col-md-2 " runat="server" id="LiEjercicioDdl">
|
||||||
<asp:DropDownList ID="DdlEjercicio" runat="server" CssClass="select2me" DataTextField="Ejercicio" DataValueField="Ejercicio" Width="100%" AutoPostBack="true" >
|
<asp:DropDownList ID="DdlEjercicio" runat="server" CssClass="select2me" DataTextField="Ejercicio" DataValueField="Ejercicio" Width="130px" AutoPostBack="true" >
|
||||||
</asp:DropDownList>
|
</asp:DropDownList>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<label class="col-md-1" runat="server" id="LiEjercicioLbl2" visible="True">Ejercicio Fin: </label>
|
<label class="col-md-1" runat="server" id="LiEjercicioLbl2" visible="True">Ejercicio Fin: </label>
|
||||||
<div class="col-md-2" runat="server" id="LiEjercicioDdl2" visible="True">
|
<div class="col-md-2" runat="server" id="LiEjercicioDdl2" visible="True">
|
||||||
<asp:DropDownList ID="DdlEjercicio2" runat="server" CssClass="select2me" DataTextField="Ejercicio" DataValueField="Ejercicio" Width="100%" AutoPostBack="true" >
|
<asp:DropDownList ID="DdlEjercicio2" runat="server" CssClass="select2me" DataTextField="Ejercicio" DataValueField="Ejercicio" Width="130px" AutoPostBack="true" >
|
||||||
</asp:DropDownList>
|
</asp:DropDownList>
|
||||||
</div>
|
</div>
|
||||||
<label class="col-md-2" style="width: 80px;" runat="server" id="LblPeriodo" visible="false" >Periodo: </label>
|
<label class="col-md-2" style="width: 80px;" runat="server" id="LblPeriodo" visible="false" >Periodo: </label>
|
||||||
|
|||||||
@@ -390,6 +390,18 @@ Partial Class Finanzas_RepRazonesFinancieras2
|
|||||||
|
|
||||||
If e.Row.RowType = DataControlRowType.DataRow Then
|
If e.Row.RowType = DataControlRowType.DataRow Then
|
||||||
|
|
||||||
|
For x = 1 To DTRatios.Columns.Count
|
||||||
|
|
||||||
|
If e.Row.DataKey("Ratio") = "INCREMENTO DE VENTAS" Then
|
||||||
|
Dim asddas = ""
|
||||||
|
End If
|
||||||
|
|
||||||
|
If e.Row.Cells(x).Text.ToDecimal < 0 Then
|
||||||
|
e.Row.Cells(x).ForeColor = Drawing.Color.Red
|
||||||
|
End If
|
||||||
|
|
||||||
|
Next
|
||||||
|
|
||||||
If e.Row.DataKey("Tipo").ToEntero = 1 Then
|
If e.Row.DataKey("Tipo").ToEntero = 1 Then
|
||||||
e.Row.Font.Bold = True
|
e.Row.Font.Bold = True
|
||||||
End If
|
End If
|
||||||
@@ -425,6 +437,12 @@ Partial Class Finanzas_RepRazonesFinancieras2
|
|||||||
End If
|
End If
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
End If
|
End If
|
||||||
|
|
||||||
End Sub
|
End Sub
|
||||||
|
|||||||
Reference in New Issue
Block a user