-- agregado con opción acumulado o mes seleccionado
This commit is contained in:
@@ -127,6 +127,9 @@
|
|||||||
<asp:ListItem Text="1,000,000" Value="1000000"></asp:ListItem>
|
<asp:ListItem Text="1,000,000" Value="1000000"></asp:ListItem>
|
||||||
</asp:DropDownList>
|
</asp:DropDownList>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="col-md-2 ">
|
||||||
|
<asp:CheckBox ID="ChkAcumulados" Text="Acumulados" runat="server" />
|
||||||
|
</div>
|
||||||
|
|
||||||
<label class="col-md-1 truncate" runat="server" id="LblTri">
|
<label class="col-md-1 truncate" runat="server" id="LblTri">
|
||||||
Trimestre
|
Trimestre
|
||||||
|
|||||||
@@ -1960,8 +1960,11 @@ Partial Class Contabilidad_RepEstadoResultadosHorizontal
|
|||||||
|
|
||||||
Private Sub CargaDatosSubProyectoH()
|
Private Sub CargaDatosSubProyectoH()
|
||||||
|
|
||||||
|
If ChkAcumulados.Checked Then
|
||||||
FechaIMes = $"01/01/{DdlEjercicio.SelectedValue}"
|
FechaIMes = $"01/01/{DdlEjercicio.SelectedValue}"
|
||||||
|
Else
|
||||||
|
FechaIMes = $"01/{DdlPeriodo.SelectedValue.ToEntero.ToString("00")}/{DdlEjercicio.SelectedValue}"
|
||||||
|
End If
|
||||||
FechaFMes = $"01/{DdlPeriodo.SelectedValue.ToEntero.ToString("00")}/{DdlEjercicio.SelectedValue}"
|
FechaFMes = $"01/{DdlPeriodo.SelectedValue.ToEntero.ToString("00")}/{DdlEjercicio.SelectedValue}"
|
||||||
FechaFMes = DateAdd(DateInterval.Day, -1, DateAdd(DateInterval.Month, 1, CDate(FechaFMes))).ToString("dd/MM/yyyy")
|
FechaFMes = DateAdd(DateInterval.Day, -1, DateAdd(DateInterval.Month, 1, CDate(FechaFMes))).ToString("dd/MM/yyyy")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user