Empresas Zona Horaria
This commit is contained in:
@@ -115,7 +115,7 @@ public partial class Nomina_ReportedeAcumulados : ClsPaginas
|
||||
int EjercicioActual = UsuarioActual.Empresa.EjercicioActual;
|
||||
if (EjercicioActual == 0)
|
||||
{
|
||||
EjercicioActual = DateTime.Now.Year;
|
||||
EjercicioActual = NowADS().Year;
|
||||
}
|
||||
DataTable dtejercicio = null;
|
||||
using (ClsNominas objnom = new ClsNominas())
|
||||
@@ -153,7 +153,7 @@ public partial class Nomina_ReportedeAcumulados : ClsPaginas
|
||||
{
|
||||
DdlEjercicios.SelectedIndex = 0;
|
||||
}
|
||||
DdlEjercicios.SelectedValueExist(DateTime.Now.Year.ToString());
|
||||
DdlEjercicios.SelectedValueExist(NowADS().Year.ToString());
|
||||
}
|
||||
private void CargaTiposPeriodo()
|
||||
{
|
||||
@@ -682,8 +682,8 @@ public partial class Nomina_ReportedeAcumulados : ClsPaginas
|
||||
libro.Range(2, 2, 2, 6).Merge().Value = "Reporte de acumulados nómina";
|
||||
libro.Range(1, 2, 2, 6).Style.Font.Bold = true; libro.Range(1, 2, 2, 6).Style.Font.FontSize = 16;
|
||||
libro.Range(3, 2, 3, 6).Merge().Value = $"del {TxtRpdFechaInicio.Text.ToDateTime():dd/MM/yyyy} al {TxtRpdFechaFin.Text.ToDateTime():dd/MM/yyyy}";
|
||||
libro.Range(2, 7, 2, 9).Merge().Value = $"Fecha:{DateTime.Now:dd/MM/yyyy}";
|
||||
libro.Range(3, 7, 3, 9).Merge().Value = $"Hora:{DateTime.Now:HH:mm}";
|
||||
libro.Range(2, 7, 2, 9).Merge().Value = $"Fecha:{NowADS():dd/MM/yyyy}";
|
||||
libro.Range(3, 7, 3, 9).Merge().Value = $"Hora:{NowADS():HH:mm}";
|
||||
|
||||
|
||||
System.IO.Stream fs = new System.IO.MemoryStream();
|
||||
|
||||
Reference in New Issue
Block a user