-
- Sucursal:
-
-
+
Cliente:
@@ -150,6 +152,10 @@
+
Categoría
+
Clasificación:
diff --git a/Ventas/RepVentasUtilidadPadre.aspx.vb b/Ventas/RepVentasUtilidadPadre.aspx.vb
index 1efac4dcc..b9a6b80ca 100644
--- a/Ventas/RepVentasUtilidadPadre.aspx.vb
+++ b/Ventas/RepVentasUtilidadPadre.aspx.vb
@@ -68,6 +68,10 @@ Partial Class Ventas_RepVentasUtilidadPadre
DdlVendedor.Enabled = False
End If
+ 'Cargo categorias
+ DdlCategoria.DataSource = GlobalDTGralCategorias(UsuarioActual.CveEmpresa)
+ DdlCategoria.DataBind()
+
'Cargo Clasificaciones
DdlClasificacion.DataSource = GlobalDTClasificaciones(UsuarioActual.CveEmpresa)
DdlClasificacion.DataBind()
@@ -94,6 +98,12 @@ Partial Class Ventas_RepVentasUtilidadPadre
LblPorNeto.Text = "0"
End Sub
+ Protected Sub DdlCategoria_SelectedIndexChanged(sender As Object, e As EventArgs)
+ DdlClasificacion.DataSource = GlobalDTClasificaciones(UsuarioActual.CveEmpresa, CveCategoria:=DdlCategoria.SelectedValue.ToEntero)
+ DdlClasificacion.DataBind()
+ DdlClasificacion.Items.Insert(0, New ListItem("Todas", "-1"))
+ End Sub
+
Protected Sub DdlClasificacion_SelectedIndexChanged(sender As Object, e As EventArgs)
If DdlPS.UsaWebService Then
DdlPS.ddlWS.Attributes.Add("data-cveclasificacion", DdlClasificacion.SelectedValue)
@@ -114,7 +124,7 @@ Partial Class Ventas_RepVentasUtilidadPadre
Dim ObjVentas As New ClsVentas
If ObjVentas.GetReportePadreVentasUtilidad(If(DdlVendedor.GetSelectedValuesM = "", "-1", DdlVendedor.GetSelectedValuesM), DdlClientesWS.SelectedValue.ToEntero,
If(DdlSubProyecto.GetSelectedValuesM = "", "-1", DdlSubProyecto.GetSelectedValuesM), txtFechaI.Text.ToDate, txtFechaF.Text.ToDate,
- UsuarioActual.CveEmpresa, DdlGrupo.SelectedValue.ToEntero, DdlPS.SelectedValue.ToEntero, DdlClasificacion.SelectedValue.ToEntero,
+ UsuarioActual.CveEmpresa, DdlGrupo.SelectedValue.ToEntero, DdlPS.SelectedValue.ToEntero, DdlCategoria.SelectedValue.ToEntero, DdlClasificacion.SelectedValue.ToEntero,
DdlMarcas.SelectedValue.ToEntero) Then
GvDatos.DataSource = ObjVentas.DtResultados
DtDatos = ObjVentas.DtResultados
diff --git a/Ventas/Ventas.aspx b/Ventas/Ventas.aspx
index 56113522c..6fa5d7820 100644
--- a/Ventas/Ventas.aspx
+++ b/Ventas/Ventas.aspx
@@ -10,7 +10,8 @@
padding: 0px 5px;
}
- .nolineheight { line-height: 1;
+ .nolineheight {
+ line-height: 1;
}
.claseesconder {
@@ -496,8 +497,8 @@
-
-
+
+
@@ -5318,7 +5319,7 @@
- <%--MODAL DIRECCION ENVIO --%>
+ <%-- MODAL DIRECCION ENVIO --%>
@@ -5333,54 +5334,122 @@
+
+ <%--
+ --%>
+
+
+
+
-
- <%--FIN MODAL DIRECCION ENVIO--%>
+ <%-- FIN MODAL DIRECCION ENVIO--%>
-
+
@@ -7035,8 +7165,8 @@
@@ -7650,11 +7780,62 @@
+
+