diff --git a/App_Code/ClsProductosServicios.vb b/App_Code/ClsProductosServicios.vb index 4c7c41706..657fc4a88 100644 --- a/App_Code/ClsProductosServicios.vb +++ b/App_Code/ClsProductosServicios.vb @@ -1811,6 +1811,29 @@ Public Class ClsProductosServicios Return Retorno End Function + Public Function GetPSMultiplesPreciosLista(CveEmpresa As Integer, Optional CveClasificacion As Integer = -1, Optional CvePS As Integer = -1, + Optional CveProveedor As Integer = -1, Optional Estado As Integer = -1, Optional Marcas As String = "-1", Optional CveModelo As Integer = -1) As Boolean + Dim Retorno As Boolean = False + DataAdapter("PA_Vta_PSPrecioListaMultipleGet") + With SqlAdapter.SelectCommand.Parameters + .Add("@CveEmpresa", SqlDbType.Int).Value = CveEmpresa + .Add("@CveClasificacion", SqlDbType.Int).Value = CveClasificacion + .Add("@CvePS", SqlDbType.Int).Value = CvePS + .Add("@CveProveedor", SqlDbType.Int).Value = CveProveedor + .Add("@Estado", SqlDbType.Int).Value = Estado + .Add("@Marcas", SqlDbType.VarChar).Value = Marcas + .Add("@CveModelo", SqlDbType.Int).Value = CveModelo + End With + Try + SqlAdapter.Fill(Data) + Retorno = True + Catch ex As Exception + OnError("Ocurrió un error al obtener los precios.", ex, SqlAdapter.SelectCommand.Parameters.ParametrosInfo()) + End Try + + Return Retorno + End Function + Public Function UpdatePSPreciosLista(Importe As Decimal, CvePrecioLista As Integer, Porcentaje As Decimal, CvePS As Integer, CveUsuario As Integer, Fecha As DateTime, Fijo As Boolean, Optional PrecioMinimo As Decimal = Nothing) As Boolean Dim Retorno As Boolean = False DataAdapter("PA_Vta_PSPrecioListaAdd") diff --git a/Ventas/ActualizarPrecios.aspx b/Ventas/ActualizarPrecios.aspx index 0a6afc9f3..b0f5f819c 100644 --- a/Ventas/ActualizarPrecios.aspx +++ b/Ventas/ActualizarPrecios.aspx @@ -21,11 +21,11 @@
  • - - - + + + - +
  • @@ -42,6 +42,13 @@
    + +
    + + + + +
    @@ -56,13 +63,12 @@
    - - +
    -
    +

    @@ -78,7 +84,7 @@
    -
    +
    @@ -89,7 +95,7 @@ -
    +
    + CssClass="table table-striped table-advance table-hover Widthall ScrollAD" AutoGenerateColumns="False" data-sort="true" EmptyDataText="No se encontraron registros"> @@ -173,7 +179,7 @@ - + @@ -192,13 +198,13 @@ -<%-- + <%-- --%> - + @@ -216,6 +222,34 @@
    +
    +
    +
    + + <%----%> +
    +
    +
    +
    +
    + " style="display: inline-block; margin-right: -20px; width: 150px;" /> + " style="margin-top: -3px;" class="btn btn-circle btn-sm label-info"> +
    +
    +
    +
    + + + + + + + + + +