Empresas Zona Horaria
This commit is contained in:
@@ -35,11 +35,11 @@ Partial Class Acumuladores_RepEntradasUsados
|
||||
End Sub
|
||||
|
||||
Protected Sub CargarCombos()
|
||||
Dim fecha As Date = Date.Now.AddMonths(-1)
|
||||
Dim fecha As Date = NowADS().AddMonths(-1)
|
||||
Dim Años As New ListItem
|
||||
Dim i As Integer
|
||||
If Cargado = 0 Then
|
||||
For i = Date.Now.Year.ToEntero To (fecha.Year.ToEntero - 5) Step -1
|
||||
For i = NowADS().Year.ToEntero To (fecha.Year.ToEntero - 5) Step -1
|
||||
Años = New ListItem(i.ToString, i.ToString)
|
||||
DdlAño.Items.Add(Años)
|
||||
Next
|
||||
@@ -85,7 +85,7 @@ Partial Class Acumuladores_RepEntradasUsados
|
||||
Dim params As New List(Of ReportParameter)
|
||||
|
||||
params.Add(New ReportParameter("Direccion", Direccion))
|
||||
params.Add(New ReportParameter("FechaConFormato", Date.Now.ToString))
|
||||
params.Add(New ReportParameter("FechaConFormato", NowADS().ToString))
|
||||
params.Add(New ReportParameter("FechaInicial", txtFechaI.Text))
|
||||
params.Add(New ReportParameter("FechaFinal", txtFechaF.Text))
|
||||
params.Add(New ReportParameter("Sucursal", "Sucursal"))
|
||||
|
||||
Reference in New Issue
Block a user