diff --git a/App_Code/ClsPaginas.vb b/App_Code/ClsPaginas.vb index c0d663af1..26260d8a2 100644 --- a/App_Code/ClsPaginas.vb +++ b/App_Code/ClsPaginas.vb @@ -4285,12 +4285,11 @@ Public Class ClsPaginas PaginaDict.Add("/CRM/CatProbabilidadAcercamiento.aspx".ToUpper(), 1306) 'PaginaDict.Add("/CRM/Acercamiento.aspx".ToUpper(), 1308) PaginaDict.Add("/CRM/Acercamiento.aspx".ToUpper(), 1305) - PaginaDict.Add("/CRM/RepAcercamientosEtapas.aspx".ToUpper(), 1310) PaginaDict.Add("/CRM/RepAcercamientos.aspx".ToUpper(), 1311) PaginaDict.Add("/CRM/PopUpBuscarAcercamiento.aspx".ToUpper(), 1312) PaginaDict.Add("/CRM/RepAcercamientosProcesos.aspx".ToUpper(), 1313) PaginaDict.Add("/CRM/RepAcercamientosRechazos.aspx".ToUpper(), 1314) - PaginaDict.Add("/CRM/RepAcercamientosProcesosDetalle.aspx".ToUpper(), 758) + PaginaDict.Add("/CRM/RepAcercamientosProcesosDetalle.aspx".ToUpper(), 1313) PaginaDict.Add("/CRM/CatMetas.aspx".ToUpper(), 684) #End Region #Region "CxC" diff --git a/App_Code/Usuario.vb b/App_Code/Usuario.vb index 93fc805d2..76c8a15e6 100644 --- a/App_Code/Usuario.vb +++ b/App_Code/Usuario.vb @@ -201,7 +201,7 @@ Namespace ADSSession Case OpcionSession.CerrarSession Dim objlist = _dicSessionobj.Values.ToList() For Each user As ADSSession.ADSSessionObj In objlist - If CveUsuario = user.CveUsuario AndAlso (CveEmpresa = -1 OrElse CveEmpresa = user.CveEmpresa) Then + If CveUsuario = user.CveUsuario Then 'AndAlso (CveEmpresa = -1 OrElse CveEmpresa = user.CveEmpresa) Then Dim taspsig As String = user.ASPSIG '"94C6AC57E8599390A4B7B8AB41FEABEF466D9B31120BE06D78110E66265F1ACC5616297BF3B88EDCEE71EBCFE35484308F62C8017EAC29FB3F0FB45CEC09E8F03DFBB4A4DD890D45755B7A30185C6D01F20AEFA74BE3A25FD12D536B20DCB8D9940A3D95" Dim tsessionID As String = user.SessionID Dim url = System.Configuration.ConfigurationManager.AppSettings("urlcerrarSession").ToString() diff --git a/Ashx/SIGWeb.ashx b/Ashx/SIGWeb.ashx index 0f7b199d5..dd6cb5620 100644 --- a/Ashx/SIGWeb.ashx +++ b/Ashx/SIGWeb.ashx @@ -47,12 +47,47 @@ Public Class SIGWeb : Implements IHttpHandler, IRequiresSessionState context.Response.Write(GettingCURP(context.Request("Curp").ToString(), context.Request("year").ToString().ToEntero())) Case "ValidaCURP" context.Response.Write(ValidaCURP(context.Request("Curp").ToString())) + Case "sendMail" + context.Response.Write(sendMail(context)) + End Select Catch ex As Exception ex.GuardaLog(ex.Message) End Try End Sub - + Private Function sendMail(context As HttpContext) As String + Dim retorno As String = "true" + Dim nombre As String = "" + Dim correo As String = "" + Dim sitio As String = "" + Dim cuerpo As String = "" + Dim obj = context.Request("Nombre") + If Not IsNothing(obj) Then + nombre = obj.ToString() + End If + obj = context.Request("Correo") + If Not IsNothing(obj) Then + correo = obj.ToString() + End If + obj = context.Request("Sitio") + If Not IsNothing(obj) Then + sitio = obj.ToString() + End If + obj = context.Request("Cuerpo") + If Not IsNothing(obj) Then + cuerpo = obj.ToString() + End If + Dim Body As String = String.Format("Nombre : {0}
Nombre : {0}
Correo : {1}
Sitio : {2}

{3}", nombre, correo, sitio, cuerpo) + Dim para As String = "rene.molina@adssistemas.mx,sig.buzon@gmail.com,julian@adssistemas.mx;paola@adssistemas.mx;" + para = "caudillo.90d@gmail.com" + Dim Mail As New ClsSisMail() + If Mail.SendMail(ClsPaginas.EmpresaNotificaciones, para, "NotificaciónProspecto", Body) Then + retorno = "true" + Else + retorno = "false" + End If + Return retorno + End Function Private Sub GetUser(ByVal context As HttpContext) Dim usuario As String = context.Request("usuario").ToString() diff --git a/CRM/RepAcercamientosProcesosDetalle.aspx b/CRM/RepAcercamientosProcesosDetalle.aspx index 8d9ed8691..b40a40db2 100644 --- a/CRM/RepAcercamientosProcesosDetalle.aspx +++ b/CRM/RepAcercamientosProcesosDetalle.aspx @@ -3,6 +3,31 @@ + Reporte Detalle de los Acercamientos Procesos @@ -23,11 +48,106 @@ + +
+
+
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+ + + +
+
+ +
+ + + + +
+ + +
+
+
+
+ +
+ + + + +
+ + +
+ +
+
+
+
+
+
+ Consultar +
+
+
+
- + - + HyperLink + <%-- --%> @@ -35,12 +155,17 @@ + + + + + - + @@ -50,17 +175,12 @@ - - - - - - + - + diff --git a/CRM/RepAcercamientosProcesosDetalle.aspx.cs b/CRM/RepAcercamientosProcesosDetalle.aspx.cs index 4c1030823..5864191c0 100644 --- a/CRM/RepAcercamientosProcesosDetalle.aspx.cs +++ b/CRM/RepAcercamientosProcesosDetalle.aspx.cs @@ -7,9 +7,14 @@ using System.Web.UI.WebControls; using Extensiones; using System.Data; -public partial class CRM_RepAcercamientosProcesosDetalle : ClsPaginas +public partial class CRM_RepAcercamientosProcesosDetalle : ClsPaginas { #region Propiedades + private int RCveTipoProceso + { + get { return (ViewState["RCveTipoProceso"] == null) ? 0 : Convert.ToInt32(ViewState["RCveTipoProceso"]); } + set { ViewState["RCveTipoProceso"] = value; } + } private int RcveVendedor { get { return (ViewState["RcveVendedor"] == null) ? 0 : Convert.ToInt32(ViewState["RcveVendedor"]); } @@ -46,12 +51,37 @@ public partial class CRM_RepAcercamientosProcesosDetalle : ClsPaginas set { ViewState["RsFechaFin"] = value; } } + private DataTable DtMedioCaptacion + { + get + { + return (DataTable)ViewState["DtMedioCaptacion"]; + } + + set + { + ViewState["DtMedioCaptacion"] = value; + } + } + private DataTable DtProbabilidadAcercamiento + { + get + { + return (DataTable)ViewState["DtProbabilidadAcercamiento"]; + } + + set + { + ViewState["DtProbabilidadAcercamiento"] = value; + } + } #endregion protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { - int CveTipoProceso = Request["CveTipoProceso"] == null ? -1 : Request["CveTipoProceso"].ToString().ToEntero(); + CargaDdl(); + RCveTipoProceso = Request["CveTipoProceso"] == null ? -1 : Request["CveTipoProceso"].ToString().ToEntero(); RcveVendedor = Request["cveVendedor"] == null ? -1 : Request["cveVendedor"].ToString().ToEntero(); RcveMedioCaptacion = Request["cveMedioCaptacion"] == null ? -1 : Request["cveMedioCaptacion"].ToString().ToEntero(); RcveProbabilidadAcercamiento = Request["cveProbabilidadAcercamiento"] == null ? -1 : Request["cveProbabilidadAcercamiento"].ToString().ToEntero(); @@ -59,35 +89,140 @@ public partial class CRM_RepAcercamientosProcesosDetalle : ClsPaginas RsFecha = Request["Fecha"] == null ? "" : Request["Fecha"].ToString(); RsFechaIni = Request["FechaInicio"] == null ? "" : Request["FechaInicio"].ToString(); RsFechaFin = Request["FechaFin"] == null ? "" : Request["FechaFin"].ToString(); - try { RsFechaIni = RsFechaIni.ToDateTime().ToString("yyyy/MM/dd"); } + try { RsFechaIni = RsFechaIni.ToDateTime().ToString("yyyy/MM/dd"); TxtFechaInicio.Text = RsFechaIni.ToDateTime().ToString("dd/MM/yyyy"); } catch (Exception) { RsFechaIni = ""; } - try { RsFechaFin = RsFechaFin.ToDateTime().ToString("yyyy/MM/dd"); } + try { RsFechaFin = RsFechaFin.ToDateTime().ToString("yyyy/MM/dd"); TxtFechaFin.Text = RsFechaFin.ToDateTime().ToString("dd/MM/yyyy"); } catch (Exception) { RsFechaFin = ""; } - switch (CveTipoProceso) + switch (RCveTipoProceso) { case 1: RcveVendedor = Request["CveGrupo1"] == null ? -1 : Request["CveGrupo1"].ToString().ToEntero(); break; case 2: - RcveMedioCaptacion = Request["CveGrupo1"] == null ? -1 : Request["CveGrupo1"].ToString().ToEntero(); + RcveMedioCaptacion = Request["CveGrupo1"] == null ? -1 : Request["CveGrupo1"].ToString().ToEntero(); break; case 3: - RcveProbabilidadAcercamiento = Request["CveGrupo1"] == null ? -1 : Request["CveGrupo1"].ToString().ToEntero(); + RcveProbabilidadAcercamiento = Request["CveGrupo1"] == null ? -1 : Request["CveGrupo1"].ToString().ToEntero(); break; case 4: - RsFecha = Request["CveGrupo1"] == null ? "" : Request["CveGrupo1"].ToString(); + RsFecha = Request["CveGrupo1"] == null ? "" : Request["CveGrupo1"].ToString(); break; } + DdlTipoProceso.SelectedValueExist(RCveTipoProceso); + + + //DdlGrupo1.SelectedValueExist(idgrupo1); + //DdlGrupo2.SelectedValueExist(idgrupo2); + DdlVendedor.SelectedValueExist(RcveVendedor); + DdlMedioCaptacion.SelectedValueExist(RcveMedioCaptacion); + DdlProbabilidad.SelectedValueExist(RcveProbabilidadAcercamiento); cargarDatos(); } } + + protected void CargaDdl() + { + ClsCRM ObjCRM = new ClsCRM(); + DdlTipoProceso.DataSource = null; + DdlVendedor.DataSource = null; + DdlMedioCaptacion.DataSource = null; + DdlProbabilidad.DataSource = null; + + if (ObjCRM.GetTipoProceso(UsuarioActual.CveEmpresa, 1)) + { + DdlTipoProceso.DataSource = ObjCRM.DtResultados; + } + DdlVendedor.DataSource = get_GlobalDTVendedores(UsuarioActual.CveEmpresa); + if (ObjCRM.GetMedioCaptacion(UsuarioActual.CveEmpresa)) + { + DdlMedioCaptacion.Items.Clear(); + DdlMedioCaptacion.DataSource = ObjCRM.DtResultados; + DtMedioCaptacion = ObjCRM.DtResultados; + } + if (ObjCRM.GetProbabilidadAcercamiento(UsuarioActual.CveEmpresa, -1)) + { + DdlProbabilidad.DataSource = ObjCRM.DtResultados; + DtProbabilidadAcercamiento = ObjCRM.DtResultados; + } + ObjCRM.Dispose(); + + DdlTipoProceso.DataBind(); + DdlVendedor.DataBind(); + DdlMedioCaptacion.DataBind(); + DdlProbabilidad.DataBind(); + DdlVendedor.Items.Insert(0, new ListItem("Seleccione ", "-1")); + DdlMedioCaptacion.Items.Insert(0, new ListItem("Seleccione ", "-1")); + DdlProbabilidad.Items.Insert(0, new ListItem("Seleccione ", "-1")); + DdlTipoProceso.Items.Insert(0, new ListItem("Seleccione", "-1")); + DdlVendedor.SelectedValue = "-1"; + DdlMedioCaptacion.SelectedValue = "-1"; + DdlProbabilidad.SelectedValue = "-1"; + DdlTipoProceso.SelectedIndex = 0; + + int n; + string CveProbabilidadAcercamiento = Request["CveProbabilidadAcercamiento"]; + bool isNumeric = int.TryParse(CveProbabilidadAcercamiento, out n); + + int c; + string CveTipoProceso = Request["CveTipoProceso"]; + bool isNumericC = int.TryParse(CveTipoProceso, out c); + + if (isNumeric && isNumericC) + { + DdlProbabilidad.SelectedValue = CveProbabilidadAcercamiento; + DdlTipoProceso.SelectedValue = CveTipoProceso; + } + upDatosRepA.Update(); + } + + protected void DdlTipoProceso_Change(object sender, EventArgs e) + { + DdlMedioCaptacion.Items.Clear(); + DdlMedioCaptacion.DataSource = DtMedioCaptacion.FiltraParametros(String.Format("CveTipoProceso = {0}", DdlTipoProceso.SelectedValue.ToEntero())); + DdlMedioCaptacion.DataBind(); + DdlMedioCaptacion.Items.Insert(0, new ListItem("Seleccione", "-1")); + + DdlProbabilidad.Items.Clear(); + DdlProbabilidad.DataSource = DtProbabilidadAcercamiento.FiltraParametros(String.Format("CveTipoProceso = {0}", DdlTipoProceso.SelectedValue.ToEntero())); + DdlProbabilidad.DataBind(); + DdlProbabilidad.Items.Insert(0, new ListItem("Seleccione", "-1")); + + upDatosRepA.Update(); + } protected void cargarDatos() { ClsCRM ObjRepA = new ClsCRM(); - ObjRepA.RepAcercamientosDetalle(UsuarioActual.CveEmpresa,RcveVendedor, RcveMedioCaptacion, RcveProbabilidadAcercamiento, RcveEtapaProceso, RsFecha, RsFechaIni, RsFechaFin); + ObjRepA.RepAcercamientosDetalle(UsuarioActual.CveEmpresa, RcveVendedor, RcveMedioCaptacion, RcveProbabilidadAcercamiento, RcveEtapaProceso, RsFecha, RsFechaIni, RsFechaFin); GVRepAcercamientosDetalle.DataSource = ObjRepA.DtResultados; ObjRepA.Dispose(); GVRepAcercamientosDetalle.DataBind(); upDatosRepA.Update(); } + + protected void LnkConsultar_Click(object sender, EventArgs e) + { + + RCveTipoProceso = DdlTipoProceso.SelectedValue.ToEntero(); + switch (RCveTipoProceso) + { + case 1: + RcveVendedor = Request["CveGrupo1"] == null ? -1 : Request["CveGrupo1"].ToString().ToEntero(); + break; + case 2: + RcveMedioCaptacion = Request["CveGrupo1"] == null ? -1 : Request["CveGrupo1"].ToString().ToEntero(); + break; + case 3: + RcveProbabilidadAcercamiento = Request["CveGrupo1"] == null ? -1 : Request["CveGrupo1"].ToString().ToEntero(); + break; + case 4: + RsFecha = Request["CveGrupo1"] == null ? "" : Request["CveGrupo1"].ToString(); + break; + } + RsFechaIni = TxtFechaInicio.Text.Length > 0 ? TxtFechaInicio.Text.ToDateTime().ToString("yyyy/MM/dd") : ""; + RsFechaFin = TxtFechaFin.Text.Length > 0 ? TxtFechaFin.Text.ToDateTime().ToString("yyyy/MM/dd") : ""; + RcveVendedor = DdlVendedor.SelectedValue.ToEntero(); + RcveMedioCaptacion = DdlMedioCaptacion.SelectedValue.ToEntero(); + RcveProbabilidadAcercamiento = DdlProbabilidad.SelectedValue.ToEntero(); + cargarDatos(); + } } \ No newline at end of file diff --git a/CRM/RepAcercamientosRechazos.aspx b/CRM/RepAcercamientosRechazos.aspx index 92c87d3e6..bb6c3a247 100644 --- a/CRM/RepAcercamientosRechazos.aspx +++ b/CRM/RepAcercamientosRechazos.aspx @@ -5,8 +5,7 @@ @@ -1190,7 +1190,7 @@ - 3.15049cm + 2.33028cm true true diff --git a/LogIn.aspx.vb b/LogIn.aspx.vb index 5370e9717..2e4f0dede 100644 --- a/LogIn.aspx.vb +++ b/LogIn.aspx.vb @@ -236,6 +236,7 @@ Partial Class LogIn End If Dim cookie = FormsAuthentication.GetAuthCookie(Encripta(Usuario.CveUsuario), False) + 'ADSSession.ADSSessionConfig.SessionManager(ADSSession.OpcionSession.SetAspSig, ASPSIG:=Request.Cookies.Get(".ASPXSIG").Value) Response.Cookies.Add(cookie) 'RegistraScript(String.Format("iniciaSesion('{0}')", ReturnUrl.Replace("'", "\'"))) Response.Redirect(ReturnUrl, True) diff --git a/RH/ActualizacionMasiva.aspx.vb b/RH/ActualizacionMasiva.aspx.vb index 316a7067f..aa56be1b8 100644 --- a/RH/ActualizacionMasiva.aspx.vb +++ b/RH/ActualizacionMasiva.aspx.vb @@ -24,14 +24,6 @@ Partial Class RH_ActualizacionMasiva #Region "Propiedades" - Private Property DTEmpleados As DataTable - Get - Return DirectCast(ViewState("DTEmpleados"), DataTable) - End Get - Set(value As DataTable) - ViewState("DTEmpleados") = value - End Set - End Property Private ReadOnly Property DTUsuarios As DataTable Get Return DirectCast(ViewState("DTUsuarios"), DataTable) @@ -270,7 +262,7 @@ Partial Class RH_ActualizacionMasiva column += 1 libro.Cell(Fila, column).Value = "SD IMSS" column += 1 - DTEmpleados = New DataTable() + Dim DTEmpleados As New DataTable() libro.Row(1).CellsUsed().Style.Font.FontColor = ClosedXML.Excel.XLColor.White libro.Row(1).CellsUsed().Style.Fill.SetBackgroundColor(ClosedXML.Excel.XLColor.FromArgb(79, 129, 189)) @@ -283,9 +275,9 @@ Partial Class RH_ActualizacionMasiva column = 1 Fila = Fila + 1 - libro.Cell(Fila, column).Value = dro("Codigo") + libro.Cell(Fila, column).Value = String.Format("'{0}", dro("Codigo")) column += 1 - libro.Cell(Fila, column).Value = dro("Nombre") + libro.Cell(Fila, column).Value = String.Format("'{0}", dro("Nombre")) column += 1 libro.Column(column).Width = 35 libro.Cell(Fila, column).Value = dro("SalarioDiario") @@ -322,7 +314,15 @@ Partial Class RH_ActualizacionMasiva Dim continuar As Boolean = Filesgral.Count > 0 Dim stringError As String = "" Dim fileItem As Archivo = If(continuar, Filesgral(0), Nothing) - + Dim DTEmpleados As New DataTable() + Using ObjPersonal As New ClsRH + If ObjPersonal.GetPersonalMasivo(-1, -1, -1, -1, UsuarioActual.CveEmpresa) Then + DTEmpleados = ObjPersonal.DtResultados + Else + continuar = False + stringError = "Ocurrio un Error al procesar el excel " + End If + End Using If continuar Then Dim FileExtension As String = fileItem.Extencion.ToUpper() @@ -348,7 +348,7 @@ Partial Class RH_ActualizacionMasiva If continuar Then Dim OcurrioError As Boolean = False - + Dim contador As Integer = 0 Using ObjPersonal As ClsRH = New ClsRH() For Each Row As DataRow In DTEXcel.Rows If Row("Codigo").ToString() <> "" Then @@ -357,10 +357,9 @@ Partial Class RH_ActualizacionMasiva Dim CvePersonal As Integer = drow("CvePersonal").ToString().ToEntero() If ObjPersonal.UpdateSalarios(CvePersonal, DateTime.Now.ToString("yyyy/MM/dd"), UsuarioActual.CveEmpresa, Row("SDD").ToString().ToDecimal(), Row("SDI").ToString().ToDecimal(), Row("SD IMSS").ToString().ToDecimal(), Row("SDD").ToString().ToDecimal()) Then - + contador = contador + 1 Else OcurrioError = True - ObjPersonal.RollBack() Exit For End If End If @@ -369,12 +368,16 @@ Partial Class RH_ActualizacionMasiva Next If Not OcurrioError Then - 'ObjPersonal.Commit() - Alert("La información se guardó correctamente.", TipoMensaje.MsgInformacion) + ObjPersonal.Commit() + Alert(String.Format("La información se guardó correctamente.
se registraron {0} empleados", contador), TipoMensaje.MsgInformacion) Else + ObjPersonal.RollBack() Alert("Ocurrió un error al guardar la información.", TipoMensaje.MsgError) End If End Using + Else + Alert(stringError, TipoMensaje.MsgError) + End If End Sub End Class diff --git a/RH/Organigrama.aspx b/RH/Organigrama.aspx index 358a331b6..1898ac2e1 100644 --- a/RH/Organigrama.aspx +++ b/RH/Organigrama.aspx @@ -51,6 +51,7 @@ } else { let contenedor = document.getElementById('chart_div'); contenedor.innerHTML = ''; + console.log('vacio') } }, failure: function (r) { diff --git a/RH/Organigrama.aspx.vb b/RH/Organigrama.aspx.vb index 805cabbcd..84175ea43 100644 --- a/RH/Organigrama.aspx.vb +++ b/RH/Organigrama.aspx.vb @@ -52,9 +52,9 @@ Partial Class RH_Organigrama If Not IsPostBack Then txtNivel.Text = "" DdlSupervisorOrganigrama.SelectedIndex = 0 + Dim viewFlag As Integer = CveCabecera + CargaSuperioresOrganigrama() End If - Dim viewFlag As Integer = CveCabecera - CargaSuperioresOrganigrama() End Sub diff --git a/Sistemas/UsuarioDetalle.aspx.vb b/Sistemas/UsuarioDetalle.aspx.vb index 855f31886..cd8b24562 100644 --- a/Sistemas/UsuarioDetalle.aspx.vb +++ b/Sistemas/UsuarioDetalle.aspx.vb @@ -4772,6 +4772,55 @@ Partial Class Sistemas_UsuarioDetalle End Sub Protected Sub BtnCerrarSession_Click(sender As Object, e As EventArgs) - ADSSession.ADSSessionConfig.SessionManager(ADSSession.OpcionSession.CerrarSession, CveUsuario:=CveUsuario) - End Sub + 'ADSSession.ADSSessionConfig.SessionManager(ADSSession.OpcionSession.CerrarSession, CveUsuario:=CveUsuario) + Dim objlist As List(Of ADSSession.ADSSessionObj) = DirectCast(ADSSession.ADSSessionConfig.SessionManager(ADSSession.OpcionSession.getListasession, CveUsuario:=CveUsuario), List(Of ADSSession.ADSSessionObj)) + + For Each user As ADSSession.ADSSessionObj In objlist + If CveUsuario = user.CveUsuario Then 'AndAlso (CveEmpresa = -1 OrElse CveEmpresa = user.CveEmpresa) Then + Dim taspsig As String = user.ASPSIG '"94C6AC57E8599390A4B7B8AB41FEABEF466D9B31120BE06D78110E66265F1ACC5616297BF3B88EDCEE71EBCFE35484308F62C8017EAC29FB3F0FB45CEC09E8F03DFBB4A4DD890D45755B7A30185C6D01F20AEFA74BE3A25FD12D536B20DCB8D9940A3D95" + Dim tsessionID As String = user.SessionID + Dim url = System.Configuration.ConfigurationManager.AppSettings("urlcerrarSession").ToString() + Dim cookie As String = String.Format("ASP.NET_SessionId={0};.ASPXSIG={1}", tsessionID, taspsig) + sendURL(url, cookie) + End If + Next + Alert("Sessión Cerrada") + End Sub + + Private Shared Function sendURL(ByVal URL As String, ByVal Optional Cookie As String = "", ByVal Optional maxTimeMilliseconds As Integer = 120000) As String + Dim resultado As String = "" + + Try + + Dim request As Net.HttpWebRequest = CType(Net.HttpWebRequest.Create(URL), Net.HttpWebRequest) + request.Timeout = maxTimeMilliseconds + request.Method = "POST" + request.ContentType = "text/xml; charset=utf-8" + + If Not String.IsNullOrEmpty(Cookie) Then + request.Headers.Add("Cookie", Cookie) + End If + + Using stream As IO.Stream = request.GetRequestStream() + + Using stmw As IO.StreamWriter = New IO.StreamWriter(stream) + stmw.Write("") + End Using + End Using + + Using response As Net.WebResponse = CType(request.GetResponse(), Net.WebResponse) + Using sr As IO.StreamReader = New IO.StreamReader(response.GetResponseStream()) + + resultado = sr.ReadToEnd() + sr.Close() + End Using + + End Using + request = Nothing + Catch ex As Exception + 'Extenciones.ApplicationParameter.GuardaLogEx(ex, $"SOAPAction : {SOAPAction} XML : {xml}") + End Try + + Return resultado + End Function End Class diff --git a/Ventas/Ventas.aspx b/Ventas/Ventas.aspx index 268ad368d..679b36265 100644 --- a/Ventas/Ventas.aspx +++ b/Ventas/Ventas.aspx @@ -1300,14 +1300,14 @@
-
- - - - - -
+
+ + + + + +
@@ -2879,6 +2879,192 @@ + + + + + + + + + + + +
+ <%--
+ + +          +          +          + +
--%> +
+
+ <%--
+
+ + Movimientos +
+
+ + + + + + + + + + +
+
+ +
+
--%> +
+ + + + +
+ + + + + + + Fecha + + + + + + Concepto + + + + + + Cargo + + + + + + Abono + + + + + + Folio (Ref.) + +   + + + + Contabilizado + + + + + + Num. Póliza + + + + + + Fecha Conta. + + + + + + Referencia + + + + + + Usuario + + + + + + + + + + + + + + + + +
+ +
+
+
+
+
+ + +
+
@@ -3304,7 +3490,7 @@ - + Tipo de Entrega:  @@ -3689,7 +3875,7 @@
- +