From 0f6b516ac02e2fd864267fc5bceeb7cc87865cfb Mon Sep 17 00:00:00 2001 From: rrene Date: Mon, 11 Dec 2023 12:57:25 -0700 Subject: [PATCH] - E189, autoseleccionar --- Ventas/Ventas.aspx | 7 ++++--- Ventas/Ventas.aspx.vb | 4 ++++ 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/Ventas/Ventas.aspx b/Ventas/Ventas.aspx index c5bb97a06..54ff7a9ea 100644 --- a/Ventas/Ventas.aspx +++ b/Ventas/Ventas.aspx @@ -1038,7 +1038,7 @@
- + @@ -1082,7 +1082,7 @@
- + <%----%> <%----%> @@ -1124,7 +1124,7 @@
- + @@ -10101,6 +10101,7 @@ $(".select2-container.select2-container--default.select2-container--open .select2-dropdown .select2anothertable tr.active").removeClass('active'); $(".select2-container.select2-container--default.select2-container--open .select2-dropdown .select2anothertable tr:nth-child(" + (ind + 2) + ")").addClass('active'); //log($this); + }); var scrollfuncion = function () { var stop = this.scrollTop; diff --git a/Ventas/Ventas.aspx.vb b/Ventas/Ventas.aspx.vb index 70041a999..f00e6644b 100644 --- a/Ventas/Ventas.aspx.vb +++ b/Ventas/Ventas.aspx.vb @@ -16838,6 +16838,10 @@ Partial Class Ventas UPPPS.Update() UpPS.Update() + If UsuarioActual.CveEmpresa = 189 Then + AgregarPS() + End If + End Sub Private Function CalculaPrecioSugerido(CvePSParametro As Integer, CveClasificacion As Integer, Optional CvePrecioListaSugerido As Integer = -1) As Modelos.MPrecioSugerido