diff --git a/CRM/RepAcercamientosProcesosDetalle.aspx b/CRM/RepAcercamientosProcesosDetalle.aspx
index 61d484036..5559826fa 100644
--- a/CRM/RepAcercamientosProcesosDetalle.aspx
+++ b/CRM/RepAcercamientosProcesosDetalle.aspx
@@ -3,6 +3,7 @@
+
+ .chkChoice input
+ {
+ margin-right: 5px;
+ }
+
+ cc
Reporte Detalle de los Acercamientos Procesos
@@ -55,7 +61,15 @@
-
+
+ Personalizar Columnas
+
+<%--
+ PDF
+
+
+ Excel
+ --%>
@@ -248,7 +262,7 @@
-
+
@@ -296,10 +310,53 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/CRM/RepAcercamientosProcesosDetalle.aspx.cs b/CRM/RepAcercamientosProcesosDetalle.aspx.cs
index b33304729..16d7a879a 100644
--- a/CRM/RepAcercamientosProcesosDetalle.aspx.cs
+++ b/CRM/RepAcercamientosProcesosDetalle.aspx.cs
@@ -196,6 +196,12 @@ public partial class CRM_RepAcercamientosProcesosDetalle : ClsPaginas
GVRepAcercamientosDetalle.DataSource = ObjRepA.DtResultados;
ObjRepA.Dispose();
GVRepAcercamientosDetalle.DataBind();
+ this.GVRepAcercamientosDetalle.Columns[9].Visible = false;
+ this.GVRepAcercamientosDetalle.Columns[10].Visible = false;
+ this.GVRepAcercamientosDetalle.Columns[11].Visible = false;
+ this.GVRepAcercamientosDetalle.Columns[12].Visible = false;
+ this.GVRepAcercamientosDetalle.Columns[13].Visible = false;
+ this.GVRepAcercamientosDetalle.Columns[14].Visible = false;
upDatosRepA.Update();
}
@@ -225,4 +231,45 @@ public partial class CRM_RepAcercamientosProcesosDetalle : ClsPaginas
RcveProbabilidadAcercamiento = DdlProbabilidad.SelectedValue.ToEntero();
cargarDatos();
}
+
+ protected void GVRepAcercamientosDetalle_RowDataBound(object sender, GridViewRowEventArgs e)
+ {
+ if (e.Row.RowType == DataControlRowType.DataRow)
+ {
+ if (e.Row.FCLabel("lblPrioridad").Text.ToEntero() == 1)
+ {
+ e.Row.FCLabel("lblPrioridad").Text = "Baja";
+ }
+ else if (e.Row.FCLabel("lblPrioridad").Text.ToEntero() == 2)
+ {
+ e.Row.FCLabel("lblPrioridad").Text = "Media";
+ }
+ else if (e.Row.FCLabel("lblPrioridad").Text.ToEntero() == 3)
+ {
+ e.Row.FCLabel("lblPrioridad").Text = "Alta";
+ }
+ }
+ }
+ protected void LnkEditargv_Click(object sender, EventArgs e)
+ {
+
+ RegistraScript("$('#ModalEditar').modal('show')");
+ }
+
+ protected void GuardarEditargv_Click(object sender, EventArgs e)
+ {
+ foreach (ListItem item in CBLEditargv.Items)
+ {
+ if (item.Value.ToEntero() == 1) { if (item.Selected) { this.GVRepAcercamientosDetalle.Columns[9].Visible = true; } else { this.GVRepAcercamientosDetalle.Columns[9].Visible = false; } }
+ if (item.Value.ToEntero() == 2) { if (item.Selected) { this.GVRepAcercamientosDetalle.Columns[10].Visible = true; } else { this.GVRepAcercamientosDetalle.Columns[10].Visible = false; } }
+ if (item.Value.ToEntero() == 3) { if (item.Selected) { this.GVRepAcercamientosDetalle.Columns[11].Visible = true; } else { this.GVRepAcercamientosDetalle.Columns[11].Visible = false; } }
+ if (item.Value.ToEntero() == 4) { if (item.Selected) { this.GVRepAcercamientosDetalle.Columns[12].Visible = true; } else { this.GVRepAcercamientosDetalle.Columns[12].Visible = false; } }
+ if (item.Value.ToEntero() == 5) { if (item.Selected) { this.GVRepAcercamientosDetalle.Columns[13].Visible = true; } else { this.GVRepAcercamientosDetalle.Columns[13].Visible = false; } }
+ if (item.Value.ToEntero() == 6) { if (item.Selected) { this.GVRepAcercamientosDetalle.Columns[14].Visible = true; } else { this.GVRepAcercamientosDetalle.Columns[14].Visible = false; } }
+ }
+ upDatosRepA.Update();
+ RegistraScript("$('#ModalEditar').modal('hide')");
+
+ }
+
}
\ No newline at end of file