Empresas Zona Horaria
This commit is contained in:
@@ -23,8 +23,8 @@ Partial Class RepGastosCC
|
||||
If Not Page.IsPostBack Then
|
||||
|
||||
|
||||
txtFechaI.Text = Now.FirstDayOfMonth.ToShortDateString()
|
||||
txtFechaF.Text = Now.ToShortDateString
|
||||
txtFechaI.Text = NowADS().FirstDayOfMonth.ToShortDateString()
|
||||
txtFechaF.Text = NowADS().ToShortDateString
|
||||
OrdenaDatos()
|
||||
|
||||
End If
|
||||
@@ -61,7 +61,7 @@ Partial Class RepGastosCC
|
||||
If e.Row.RowType = DataControlRowType.DataRow Then
|
||||
' e.Row.FCLiteral("LtlFolio").Text = "<a class=""Texto"" target=""_blank"" href=""/Ventas/RepRemisionesDetalle.aspx?CveVenta=" & e.Row.DBCampo("CveVenta") & """>" & e.Row.FCLiteral("LtlFolio").Text & "</a>"
|
||||
|
||||
' If e.Row.DBCampo("FechaVencimiento").ToDate < Now Then
|
||||
' If e.Row.DBCampo("FechaVencimiento").ToDate < NowADS() Then
|
||||
' ' e.Row.Cells(2).CssClass = "danger"
|
||||
' e.Row.Cells(2).ForeColor = Drawing.Color.Red
|
||||
' End If
|
||||
@@ -126,14 +126,14 @@ Partial Class RepGastosCC
|
||||
' params.Add(New ReportParameter("FechaInicio", FechaI))
|
||||
' params.Add(New ReportParameter("FechaFin", FechaF))
|
||||
' params.Add(New ReportParameter("UsuarioImprimio", UsuarioActual.Nombre))
|
||||
' params.Add(New ReportParameter("FechaImpresion", Now.ToDateTime.ToShortDateString))
|
||||
' params.Add(New ReportParameter("FechaImpresion", NowADS().ToDateTime.ToShortDateString))
|
||||
' params.Add(New ReportParameter("Filtros", StrFiltro.ToString))
|
||||
' If Imagen.Exists Then
|
||||
' params.Add(New ReportParameter("LogoPath", $"file://{Imagen.FullName}"))
|
||||
' Else
|
||||
' params.Add(New ReportParameter("LogoPath", ""))
|
||||
' End If
|
||||
' ImprimirPDF("Empresas/Grales/Formatos/RepRemisiones.rdlc", DtVentas, params, String.Format("ReporteRemisiones-{0}", Now.ToDateTime.ToShortDateString))
|
||||
' ImprimirPDF("Empresas/Grales/Formatos/RepRemisiones.rdlc", DtVentas, params, String.Format("ReporteRemisiones-{0}", NowADS().ToDateTime.ToShortDateString))
|
||||
' Else
|
||||
' Alert("No hay datos consultados", TipoMensaje.MsgAdvertencia)
|
||||
' End If
|
||||
@@ -148,7 +148,7 @@ Partial Class RepGastosCC
|
||||
Dim StrFiltro As New StringBuilder
|
||||
If txtFechaI.Text <> "" Then StrFiltro.AppendFormat(" Fecha Inicio: {0}", txtFechaI.Text)
|
||||
If txtFechaF.Text <> "" Then StrFiltro.AppendFormat(" Fecha Fin: {0}", txtFechaF.Text)
|
||||
GvDatos.ExportToExcelG("ReporteGastos" & Now.ToShortDateString, "Gastos Acumulados", UsuarioActual, StrFiltro.ToString, 100, 200)
|
||||
GvDatos.ExportToExcelG("ReporteGastos" & NowADS().ToShortDateString, "Gastos Acumulados", UsuarioActual, StrFiltro.ToString, 100, 200)
|
||||
End Sub
|
||||
' Note, it is important to override the form verification in order to successfully call a GridView1.RenderControl method.
|
||||
Public Overrides Sub VerifyRenderingInServerForm(control As Control)
|
||||
|
||||
Reference in New Issue
Block a user