From 3745123a0122f882577b7fee4c193e3d0d2a44bd Mon Sep 17 00:00:00 2001 From: rrene Date: Tue, 20 Jul 2021 12:54:16 -0700 Subject: [PATCH 01/21] -- carga excel, ignora la comilla sencilla --- Contratos/ContratoObra.aspx.vb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Contratos/ContratoObra.aspx.vb b/Contratos/ContratoObra.aspx.vb index acff7db4c..716e6cac0 100644 --- a/Contratos/ContratoObra.aspx.vb +++ b/Contratos/ContratoObra.aspx.vb @@ -3327,7 +3327,7 @@ Partial Class Contratos_ContratoObra Dim StrReturn As String = String.Empty Dim CvePS As Integer = 0 - CvePS = GlobalDTPS(UsuarioActual.CveEmpresa).FiltroPrimeroValor("CvePS", Opt & " = '" & Valor & "'").ToString.ToEntero + CvePS = GlobalDTPS(UsuarioActual.CveEmpresa).FiltroPrimeroValor("CvePS", String.Format("{0}= '{1}'", Opt, Valor.Replace("'", ""))).ToString.ToEntero If CvePS > 0 Then StrReturn = "True|" & CvePS.ToString From 495323bf2ec893c9d6607828d035d20312d637e4 Mon Sep 17 00:00:00 2001 From: rrene Date: Tue, 20 Jul 2021 12:54:40 -0700 Subject: [PATCH 02/21] - columnas de %Neto e $ Neto --- Ventas/RepVentasUtilidad.aspx | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/Ventas/RepVentasUtilidad.aspx b/Ventas/RepVentasUtilidad.aspx index 755ce2a34..ce157c38a 100644 --- a/Ventas/RepVentasUtilidad.aspx +++ b/Ventas/RepVentasUtilidad.aspx @@ -231,9 +231,9 @@
- - - + + +
VentaCostoUtilidad/PérdidaVentaCostoUtilidad/Pérdida
@@ -262,6 +262,16 @@ + + + + + + + + + + @@ -269,7 +279,7 @@ - + @@ -281,7 +291,7 @@ - + From cde33e42583ced9fefd52eccd7308500af75ed22 Mon Sep 17 00:00:00 2001 From: rrene Date: Tue, 20 Jul 2021 14:08:22 -0700 Subject: [PATCH 03/21] =?UTF-8?q?al=20refacturar=20d=C3=B3lares,=20que=20r?= =?UTF-8?q?ecalcule=20el=20TC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Ventas/Ventas.aspx.vb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Ventas/Ventas.aspx.vb b/Ventas/Ventas.aspx.vb index efc318b5f..579b5afba 100644 --- a/Ventas/Ventas.aspx.vb +++ b/Ventas/Ventas.aspx.vb @@ -2452,9 +2452,12 @@ Partial Class Ventas ObjInv.Dispose() End If - + 'regenrea el tipo de cambio CargaNuevaFactura(Nothing) + CambiaMoneda() + + 'NOTA DE CREDITO If NuevaFactura = 2 Then From 8b1b610ee71079104500b7c3768fd6b5a067c7b7 Mon Sep 17 00:00:00 2001 From: rakcsle Date: Tue, 20 Jul 2021 14:44:48 -0700 Subject: [PATCH 04/21] correccion exit sub --- Compras/Compras.aspx.vb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Compras/Compras.aspx.vb b/Compras/Compras.aspx.vb index 1b4e83ad2..0ef56395a 100644 --- a/Compras/Compras.aspx.vb +++ b/Compras/Compras.aspx.vb @@ -4359,7 +4359,7 @@ Partial Class Compras_Compras If Not AjustaCombustibles() Then Exit Sub End If - Exit Sub + '------------------TERMINA VALIDACIONES------------------ From fef9d029a05bcd8c420c89f4fc65be77529240da Mon Sep 17 00:00:00 2001 From: HECTOR RODRIGUEZ Date: Tue, 20 Jul 2021 18:43:09 -0700 Subject: [PATCH 05/21] Crear apartir de --- Inventarios/RepAnomalias.aspx | 92 +++++++++++++++++--- Inventarios/RepAnomalias.aspx.vb | 141 +++++++++++++++++++++++++++++-- 2 files changed, 216 insertions(+), 17 deletions(-) diff --git a/Inventarios/RepAnomalias.aspx b/Inventarios/RepAnomalias.aspx index e42c6887d..0b4832706 100644 --- a/Inventarios/RepAnomalias.aspx +++ b/Inventarios/RepAnomalias.aspx @@ -90,11 +90,17 @@
  • Exporta Sobrantes
  • --%> - +
  • +
  • + Crear a partir de +
  • +
  • + Guardar +
  • @@ -177,13 +183,17 @@

    -
    -
    - " style="display: inline-block; margin-right: -20px; width: 150px;" /> - " style="margin-top: -3px;" class="btn btn-circle btn-sm label-info"> +
    +
    + Número de registros: +
    +
    + " style="display: inline-block; margin-right: -20px; width: 150px;" /> + " style="margin-top: -3px;" class="btn btn-circle btn-sm label-info"> +
    @@ -191,8 +201,16 @@ + GridLines="None" DataKeyNames="CvePS"> + + + + + + + + @@ -213,21 +231,34 @@ -
    +
    -
    - " style="display: inline-block; margin-right: -20px; width: 150px;" /> - " style="margin-top: -3px;" class="btn btn-circle btn-sm label-info"> +
    +
    + Número de registros: +
    +
    + " style="display: inline-block; margin-right: -20px; width: 150px;" /> + " style="margin-top: -3px;" class="btn btn-circle btn-sm label-info"> +
    + CssClass="table table-striped table-hover Widthall ScrollAD" Style="text-align: center;" GridLines="None" DataKeyNames="CvePS"> + + + + + + + + @@ -250,13 +281,50 @@
    + +