From a7b7b8f473b5634d65963538608459ebd0dbdeee Mon Sep 17 00:00:00 2001 From: Antonio Gonzalez Date: Thu, 30 Apr 2020 11:35:42 -0700 Subject: [PATCH 1/2] se les dio formato a las fechas --- Empresas/72/Formatos/Reembolso.rdlc | 88 ++++++++++++++++++- .../Formatos/RepRembolsosComprobaciones.rdlc | 57 +++++++++++- 2 files changed, 142 insertions(+), 3 deletions(-) diff --git a/Empresas/72/Formatos/Reembolso.rdlc b/Empresas/72/Formatos/Reembolso.rdlc index 91c6883b3..e761b4240 100644 --- a/Empresas/72/Formatos/Reembolso.rdlc +++ b/Empresas/72/Formatos/Reembolso.rdlc @@ -1376,7 +1376,7 @@ 11.24353in - 4.88309cm + 5.51809cm true true @@ -1789,6 +1789,92 @@ 2pt + + true + true + + + + + Fecha Inicio: + + + + =Parameters!FechaInicio.Value + + + + + + 2pt + 2pt + 2pt + 2pt + + + + true + true + + + + + Fecha Fin: + + + + =Parameters!FechaFin.Value + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + =Parameters!FechaInicio.Value + + 2pt + 2pt + 2pt + 2pt + + + + true + true + + + + + Fecha Fin: + + + + =Parameters!FechaFin.Value + + + + From 61d6dad2490520fc7941cd108a5279e73f301cfa Mon Sep 17 00:00:00 2001 From: Antonio Gonzalez Date: Thu, 30 Apr 2020 19:32:31 -0700 Subject: [PATCH 2/2] soportando caso de una nota de credito directa --- Ventas/Ventas.aspx.vb | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/Ventas/Ventas.aspx.vb b/Ventas/Ventas.aspx.vb index f0f39809c..362fa1fca 100644 --- a/Ventas/Ventas.aspx.vb +++ b/Ventas/Ventas.aspx.vb @@ -9426,15 +9426,20 @@ Partial Class Ventas If factura.TipoDocto.Contiene("Dev", "Egs") Or DtVentasNC IsNot Nothing Then If DtVentasNC IsNot Nothing Then For Each row As DataRow In DtVentasNC.Rows - If Not ObjVentas.AddVentasRelacionadas(ObjVentas.CveVenta, row("CveVenta").ToString.ToEntero) Then - ErrorList.Add("Ocurrió un error al relacionar las ventas entre si comuníquese a Soporte Técnico") + If Not row("CveVenta").ToString.ToEntero = -1 Then + If Not ObjVentas.AddVentasRelacionadas(ObjVentas.CveVenta, row("CveVenta").ToString.ToEntero) Then + ErrorList.Add("Ocurrió un error al relacionar las ventas entre si comuníquese a Soporte Técnico") + End If End If Next Else - If Not ObjVentas.AddVentasRelacionadas(ObjVentas.CveVenta, CveVenta) Then - ErrorList.Add("Ocurrió un error al relacionar las ventas entre si comuníquese a Soporte Técnico") + If Not CveVenta = -1 Then + If Not ObjVentas.AddVentasRelacionadas(ObjVentas.CveVenta, CveVenta) Then + ErrorList.Add("Ocurrió un error al relacionar las ventas entre si comuníquese a Soporte Técnico") + End If End If End If + End If End If