-- agregado con opción acumulado o mes seleccionado

This commit is contained in:
2023-08-16 18:14:59 -07:00
parent c5fdbdcdbe
commit 770144a9ae
2 changed files with 8 additions and 2 deletions

View File

@@ -1960,8 +1960,11 @@ Partial Class Contabilidad_RepEstadoResultadosHorizontal
Private Sub CargaDatosSubProyectoH()
FechaIMes = $"01/01/{DdlEjercicio.SelectedValue}"
If ChkAcumulados.Checked Then
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 = DateAdd(DateInterval.Day, -1, DateAdd(DateInterval.Month, 1, CDate(FechaFMes))).ToString("dd/MM/yyyy")