diff --git a/App_Code/ClsGenerales.vb b/App_Code/ClsGenerales.vb index b36cf01da..3b125265b 100644 --- a/App_Code/ClsGenerales.vb +++ b/App_Code/ClsGenerales.vb @@ -4472,13 +4472,32 @@ Public Class ClsGenerales End Try Return Retorno - End Function + End Function #End Region + + + Public Function GetReporteDiario(CveEmpresa As Integer) As Boolean + Dim Retorno As Boolean = False + DataAdapter("PA_Gral_RepCierreDia") + With SqlAdapter.SelectCommand.Parameters + .Add("@CveEmpresa", SqlDbType.Int).Value = CveEmpresa + End With + + Try + SqlAdapter.Fill(DSet) + Retorno = True + Catch ex As Exception + OnError($"Ocurrió un error al obtener los datos del reporte diario.", ex, SqlAdapter.SelectCommand.Parameters.ParametrosInfo()) + End Try + + Return Retorno + End Function + #Region "IDisposable Support" - - - ' IDisposable + + + ' IDisposable Protected Overridable Sub Dispose(disposing As Boolean) If Not Me.disposedValue Then If disposing Then diff --git a/Compras/Compras.aspx b/Compras/Compras.aspx index 4555bc825..6f55e7050 100644 --- a/Compras/Compras.aspx +++ b/Compras/Compras.aspx @@ -3612,10 +3612,10 @@
- + Fecha - + diff --git a/Compras/eFacturas.aspx b/Compras/eFacturas.aspx index d0b0efbb4..4a3404653 100644 --- a/Compras/eFacturas.aspx +++ b/Compras/eFacturas.aspx @@ -988,24 +988,29 @@
-
+
-
- Formato -
-
- +
+ Cargar Excel:
-
-
+
+
+
+ Formato +
+
+ Cargar +
+
+
diff --git a/TareasProgramadas/TareasReporteDiario.ashx b/TareasProgramadas/TareasReporteDiario.ashx index fc637be61..ab5d729b9 100644 --- a/TareasProgramadas/TareasReporteDiario.ashx +++ b/TareasProgramadas/TareasReporteDiario.ashx @@ -188,7 +188,7 @@ public class TareasReporteDairio : IHttpHandler ClsSisMail Correo = new ClsSisMail(); //string Para = "julian@adssistemas.mx;rene.molina@adssistemas.mx;oscar.irigoyen@adssistemas.mx"; - string Para = "oscar.irigoyen@adssistemas.mx"; + string Para = "oscar.irigoyen@adssistemas.mx;rene.molina@adssistemas.mx"; string Asunto = PrceosoOK ? $"Reporte Diario":"Reporte Diario Error"; Asunto = $"{Asunto} {DateTime.Now.ToString("dd/MM/yyyy HH:mm:ss")}";