Merge branch 'master' of http://192.168.10.111:8383/SIG
This commit is contained in:
@@ -1102,7 +1102,8 @@ Public Class ClsCRM
|
|||||||
End Function
|
End Function
|
||||||
|
|
||||||
Public Function RepAcercamientosDetalle(CveEmpresa As Int32, cveVendedor As Int32, cveMedioCaptacion As Int32, cveProbabilidadAcercamiento As Int32, cveEtapaProceso As Int32, sFecha As String, sFechaIni As String,
|
Public Function RepAcercamientosDetalle(CveEmpresa As Int32, cveVendedor As Int32, cveMedioCaptacion As Int32, cveProbabilidadAcercamiento As Int32, cveEtapaProceso As Int32, sFecha As String, sFechaIni As String,
|
||||||
sFechaFin As String, Optional CveTipoProceso As Integer = -1, Optional CveRechazoMotivo As Integer = -1) As Boolean
|
sFechaFin As String, Optional CveTipoProceso As Integer = -1, Optional CveRechazoMotivo As Integer = -1, Optional EnPausa As Integer = -1, Optional CveGiroClasificacion As Integer = -1,
|
||||||
|
Optional EsRechazo As Boolean = False) As Boolean
|
||||||
Dim retorno As Boolean = False
|
Dim retorno As Boolean = False
|
||||||
DataAdapter("PA_CRM_RepAcercamientosDetalle", CommandType.StoredProcedure)
|
DataAdapter("PA_CRM_RepAcercamientosDetalle", CommandType.StoredProcedure)
|
||||||
With SqlAdapter.SelectCommand.Parameters
|
With SqlAdapter.SelectCommand.Parameters
|
||||||
@@ -1116,6 +1117,9 @@ Public Class ClsCRM
|
|||||||
.Add("@SFechaFin", SqlDbType.VarChar).Value = sFechaFin
|
.Add("@SFechaFin", SqlDbType.VarChar).Value = sFechaFin
|
||||||
.Add("@CveTipoProceso", SqlDbType.Int).Value = CveTipoProceso
|
.Add("@CveTipoProceso", SqlDbType.Int).Value = CveTipoProceso
|
||||||
.Add("@CveRechazoMotivo", SqlDbType.Int).Value = CveRechazoMotivo
|
.Add("@CveRechazoMotivo", SqlDbType.Int).Value = CveRechazoMotivo
|
||||||
|
.Add("@EnPausa", SqlDbType.Int).Value = EnPausa
|
||||||
|
.Add("@CveGiroClasificacion", SqlDbType.Int).Value = CveGiroClasificacion
|
||||||
|
.Add("@EsRechazo", SqlDbType.Bit).Value = EsRechazo
|
||||||
End With
|
End With
|
||||||
Try
|
Try
|
||||||
SqlAdapter.Fill(Data)
|
SqlAdapter.Fill(Data)
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ Public Class LogicNominas
|
|||||||
Public Sub New()
|
Public Sub New()
|
||||||
guardarLogTimbrado = False
|
guardarLogTimbrado = False
|
||||||
End Sub
|
End Sub
|
||||||
Public Function TimbrarNomina(CveNomina As Integer, CvePersonal As Integer, CvePeriodo As Integer, UsuarioActual As Usuario, Optional CvePAC As Integer = 4) As String
|
Public Function TimbrarNomina(CveNomina As Integer, CvePersonal As Integer, CvePeriodo As Integer, UsuarioActual As Usuario, Optional CvePAC As Integer = 4, Optional versionTimbre As VersionTimbradoEnum = VersionTimbradoEnum.PorDefectoEmpresa) As String
|
||||||
Dim Retorno As String = ""
|
Dim Retorno As String = ""
|
||||||
GetError = "" 'Le reasigno el current error a nulo
|
GetError = "" 'Le reasigno el current error a nulo
|
||||||
Dim sw As Diagnostics.Stopwatch = Nothing
|
Dim sw As Diagnostics.Stopwatch = Nothing
|
||||||
@@ -19,7 +19,7 @@ Public Class LogicNominas
|
|||||||
|
|
||||||
sw.Start()
|
sw.Start()
|
||||||
End If
|
End If
|
||||||
Dim cfdi As CFDITimbre = PreTimbrar(CveNomina, UsuarioActual, False) 'CvePersonal, CvePeriodo,
|
Dim cfdi As CFDITimbre = PreTimbrar(CveNomina, UsuarioActual, False, versionTimbre) 'CvePersonal, CvePeriodo,
|
||||||
If cfdi IsNot Nothing AndAlso cfdi.Mensaje = "" Then
|
If cfdi IsNot Nothing AndAlso cfdi.Mensaje = "" Then
|
||||||
If Not cfdi.Timbrado Then
|
If Not cfdi.Timbrado Then
|
||||||
Dim ObjTimbrado As New Timbrado
|
Dim ObjTimbrado As New Timbrado
|
||||||
@@ -28,7 +28,7 @@ Public Class LogicNominas
|
|||||||
ObjFactura.Folio = cfdi.Comprobante.Folio.ToEntero()
|
ObjFactura.Folio = cfdi.Comprobante.Folio.ToEntero()
|
||||||
ObjFactura.Serie = cfdi.Comprobante.Serie
|
ObjFactura.Serie = cfdi.Comprobante.Serie
|
||||||
ObjFactura.Timbre = cfdi
|
ObjFactura.Timbre = cfdi
|
||||||
If Not ObjTimbrado.TimbrarFactura(UsuarioActual, ObjFactura, CvePAC) Then
|
If Not ObjTimbrado.TimbrarFactura(UsuarioActual, ObjFactura, CvePAC, versionTimbre) Then
|
||||||
Retorno = ObjTimbrado.MensajeErrorCFDI
|
Retorno = ObjTimbrado.MensajeErrorCFDI
|
||||||
End If
|
End If
|
||||||
End If
|
End If
|
||||||
@@ -37,7 +37,7 @@ Public Class LogicNominas
|
|||||||
Else
|
Else
|
||||||
If hasfiniquito Then
|
If hasfiniquito Then
|
||||||
|
|
||||||
cfdi = PreTimbrar(CveNomina, UsuarioActual, True) 'CvePersonal, CvePeriodo,
|
cfdi = PreTimbrar(CveNomina, UsuarioActual, True, versionTimbre) 'CvePersonal, CvePeriodo,
|
||||||
If cfdi IsNot Nothing AndAlso cfdi.Mensaje = "" Then
|
If cfdi IsNot Nothing AndAlso cfdi.Mensaje = "" Then
|
||||||
|
|
||||||
If Not cfdi.Timbrado Then
|
If Not cfdi.Timbrado Then
|
||||||
@@ -47,7 +47,7 @@ Public Class LogicNominas
|
|||||||
ObjFactura.Folio = cfdi.Comprobante.Folio.ToEntero()
|
ObjFactura.Folio = cfdi.Comprobante.Folio.ToEntero()
|
||||||
ObjFactura.Serie = cfdi.Comprobante.Serie
|
ObjFactura.Serie = cfdi.Comprobante.Serie
|
||||||
ObjFactura.Timbre = cfdi
|
ObjFactura.Timbre = cfdi
|
||||||
If Not ObjTimbrado.TimbrarFactura(UsuarioActual, ObjFactura, CvePAC) Then
|
If Not ObjTimbrado.TimbrarFactura(UsuarioActual, ObjFactura, CvePAC, versionTimbre) Then
|
||||||
Retorno = ObjTimbrado.MensajeErrorCFDI
|
Retorno = ObjTimbrado.MensajeErrorCFDI
|
||||||
End If
|
End If
|
||||||
If Retorno <> "" Then
|
If Retorno <> "" Then
|
||||||
@@ -81,7 +81,13 @@ Public Class LogicNominas
|
|||||||
Return Retorno
|
Return Retorno
|
||||||
End Function
|
End Function
|
||||||
Dim hasfiniquito As Boolean
|
Dim hasfiniquito As Boolean
|
||||||
Public Function PreTimbrar(CveNomina As Integer, UsuarioActual As Usuario, TimbreIndemnizacion As Boolean) As CFDITimbre
|
Public Function PreTimbrar(CveNomina As Integer, UsuarioActual As Usuario, TimbreIndemnizacion As Boolean, Optional versionTimbrex As VersionTimbradoEnum = VersionTimbradoEnum.PorDefectoEmpresa) As CFDITimbre
|
||||||
|
|
||||||
|
Dim versionTimbre As VersionTimbradoEnum = versionTimbrex
|
||||||
|
If versionTimbre = VersionTimbradoEnum.PorDefectoEmpresa Then
|
||||||
|
versionTimbre = If(UsuarioActual.Empresa.Funcionalidad(350) = "1", VersionTimbradoEnum.Version4_0, VersionTimbradoEnum.Version3_3)
|
||||||
|
End If
|
||||||
|
|
||||||
Dim continuar As Boolean = True
|
Dim continuar As Boolean = True
|
||||||
hasfiniquito = False
|
hasfiniquito = False
|
||||||
Dim CvePersonal As Integer = -1
|
Dim CvePersonal As Integer = -1
|
||||||
@@ -319,7 +325,7 @@ Public Class LogicNominas
|
|||||||
End If
|
End If
|
||||||
cfdi.Nomina.CveNomina = CveNomina
|
cfdi.Nomina.CveNomina = CveNomina
|
||||||
|
|
||||||
cfdi.Receptor.UsoCFDI = If(UsuarioActual.Empresa.Funcionalidad(350).Contiene("1"), "CN01", "P01")
|
cfdi.Receptor.UsoCFDI = If(versionTimbre = VersionTimbradoEnum.Version4_0, "CN01", "P01")
|
||||||
cfdi.Receptor.RFC = RFC
|
cfdi.Receptor.RFC = RFC
|
||||||
cfdi.Receptor.Nombre = NombreCompleto
|
cfdi.Receptor.Nombre = NombreCompleto
|
||||||
|
|
||||||
@@ -427,7 +433,7 @@ Public Class LogicNominas
|
|||||||
If ObjDeducciones IsNot Nothing AndAlso ObjDeducciones.Count > 0 Then cfdi.Nomina.Deducciones = ObjDeducciones
|
If ObjDeducciones IsNot Nothing AndAlso ObjDeducciones.Count > 0 Then cfdi.Nomina.Deducciones = ObjDeducciones
|
||||||
|
|
||||||
|
|
||||||
cfdi.Comprobante.Version = If(UsuarioActual.Empresa.Funcionalidad(350).Contiene("1"), "4.0", "3.3")
|
cfdi.Comprobante.Version = If(versionTimbre = VersionTimbradoEnum.Version4_0, "4.0", "3.3")
|
||||||
cfdi.Comprobante.Serie = Serie
|
cfdi.Comprobante.Serie = Serie
|
||||||
cfdi.Comprobante.Folio = Folio
|
cfdi.Comprobante.Folio = Folio
|
||||||
cfdi.Comprobante.Fecha = Now
|
cfdi.Comprobante.Fecha = Now
|
||||||
@@ -440,7 +446,7 @@ Public Class LogicNominas
|
|||||||
cfdi.Comprobante.TipoDocto = "Egs"
|
cfdi.Comprobante.TipoDocto = "Egs"
|
||||||
cfdi.Comprobante.MetodoPago = "PUE"
|
cfdi.Comprobante.MetodoPago = "PUE"
|
||||||
cfdi.Comprobante.CondicionesdePago = "" '"CONTADO"
|
cfdi.Comprobante.CondicionesdePago = "" '"CONTADO"
|
||||||
cfdi.Comprobante.FormadePago = If(UsuarioActual.Empresa.Funcionalidad(350).Contiene("1"), "", "99")
|
cfdi.Comprobante.FormadePago = If(versionTimbre = VersionTimbradoEnum.Version4_0, "", "99")
|
||||||
cfdi.Comprobante.LugarExpedicion = UsuarioActual.Empresa.CP.ToString() ' AHORITA SOLO SE REQUIERE ESPECIFICAR EL CODIGO POSTAL
|
cfdi.Comprobante.LugarExpedicion = UsuarioActual.Empresa.CP.ToString() ' AHORITA SOLO SE REQUIERE ESPECIFICAR EL CODIGO POSTAL
|
||||||
cfdi.Comprobante.NumCuentaPago = "" 'objPersonal.BancoNumCuenta
|
cfdi.Comprobante.NumCuentaPago = "" 'objPersonal.BancoNumCuenta
|
||||||
'4.0
|
'4.0
|
||||||
|
|||||||
@@ -12,6 +12,12 @@ Imports Extensiones
|
|||||||
Imports Newtonsoft.Json.Linq
|
Imports Newtonsoft.Json.Linq
|
||||||
Imports ProfactCartaPorte = Profact.TimbraCFDI33.Complementos.CartaPorte20
|
Imports ProfactCartaPorte = Profact.TimbraCFDI33.Complementos.CartaPorte20
|
||||||
|
|
||||||
|
|
||||||
|
Public Enum VersionTimbradoEnum As Integer
|
||||||
|
PorDefectoEmpresa = -1
|
||||||
|
Version3_3 = 1
|
||||||
|
Version4_0 = 2
|
||||||
|
End Enum
|
||||||
Public Class Timbrado
|
Public Class Timbrado
|
||||||
|
|
||||||
#Region "P R O P I E D A D E S"
|
#Region "P R O P I E D A D E S"
|
||||||
@@ -1192,11 +1198,14 @@ Public Class Timbrado
|
|||||||
Return Timbre
|
Return Timbre
|
||||||
|
|
||||||
End Function
|
End Function
|
||||||
Public Function TimbrarFactura(UsuarioActual As Usuario, Ventas As Modelos.Factura, Optional CvePACEspecial As Integer = -1) As Boolean
|
Public Function TimbrarFactura(UsuarioActual As Usuario, Ventas As Modelos.Factura, Optional CvePACEspecial As Integer = -1, Optional versionTimbre As VersionTimbradoEnum = VersionTimbradoEnum.PorDefectoEmpresa) As Boolean
|
||||||
|
|
||||||
Dim Retorno As Boolean = False
|
Dim Retorno As Boolean = False
|
||||||
Dim tCvePAC As Integer = UsuarioActual.Empresa.CvePAC
|
Dim tCvePAC As Integer = UsuarioActual.Empresa.CvePAC
|
||||||
If CvePACEspecial <> -1 Then tCvePAC = CvePACEspecial
|
If CvePACEspecial <> -1 Then tCvePAC = CvePACEspecial
|
||||||
|
If versionTimbre = VersionTimbradoEnum.PorDefectoEmpresa Then
|
||||||
|
versionTimbre = If(UsuarioActual.Empresa.Funcionalidad(350) = "1", VersionTimbradoEnum.Version4_0, VersionTimbradoEnum.Version3_3)
|
||||||
|
End If
|
||||||
|
|
||||||
'validación especial.
|
'validación especial.
|
||||||
If Ventas.TipoDocto.Contiene("Ing", "Dev") Then
|
If Ventas.TipoDocto.Contiene("Ing", "Dev") Then
|
||||||
@@ -1228,15 +1237,15 @@ Public Class Timbrado
|
|||||||
Retorno = If(Ret = "", True, False)
|
Retorno = If(Ret = "", True, False)
|
||||||
|
|
||||||
Case 3
|
Case 3
|
||||||
If UsuarioActual.Empresa.Funcionalidad(350) = "1" Then
|
If versionTimbre = VersionTimbradoEnum.Version4_0 Then
|
||||||
Retorno = TimbrarFacturaProFactv40(UsuarioActual, Ventas)
|
Retorno = TimbrarFacturaProFactV40(UsuarioActual, Ventas)
|
||||||
Else
|
Else
|
||||||
Retorno = TimbrarFacturaProFact(UsuarioActual, Ventas)
|
Retorno = TimbrarFacturaProFact(UsuarioActual, Ventas)
|
||||||
End If
|
End If
|
||||||
|
|
||||||
'Retorno = TimbrarFacturaProFact(UsuarioActual, Ventas, TmpDTConceptos, TmpDTImpuestos, TmpDTComplementos, Ruta, LstFordASN, FordGSDBM, ObjV)
|
'Retorno = TimbrarFacturaProFact(UsuarioActual, Ventas, TmpDTConceptos, TmpDTImpuestos, TmpDTComplementos, Ruta, LstFordASN, FordGSDBM, ObjV)
|
||||||
Case 4
|
Case 4
|
||||||
If UsuarioActual.Empresa.Funcionalidad(350) = "1" Then
|
If versionTimbre = VersionTimbradoEnum.Version4_0 Then
|
||||||
Dim Ret As String = TimbrarFacturaGoCFDIv40(Ventas, UsuarioActual, CvePACEspecial)
|
Dim Ret As String = TimbrarFacturaGoCFDIv40(Ventas, UsuarioActual, CvePACEspecial)
|
||||||
If Ret <> "" Then MensajeErrorCFDI = Ret
|
If Ret <> "" Then MensajeErrorCFDI = Ret
|
||||||
Retorno = If(Ret = "", True, False)
|
Retorno = If(Ret = "", True, False)
|
||||||
@@ -1248,7 +1257,7 @@ Public Class Timbrado
|
|||||||
|
|
||||||
|
|
||||||
Case 5
|
Case 5
|
||||||
If UsuarioActual.Empresa.Funcionalidad(350) = "1" Then
|
If versionTimbre = VersionTimbradoEnum.Version4_0 Then
|
||||||
Dim Ret As String = TimbrarFacturaPADEv40(Ventas, UsuarioActual, CvePACEspecial)
|
Dim Ret As String = TimbrarFacturaPADEv40(Ventas, UsuarioActual, CvePACEspecial)
|
||||||
If Ret <> "" Then MensajeErrorCFDI = Ret
|
If Ret <> "" Then MensajeErrorCFDI = Ret
|
||||||
Retorno = If(Ret = "", True, False)
|
Retorno = If(Ret = "", True, False)
|
||||||
|
|||||||
@@ -77,6 +77,11 @@
|
|||||||
.MultiLineTextBox {
|
.MultiLineTextBox {
|
||||||
resize: none;
|
resize: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.listTerminado{
|
||||||
|
text-decoration: line-through;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
@@ -587,7 +592,7 @@
|
|||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
|
|
||||||
<asp:GridView ID="GVcheklist" runat="server" GridLines="None" CssClass="table table-hover table-striped ScrollAD Widthall GVcheklist mysmallbtn" AutoGenerateColumns="False"
|
<asp:GridView ID="GVcheklist" runat="server" GridLines="None" CssClass="table table-hover table-striped ScrollAD Widthall GVcheklist mysmallbtn" AutoGenerateColumns="False"
|
||||||
DataKeyNames="CveEventoCheckList,CveEvento,CveTipoEvento,EventoComentario,Estatus,CveUsuario,Usuario,FechaIng">
|
DataKeyNames="CveEventoCheckList,CveEvento,CveTipoEvento,EventoComentario,Estatus,CveUsuario,Usuario,FechaIng" OnRowDataBound="GVcheklist_RowDataBound">
|
||||||
<Columns>
|
<Columns>
|
||||||
<asp:TemplateField HeaderText="" ItemStyle-Width="30">
|
<asp:TemplateField HeaderText="" ItemStyle-Width="30">
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
@@ -598,7 +603,7 @@
|
|||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
<%--<pre>--%>
|
<%--<pre>--%>
|
||||||
<span class="pre">
|
<span class="pre">
|
||||||
<asp:Literal ID="lbleventoComentario" runat="server" Text='<%# Eval("EventoComentario")%>'> </asp:Literal>
|
<asp:Label ID="lbleventoComentario" runat="server" Text='<%# Eval("EventoComentario")%>'> </asp:Label>
|
||||||
</span>
|
</span>
|
||||||
<%--</pre>--%>
|
<%--</pre>--%>
|
||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
|
|||||||
@@ -312,7 +312,7 @@ public partial class CRM_Acercamiento : ClsPaginas
|
|||||||
CargaCheckLis();
|
CargaCheckLis();
|
||||||
}
|
}
|
||||||
CargarPS();
|
CargarPS();
|
||||||
BtnGuardarAcercamiento.Visible = true;
|
//BtnGuardarAcercamiento.Visible = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2074,4 +2074,21 @@ public partial class CRM_Acercamiento : ClsPaginas
|
|||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
|
||||||
|
protected void GVcheklist_RowDataBound(object sender, GridViewRowEventArgs e)
|
||||||
|
{
|
||||||
|
if (e.Row.RowType == DataControlRowType.DataRow) {
|
||||||
|
|
||||||
|
var Estatus = Boolean.Parse(e.Row.DataKey("Estatus"));
|
||||||
|
CheckBox chk = e.Row.FCCheckBox("");
|
||||||
|
|
||||||
|
if (Estatus)
|
||||||
|
{
|
||||||
|
e.Row.FCLabel("lbleventoComentario").Attributes.Add("class", "listTerminado");
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -1015,6 +1015,8 @@ public partial class CRM_EmpresaCRM : ClsPaginas
|
|||||||
|
|
||||||
protected void LnkEditarContacto_Click(object sender, EventArgs e)
|
protected void LnkEditarContacto_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
|
CargaGridTipoContacto();
|
||||||
|
|
||||||
EsEditarContacto = true;
|
EsEditarContacto = true;
|
||||||
limpiarCamposModalContato();
|
limpiarCamposModalContato();
|
||||||
|
|
||||||
@@ -1030,7 +1032,7 @@ public partial class CRM_EmpresaCRM : ClsPaginas
|
|||||||
|
|
||||||
IndexDTContacto = GvRow.RowIndex;
|
IndexDTContacto = GvRow.RowIndex;
|
||||||
|
|
||||||
CargaGridTipoContacto();
|
|
||||||
|
|
||||||
UPModalContacto.Update();
|
UPModalContacto.Update();
|
||||||
|
|
||||||
|
|||||||
@@ -178,7 +178,7 @@ public partial class CRM_RepAcercamientosProcesos : ClsPaginas
|
|||||||
hypt.HeaderText = $"Total";
|
hypt.HeaderText = $"Total";
|
||||||
hypt.DataNavigateUrlFields = new string[] { "CveGrupo1", "CveGrupo2", "Grupo1" };
|
hypt.DataNavigateUrlFields = new string[] { "CveGrupo1", "CveGrupo2", "Grupo1" };
|
||||||
string strfilstros =string.Format("&cveVendedor={0}&cveMedioCaptacion={1}&cveProbabilidadAcercamiento={2}", cveVendedor, cveMedioCaptacion, cveProbabilidadAcercamiento);
|
string strfilstros =string.Format("&cveVendedor={0}&cveMedioCaptacion={1}&cveProbabilidadAcercamiento={2}", cveVendedor, cveMedioCaptacion, cveProbabilidadAcercamiento);
|
||||||
hypt.DataNavigateUrlFormatString = $"/CRM/RepAcercamientosProcesosDetalle.aspx?CveTipoProceso={DdlTipoProceso.SelectedValue}&CveGrupo1={DdlGrupo1.SelectedValue}&FechaInicio={TxtFechaInicio.Text}&FechaFin={TxtFechaFin.Text}{strfilstros}";
|
hypt.DataNavigateUrlFormatString = $"/CRM/RepAcercamientosProcesosDetalle.aspx?CveTipoProceso={DdlTipoProceso.SelectedValue}&CveGrupo1={DdlGrupo1.SelectedValue}&FechaInicio={TxtFechaInicio.Text}&FechaFin={TxtFechaFin.Text}{strfilstros}&EnPausa={DdlEnPausa.SelectedValue}&CveEtapaProceso={DdlEtapaProceso.SelectedValue}&CveGiroClasificacion={DdlGiroClasificacion.SelectedValue}";
|
||||||
switch (idgrupo1)
|
switch (idgrupo1)
|
||||||
{
|
{
|
||||||
case 1:
|
case 1:
|
||||||
@@ -196,7 +196,7 @@ public partial class CRM_RepAcercamientosProcesos : ClsPaginas
|
|||||||
case 4:
|
case 4:
|
||||||
test.HeaderText = "Fecha";
|
test.HeaderText = "Fecha";
|
||||||
Agrupador = "Fecha";
|
Agrupador = "Fecha";
|
||||||
hypt.DataNavigateUrlFormatString = $"/CRM/RepAcercamientosProcesosDetalle.aspx?CveTipoProceso={DdlGrupo1.SelectedValue}&CveGrupo1={{0}}&CveGrupo2={{1}}&FechaInicio={{2}}&FechaFin={{2}}{strfilstros}";
|
hypt.DataNavigateUrlFormatString = $"/CRM/RepAcercamientosProcesosDetalle.aspx?CveTipoProceso={DdlGrupo1.SelectedValue}&CveGrupo1={{0}}&CveGrupo2={{1}}&FechaInicio={{2}}&FechaFin={{2}}{strfilstros}&EnPausa={DdlEnPausa.SelectedValue}&CveEtapaProceso={DdlEtapaProceso.SelectedValue}&CveGiroClasificacion={DdlGiroClasificacion.SelectedValue}";
|
||||||
break;
|
break;
|
||||||
case 6:
|
case 6:
|
||||||
test.HeaderText = "Giro";
|
test.HeaderText = "Giro";
|
||||||
@@ -216,7 +216,7 @@ public partial class CRM_RepAcercamientosProcesos : ClsPaginas
|
|||||||
hyp.DataTextField = $"C_{row["CveEtapaProceso"]}";
|
hyp.DataTextField = $"C_{row["CveEtapaProceso"]}";
|
||||||
hyp.HeaderText = $"{row["EtapaProceso"]}";
|
hyp.HeaderText = $"{row["EtapaProceso"]}";
|
||||||
hyp.DataNavigateUrlFields = new string[]{ "CveGrupo1","CveGrupo2"};
|
hyp.DataNavigateUrlFields = new string[]{ "CveGrupo1","CveGrupo2"};
|
||||||
hyp.DataNavigateUrlFormatString = $"/CRM/RepAcercamientosProcesosDetalle.aspx?CveTipoProceso={DdlGrupo1.SelectedValue}&CveGrupo1={{0}}&CveGrupo2={{1}}&FechaInicio={TxtFechaInicio.Text}&FechaFin={TxtFechaFin.Text}&cveEtapaProceso={row["CveEtapaProceso"]}";
|
hyp.DataNavigateUrlFormatString = $"/CRM/RepAcercamientosProcesosDetalle.aspx?CveTipoProceso={DdlGrupo1.SelectedValue}&CveGrupo1={{0}}&CveGrupo2={{1}}&FechaInicio={TxtFechaInicio.Text}&FechaFin={TxtFechaFin.Text}&cveEtapaProceso={row["CveEtapaProceso"]}&EnPausa={DdlEnPausa.SelectedValue}&CveEtapaProceso={DdlEtapaProceso.SelectedValue}&CveGiroClasificacion={DdlGiroClasificacion.SelectedValue}";
|
||||||
GVRepAcercamientosEtapas.Columns.Add(hyp);
|
GVRepAcercamientosEtapas.Columns.Add(hyp);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -252,6 +252,27 @@
|
|||||||
<div class="col-md-2">
|
<div class="col-md-2">
|
||||||
<asp:DropDownList ID="DdlGiroClasificacion" Width="100%" runat="server" DataValueField="CveClienteClasificacion" DataTextField="ClienteClasificacion" AppendDataBoundItems="true" CssClass="form-control select2me"></asp:DropDownList>
|
<asp:DropDownList ID="DdlGiroClasificacion" Width="100%" runat="server" DataValueField="CveClienteClasificacion" DataTextField="ClienteClasificacion" AppendDataBoundItems="true" CssClass="form-control select2me"></asp:DropDownList>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<label class="col-md-1" >En Pausa:</label>
|
||||||
|
<div class="col-md-1">
|
||||||
|
<asp:DropDownList ID="DdlEnPausa" Width="100%" runat="server" CssClass="form-control input-sm select2me" >
|
||||||
|
<asp:ListItem Value="-1">Todo</asp:ListItem>
|
||||||
|
<asp:ListItem Value="0">Activos</asp:ListItem>
|
||||||
|
<asp:ListItem Value="1">En Pausa</asp:ListItem>
|
||||||
|
</asp:DropDownList>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<%-- <label class="col-md-1" >Etapa:</label>
|
||||||
|
<div class="col-md-1">
|
||||||
|
<asp:DropDownList ID="DdlEtapaProceso" Width="100%" runat="server" CssClass="form-control input-sm select2me" DataTextField="EtapaProceso" DataValueField="CveEtapaProceso">
|
||||||
|
</asp:DropDownList>
|
||||||
|
</div>--%>
|
||||||
|
<%-- <asp:Label class="col-md-1 " style=" margin-top: 5px;" runat="server" Text="Giro:" AssociatedControlID="DdlGiroClasificacion"></asp:Label>
|
||||||
|
<div class="col-md-1">
|
||||||
|
<asp:DropDownList ID="DropDownList1" Width="100%" runat ="server" DataValueField="CveClienteClasificacion" DataTextField="ClienteClasificacion" AppendDataBoundItems="true" CssClass="form-control select2me"></asp:DropDownList>
|
||||||
|
</div>--%>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -9,6 +9,8 @@ using System.Data;
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using Microsoft.Reporting.WebForms;
|
using Microsoft.Reporting.WebForms;
|
||||||
|
using ADSNetLibrary.SIGAPI.Models.CRM.Request;
|
||||||
|
using ADSNetLibrary.SIGAPI.Services.CRM;
|
||||||
|
|
||||||
public partial class CRM_RepAcercamientosProcesosDetalle : ClsPaginas
|
public partial class CRM_RepAcercamientosProcesosDetalle : ClsPaginas
|
||||||
{
|
{
|
||||||
@@ -62,6 +64,21 @@ public partial class CRM_RepAcercamientosProcesosDetalle : ClsPaginas
|
|||||||
set { ViewState["RsFechaFin"] = value; }
|
set { ViewState["RsFechaFin"] = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
private bool REsRechazo
|
||||||
|
{
|
||||||
|
get {
|
||||||
|
if(ViewState["REsRechazo"] == null)
|
||||||
|
{
|
||||||
|
ViewState["REsRechazo"] = false;
|
||||||
|
}
|
||||||
|
|
||||||
|
return bool.Parse(ViewState["REsRechazo"].ToString()) ;
|
||||||
|
}
|
||||||
|
set { ViewState["REsRechazo"] =(bool) value; }
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
private DataTable DtMedioCaptacion
|
private DataTable DtMedioCaptacion
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
@@ -112,15 +129,20 @@ public partial class CRM_RepAcercamientosProcesosDetalle : ClsPaginas
|
|||||||
|
|
||||||
CveRechazoMotivo = Request["CveRechazoMotivo"] == null ? -1 : Request["CveRechazoMotivo"].ToString().ToEntero();
|
CveRechazoMotivo = Request["CveRechazoMotivo"] == null ? -1 : Request["CveRechazoMotivo"].ToString().ToEntero();
|
||||||
|
|
||||||
|
REsRechazo = Request["EsRechazo"] == null ? false : (Request["EsRechazo"].ToString().ToEntero()==1?true:false);
|
||||||
|
|
||||||
RsFecha = Request["Fecha"] == null ? Extensiones.ModExtensiones.MinFecha.ToString() : Request["Fecha"].ToString();
|
RsFecha = Request["Fecha"] == null ? Extensiones.ModExtensiones.MinFecha.ToString() : Request["Fecha"].ToString();
|
||||||
RsFechaIni = Request["FechaInicio"] == null ? Extensiones.ModExtensiones.MinFecha.ToString() : Request["FechaInicio"].ToString();
|
RsFechaIni = Request["FechaInicio"] == null ? Extensiones.ModExtensiones.MinFecha.ToString() : Request["FechaInicio"].ToString();
|
||||||
RsFechaFin = Request["FechaFin"] == null ? Extensiones.ModExtensiones.MaxFecha.ToString() : Request["FechaFin"].ToString();
|
RsFechaFin = Request["FechaFin"] == null ? Extensiones.ModExtensiones.MaxFecha.ToString() : Request["FechaFin"].ToString();
|
||||||
TxtFechaInicio.Text = Request["FechaInicio"] == null ? Extensiones.ModExtensiones.MinFecha.ToString() : Request["FechaInicio"].ToString();
|
TxtFechaInicio.Text = Request["FechaInicio"] == null ? Extensiones.ModExtensiones.MinFecha.ToString() : Request["FechaInicio"].ToString();
|
||||||
TxtFechaFin.Text = Request["FechaFin"] == null ? Extensiones.ModExtensiones.MaxFecha.ToString() : Request["FechaFin"].ToString();
|
TxtFechaFin.Text = Request["FechaFin"] == null ? Extensiones.ModExtensiones.MaxFecha.ToString() : Request["FechaFin"].ToString();
|
||||||
|
|
||||||
try { RsFechaIni = RsFechaIni.ToDateTime().ToString("yyyy/MM/dd"); TxtFechaInicio.Text = RsFechaIni.ToDateTime().ToString("dd/MM/yyyy"); }
|
try { RsFechaIni = RsFechaIni.ToDateTime().ToString("yyyy/MM/dd"); TxtFechaInicio.Text = RsFechaIni.ToDateTime().ToString("dd/MM/yyyy"); }
|
||||||
catch (Exception) { RsFechaIni = ""; }
|
catch (Exception) { RsFechaIni = ""; }
|
||||||
|
|
||||||
try { RsFechaFin = RsFechaFin.ToDateTime().ToString("yyyy/MM/dd"); TxtFechaFin.Text = RsFechaFin.ToDateTime().ToString("dd/MM/yyyy"); }
|
try { RsFechaFin = RsFechaFin.ToDateTime().ToString("yyyy/MM/dd"); TxtFechaFin.Text = RsFechaFin.ToDateTime().ToString("dd/MM/yyyy"); }
|
||||||
catch (Exception) { RsFechaFin = ""; }
|
catch (Exception) { RsFechaFin = ""; }
|
||||||
|
|
||||||
switch (RCveTipoProceso)
|
switch (RCveTipoProceso)
|
||||||
{
|
{
|
||||||
case 1:
|
case 1:
|
||||||
@@ -145,6 +167,10 @@ public partial class CRM_RepAcercamientosProcesosDetalle : ClsPaginas
|
|||||||
DdlVendedor.SelectedValueExist(RcveVendedor);
|
DdlVendedor.SelectedValueExist(RcveVendedor);
|
||||||
DdlMedioCaptacion.SelectedValueExist(RcveMedioCaptacion);
|
DdlMedioCaptacion.SelectedValueExist(RcveMedioCaptacion);
|
||||||
DdlProbabilidad.SelectedValueExist(RcveProbabilidadAcercamiento);
|
DdlProbabilidad.SelectedValueExist(RcveProbabilidadAcercamiento);
|
||||||
|
//Request["CveTipoProceso"] == null ? -1 : Request["CveTipoProceso"].ToString().ToEntero()
|
||||||
|
DdlEnPausa.SelectedValueExist(Request["EnPausa"] == null ? -1 : Request["EnPausa"].ToString().ToEntero());
|
||||||
|
DdlGiroClasificacion.SelectedValueExist(Request["CveGiroClasificacion"] == null ? -1 : Request["CveGiroClasificacion"].ToString().ToEntero());
|
||||||
|
|
||||||
cargarDatos();
|
cargarDatos();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -214,6 +240,7 @@ public partial class CRM_RepAcercamientosProcesosDetalle : ClsPaginas
|
|||||||
DdlTipoProceso.SelectedValue = CveTipoProceso;
|
DdlTipoProceso.SelectedValue = CveTipoProceso;
|
||||||
}
|
}
|
||||||
upDatosRepA.Update();
|
upDatosRepA.Update();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void DdlTipoProceso_Change(object sender, EventArgs e)
|
protected void DdlTipoProceso_Change(object sender, EventArgs e)
|
||||||
@@ -234,7 +261,8 @@ public partial class CRM_RepAcercamientosProcesosDetalle : ClsPaginas
|
|||||||
{
|
{
|
||||||
ClsCRM ObjRepA = new ClsCRM();
|
ClsCRM ObjRepA = new ClsCRM();
|
||||||
ObjRepA.RepAcercamientosDetalle(UsuarioActual.CveEmpresa, RcveVendedor, RcveMedioCaptacion, RcveProbabilidadAcercamiento, RcveEtapaProceso, RsFecha, RsFechaIni,
|
ObjRepA.RepAcercamientosDetalle(UsuarioActual.CveEmpresa, RcveVendedor, RcveMedioCaptacion, RcveProbabilidadAcercamiento, RcveEtapaProceso, RsFecha, RsFechaIni,
|
||||||
RsFechaFin,CveTipoProceso:DdlTipoProceso.SelectedValue.ToEntero(), CveRechazoMotivo: CveRechazoMotivo);
|
RsFechaFin,CveTipoProceso:DdlTipoProceso.SelectedValue.ToEntero(), CveRechazoMotivo: CveRechazoMotivo, EnPausa: DdlEnPausa.SelectedValue.ToEntero(), CveGiroClasificacion: DdlGiroClasificacion.SelectedValue.ToEntero(),
|
||||||
|
EsRechazo: REsRechazo);
|
||||||
GVRepAcercamientosDetalle.DataSource = ObjRepA.DtResultados;
|
GVRepAcercamientosDetalle.DataSource = ObjRepA.DtResultados;
|
||||||
DTRepAcercamientosDetalle = ObjRepA.DtResultados;
|
DTRepAcercamientosDetalle = ObjRepA.DtResultados;
|
||||||
ObjRepA.Dispose();
|
ObjRepA.Dispose();
|
||||||
|
|||||||
@@ -159,12 +159,12 @@ public partial class CRM_RepAcercamientosRechazos : ClsPaginas
|
|||||||
if (DdlGrupo1.SelectedValue == "1") {
|
if (DdlGrupo1.SelectedValue == "1") {
|
||||||
hypt.DataNavigateUrlFields = new string[] { "CveGrupo1", "CveGrupo2", "Grupo1", "CveVendedor" };
|
hypt.DataNavigateUrlFields = new string[] { "CveGrupo1", "CveGrupo2", "Grupo1", "CveVendedor" };
|
||||||
strfilstros = string.Format("&cveMedioCaptacion={0}&cveProbabilidadAcercamiento={1}", cveMedioCaptacion, cveProbabilidadAcercamiento);
|
strfilstros = string.Format("&cveMedioCaptacion={0}&cveProbabilidadAcercamiento={1}", cveMedioCaptacion, cveProbabilidadAcercamiento);
|
||||||
hypt.DataNavigateUrlFormatString = $"/CRM/RepAcercamientosProcesosDetalle.ASPX?CveTipoProceso={cveTipoProceso}&CveGrupo1={{0}}&CveGrupo2={{1}}&cveVendedor={{3}}&FechaInicio={TxtFechaInicio.Text}&FechaFin={TxtFechaFin.Text}{strfilstros}";
|
hypt.DataNavigateUrlFormatString = $"/CRM/RepAcercamientosProcesosDetalle.ASPX?CveTipoProceso={cveTipoProceso}&CveGrupo1={{0}}&CveGrupo2={{1}}&cveVendedor={{3}}&FechaInicio={TxtFechaInicio.Text}&FechaFin={TxtFechaFin.Text}{strfilstros}&EnPausa={DdlEnPausa.SelectedValue}&CveEtapaProceso={DdlEtapaProceso.SelectedValue}&CveGiroClasificacion={DdlGiroClasificacion.SelectedValue}&EsRechazo=1";
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
hypt.DataNavigateUrlFields = new string[] { "CveGrupo1", "CveGrupo2" , "Grupo1" };
|
hypt.DataNavigateUrlFields = new string[] { "CveGrupo1", "CveGrupo2" , "Grupo1" };
|
||||||
strfilstros = string.Format("&cveVendedor={0}&cveMedioCaptacion={1}&cveProbabilidadAcercamiento={2}", cveVendedor, cveMedioCaptacion, cveProbabilidadAcercamiento);
|
strfilstros = string.Format("&cveVendedor={0}&cveMedioCaptacion={1}&cveProbabilidadAcercamiento={2}", cveVendedor, cveMedioCaptacion, cveProbabilidadAcercamiento);
|
||||||
hypt.DataNavigateUrlFormatString = $"/CRM/RepAcercamientosProcesosDetalle.ASPX?CveTipoProceso={cveTipoProceso}&CveGrupo1={{0}}&CveGrupo2={{1}}&c&FechaInicio={TxtFechaInicio.Text}&FechaFin={TxtFechaFin.Text}{strfilstros}";
|
hypt.DataNavigateUrlFormatString = $"/CRM/RepAcercamientosProcesosDetalle.ASPX?CveTipoProceso={cveTipoProceso}&CveGrupo1={{0}}&CveGrupo2={{1}}&c&FechaInicio={TxtFechaInicio.Text}&FechaFin={TxtFechaFin.Text}{strfilstros}&EnPausa={DdlEnPausa.SelectedValue}&CveEtapaProceso={DdlEtapaProceso.SelectedValue}&CveGiroClasificacion={DdlGiroClasificacion.SelectedValue}&EsRechazo=1";
|
||||||
}
|
}
|
||||||
switch (idgrupo1)
|
switch (idgrupo1)
|
||||||
{
|
{
|
||||||
@@ -183,7 +183,7 @@ public partial class CRM_RepAcercamientosRechazos : ClsPaginas
|
|||||||
case 4:
|
case 4:
|
||||||
test.HeaderText = "Fecha";
|
test.HeaderText = "Fecha";
|
||||||
Agrupador = "Fecha";
|
Agrupador = "Fecha";
|
||||||
hypt.DataNavigateUrlFormatString = $"/CRM/RepAcercamientosProcesosDetalle.ASPX?CveTipoProceso={cveTipoProceso}&CveGrupo1={{0}}&CveGrupo2={{1}}&FechaInicio={{2}}&FechaFin={{2}}{strfilstros}";
|
hypt.DataNavigateUrlFormatString = $"/CRM/RepAcercamientosProcesosDetalle.ASPX?CveTipoProceso={cveTipoProceso}&CveGrupo1={{0}}&CveGrupo2={{1}}&FechaInicio={{2}}&FechaFin={{2}}{strfilstros}&EnPausa={DdlEnPausa.SelectedValue}&CveEtapaProceso={DdlEtapaProceso.SelectedValue}&CveGiroClasificacion={DdlGiroClasificacion.SelectedValue}&EsRechazo=1";
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
GVRepAcercamientosEtapas.Columns.Add(test);
|
GVRepAcercamientosEtapas.Columns.Add(test);
|
||||||
@@ -195,7 +195,7 @@ public partial class CRM_RepAcercamientosRechazos : ClsPaginas
|
|||||||
hyp.DataTextField = $"C_{row["CveRechazoMotivo"]}";
|
hyp.DataTextField = $"C_{row["CveRechazoMotivo"]}";
|
||||||
hyp.HeaderText = $"{row["RechazoMotivo"]}";
|
hyp.HeaderText = $"{row["RechazoMotivo"]}";
|
||||||
hyp.DataNavigateUrlFields = new string[] { "CveGrupo1", "CveGrupo2", "CveVendedor" };
|
hyp.DataNavigateUrlFields = new string[] { "CveGrupo1", "CveGrupo2", "CveVendedor" };
|
||||||
hyp.DataNavigateUrlFormatString = $"/CRM/RepAcercamientosProcesosDetalle.ASPX?CveTipoProceso={cveTipoProceso}&CveGrupo1={{0}}&CveGrupo2={{1}}&CveVendedor={{2}}&FechaInicio={TxtFechaInicio.Text}&FechaFin={TxtFechaFin.Text}{strfilstros}&CveRechazoMotivo={row["CveRechazoMotivo"]}";
|
hyp.DataNavigateUrlFormatString = $"/CRM/RepAcercamientosProcesosDetalle.ASPX?CveTipoProceso={cveTipoProceso}&CveGrupo1={{0}}&CveGrupo2={{1}}&CveVendedor={{2}}&FechaInicio={TxtFechaInicio.Text}&FechaFin={TxtFechaFin.Text}{strfilstros}&CveRechazoMotivo={row["CveRechazoMotivo"]}&EnPausa={DdlEnPausa.SelectedValue}&CveEtapaProceso={DdlEtapaProceso.SelectedValue}&CveGiroClasificacion={DdlGiroClasificacion.SelectedValue}&EsRechazo=1";
|
||||||
|
|
||||||
GVRepAcercamientosEtapas.Columns.Add(hyp);
|
GVRepAcercamientosEtapas.Columns.Add(hyp);
|
||||||
}
|
}
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
3727
Empresas/7/Formatos/Remision.rdlc
Normal file
3727
Empresas/7/Formatos/Remision.rdlc
Normal file
File diff suppressed because it is too large
Load Diff
@@ -76,33 +76,11 @@ public partial class Nomina_Finiquito : ClsPaginas
|
|||||||
|
|
||||||
set { ViewState["dtempleados"] = value; }
|
set { ViewState["dtempleados"] = value; }
|
||||||
}
|
}
|
||||||
private HybridDictionary EmpresasFuncionalidades
|
|
||||||
{
|
|
||||||
get
|
|
||||||
{
|
|
||||||
if (ViewState["EmpresasFuncionalidades"] == null) { return null; }
|
|
||||||
else { return (HybridDictionary)ViewState["EmpresasFuncionalidades"]; }
|
|
||||||
}
|
|
||||||
|
|
||||||
set { ViewState["EmpresasFuncionalidades"] = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
private HybridDictionary EmpresasFuncionalidadesnoV4
|
|
||||||
{
|
|
||||||
get
|
|
||||||
{
|
|
||||||
if (ViewState["EmpresasFuncionalidadesnoV4"] == null) { return null; }
|
|
||||||
else { return (HybridDictionary)ViewState["EmpresasFuncionalidadesnoV4"]; }
|
|
||||||
}
|
|
||||||
|
|
||||||
set { ViewState["EmpresasFuncionalidadesnoV4"] = value; }
|
|
||||||
}
|
|
||||||
#endregion
|
#endregion
|
||||||
protected void Page_Load(object sender, EventArgs e)
|
protected void Page_Load(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
if (!Page.IsPostBack)
|
if (!Page.IsPostBack)
|
||||||
{
|
{
|
||||||
CreaObjetoEmpresa(UsuarioActual);
|
|
||||||
GvFinOrdinario.DataSource = new DataTable();
|
GvFinOrdinario.DataSource = new DataTable();
|
||||||
GVFinIndemnizacion.DataSource = new DataTable();
|
GVFinIndemnizacion.DataSource = new DataTable();
|
||||||
GvFinOrdinario.DataBind();
|
GvFinOrdinario.DataBind();
|
||||||
@@ -552,109 +530,6 @@ public partial class Nomina_Finiquito : ClsPaginas
|
|||||||
// }
|
// }
|
||||||
//}
|
//}
|
||||||
|
|
||||||
private void CreaObjetoEmpresa(Usuario UsuarioActual)
|
|
||||||
{
|
|
||||||
ClsSisEmpresas ObjEmpresa = new ClsSisEmpresas();
|
|
||||||
if (ObjEmpresa.GetEmpresas(UsuarioActual.CveEmpresa, "-1", "-1", "-1", "-1"))
|
|
||||||
{
|
|
||||||
if (ObjEmpresa.GetEmpresasFuncionalidades(UsuarioActual.CveEmpresa))
|
|
||||||
{
|
|
||||||
System.Data.DataTable dttmp = ObjEmpresa.DtResultados;
|
|
||||||
|
|
||||||
EmpresasFuncionalidades = new HybridDictionary();
|
|
||||||
EmpresasFuncionalidadesnoV4 = new HybridDictionary();
|
|
||||||
foreach (System.Data.DataRow Row in dttmp.Rows)
|
|
||||||
{
|
|
||||||
if (Convert.ToInt32(Row["CveFuncionalidad"]) != 350)
|
|
||||||
{
|
|
||||||
EmpresasFuncionalidadesnoV4.Add(Convert.ToInt32(Row["CveFuncionalidad"]), Row["Valor"].ToString());
|
|
||||||
}
|
|
||||||
EmpresasFuncionalidades.Add(Convert.ToInt32(Row["CveFuncionalidad"]), Row["Valor"].ToString());
|
|
||||||
}
|
|
||||||
//ObjEmpresa.Empresa.SetFuncionalidades(EmpresasFuncionalidades);
|
|
||||||
}
|
|
||||||
|
|
||||||
UsuarioActual.Empresa = ObjEmpresa.Empresa;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
}
|
|
||||||
ObjEmpresa.Dispose();
|
|
||||||
}
|
|
||||||
public string TimbrarNominaV3_3(int CveNomina, int CvePersonal, int CvePeriodo, Usuario UsuarioActual, int CvePAC = 4)
|
|
||||||
{
|
|
||||||
LogicNominas lnom = new LogicNominas();
|
|
||||||
string Retorno = "";
|
|
||||||
string GetError = ""; // Le reasigno el current error a nulo
|
|
||||||
//System.Diagnostics.Stopwatch sw = null;
|
|
||||||
bool hasfiniquito = false;
|
|
||||||
|
|
||||||
UsuarioActual.Empresa.SetFuncionalidades(EmpresasFuncionalidadesnoV4);
|
|
||||||
//if (guardarLogTimbrado)
|
|
||||||
//{
|
|
||||||
// sw = new System.Diagnostics.Stopwatch();
|
|
||||||
|
|
||||||
// sw.Start();
|
|
||||||
//}
|
|
||||||
CFDITimbre cfdi = lnom.PreTimbrar(CveNomina, UsuarioActual, false); // CvePersonal, CvePeriodo,
|
|
||||||
cfdi.Comprobante.CondicionesdePago = "";
|
|
||||||
if (cfdi != null && cfdi.Mensaje == "")
|
|
||||||
{
|
|
||||||
if (!cfdi.Timbrado)
|
|
||||||
{
|
|
||||||
Timbrado ObjTimbrado = new Timbrado();
|
|
||||||
Modelos.Factura ObjFactura = new Modelos.Factura();
|
|
||||||
ObjFactura.TipoDocto = "Nomina";
|
|
||||||
ObjFactura.Folio = cfdi.Comprobante.Folio.ToEntero();
|
|
||||||
ObjFactura.Serie = cfdi.Comprobante.Serie;
|
|
||||||
ObjFactura.Timbre = cfdi;
|
|
||||||
if (!ObjTimbrado.TimbrarFactura(UsuarioActual, ObjFactura, CvePAC))
|
|
||||||
Retorno = ObjTimbrado.MensajeErrorCFDI;
|
|
||||||
}
|
|
||||||
if (Retorno != "")
|
|
||||||
Retorno = $"{Retorno} - {cfdi.Receptor.Nombre}";
|
|
||||||
else if (hasfiniquito)
|
|
||||||
{
|
|
||||||
cfdi = lnom.PreTimbrar(CveNomina, UsuarioActual, true); // CvePersonal, CvePeriodo,
|
|
||||||
if (cfdi != null && cfdi.Mensaje == "")
|
|
||||||
{
|
|
||||||
if (!cfdi.Timbrado)
|
|
||||||
{
|
|
||||||
Timbrado ObjTimbrado = new Timbrado();
|
|
||||||
Modelos.Factura ObjFactura = new Modelos.Factura();
|
|
||||||
ObjFactura.TipoDocto = "Nomina";
|
|
||||||
ObjFactura.Folio = cfdi.Comprobante.Folio.ToEntero();
|
|
||||||
ObjFactura.Serie = cfdi.Comprobante.Serie;
|
|
||||||
ObjFactura.Timbre = cfdi;
|
|
||||||
if (!ObjTimbrado.TimbrarFactura(UsuarioActual, ObjFactura, CvePAC))
|
|
||||||
Retorno = ObjTimbrado.MensajeErrorCFDI;
|
|
||||||
if (Retorno != "")
|
|
||||||
Retorno = $"{Retorno} - {cfdi.Receptor.Nombre}";
|
|
||||||
else
|
|
||||||
{
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else if (cfdi == null)
|
|
||||||
Retorno = $"No se pudo generar el pretimbre(GetError): <br/> {GetError}";
|
|
||||||
else
|
|
||||||
Retorno = $"No se pudo generar el pretimbre: <br/> {cfdi.Mensaje}";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else if (cfdi == null)
|
|
||||||
Retorno = $"No se pudo generar el pretimbre(GetError): <br/> {GetError}";
|
|
||||||
else
|
|
||||||
Retorno = $"No se pudo generar el pretimbre: <br/> {cfdi.Mensaje}";
|
|
||||||
//if (guardarLogTimbrado)
|
|
||||||
//{
|
|
||||||
// sw.Stop();
|
|
||||||
// GuardaLogTimbrado(sw.ElapsedMilliseconds.ToString(), UsuarioActual.Empresa.CvePAC, "Nomina");
|
|
||||||
//}
|
|
||||||
|
|
||||||
UsuarioActual.Empresa.SetFuncionalidades(EmpresasFuncionalidades);
|
|
||||||
return Retorno;
|
|
||||||
}
|
|
||||||
|
|
||||||
protected void LnkTimbrar_Click(object sender, EventArgs e)
|
protected void LnkTimbrar_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
int CvePeriodo = CvePeriodoFiniquito;
|
int CvePeriodo = CvePeriodoFiniquito;
|
||||||
@@ -667,14 +542,8 @@ public partial class Nomina_Finiquito : ClsPaginas
|
|||||||
|
|
||||||
|
|
||||||
string Msg = "";
|
string Msg = "";
|
||||||
if (UsuarioActual.CveEmpresa == 119)
|
Msg = lognom.TimbrarNomina(CveNomina, CvePersonal, CvePeriodo, UsuarioActual,versionTimbre:(UsuarioActual.CveEmpresa == 119? VersionTimbradoEnum.PorDefectoEmpresa: VersionTimbradoEnum.Version3_3));
|
||||||
{
|
|
||||||
Msg = lognom.TimbrarNomina(CveNomina, CvePersonal, CvePeriodo, UsuarioActual);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
Msg = TimbrarNominaV3_3(CveNomina, CvePersonal, CvePeriodo, UsuarioActual);
|
|
||||||
}
|
|
||||||
if (Msg != null && Msg.Length > 0)
|
if (Msg != null && Msg.Length > 0)
|
||||||
{ Alert(Msg, TipoMensaje.MsgAdvertencia); }
|
{ Alert(Msg, TipoMensaje.MsgAdvertencia); }
|
||||||
else
|
else
|
||||||
|
|||||||
@@ -208,27 +208,27 @@ public partial class Nomina_Nomina2 : ClsPaginas
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
private HybridDictionary EmpresasFuncionalidades
|
//private HybridDictionary EmpresasFuncionalidades
|
||||||
{
|
//{
|
||||||
get
|
// get
|
||||||
{
|
// {
|
||||||
if (ViewState["EmpresasFuncionalidades"] == null) { return null; }
|
// if (ViewState["EmpresasFuncionalidades"] == null) { return null; }
|
||||||
else { return (HybridDictionary)ViewState["EmpresasFuncionalidades"]; }
|
// else { return (HybridDictionary)ViewState["EmpresasFuncionalidades"]; }
|
||||||
}
|
// }
|
||||||
|
|
||||||
set { ViewState["EmpresasFuncionalidades"] = value; }
|
// set { ViewState["EmpresasFuncionalidades"] = value; }
|
||||||
}
|
//}
|
||||||
|
|
||||||
private HybridDictionary EmpresasFuncionalidadesnoV4
|
//private HybridDictionary EmpresasFuncionalidadesnoV4
|
||||||
{
|
//{
|
||||||
get
|
// get
|
||||||
{
|
// {
|
||||||
if (ViewState["EmpresasFuncionalidadesnoV4"] == null) { return null; }
|
// if (ViewState["EmpresasFuncionalidadesnoV4"] == null) { return null; }
|
||||||
else { return (HybridDictionary)ViewState["EmpresasFuncionalidadesnoV4"]; }
|
// else { return (HybridDictionary)ViewState["EmpresasFuncionalidadesnoV4"]; }
|
||||||
}
|
// }
|
||||||
|
|
||||||
set { ViewState["EmpresasFuncionalidadesnoV4"] = value; }
|
// set { ViewState["EmpresasFuncionalidadesnoV4"] = value; }
|
||||||
}
|
//}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
protected void Page_Load(object sender, EventArgs e)
|
protected void Page_Load(object sender, EventArgs e)
|
||||||
@@ -236,7 +236,10 @@ public partial class Nomina_Nomina2 : ClsPaginas
|
|||||||
|
|
||||||
if (!IsPostBack)
|
if (!IsPostBack)
|
||||||
{
|
{
|
||||||
CreaObjetoEmpresa(UsuarioActual);
|
if(UsuarioActual.CveUsuario == 100) {
|
||||||
|
Alert("recuerda que solo la empresa (119) tiene activado el timbrado 4.0", TipoMensaje.ToastAdventencia);
|
||||||
|
}
|
||||||
|
//CreaObjetoEmpresa(UsuarioActual);
|
||||||
DataTable dtperinc = null;
|
DataTable dtperinc = null;
|
||||||
using (ClsNominas objnom = new ClsNominas())
|
using (ClsNominas objnom = new ClsNominas())
|
||||||
{
|
{
|
||||||
@@ -1281,14 +1284,8 @@ public partial class Nomina_Nomina2 : ClsPaginas
|
|||||||
LogicNominas lognom = new LogicNominas();
|
LogicNominas lognom = new LogicNominas();
|
||||||
|
|
||||||
string Msg = "";
|
string Msg = "";
|
||||||
if (UsuarioActual.CveEmpresa == 119)
|
Msg = lognom.TimbrarNomina(CveNomina, CvePersonal, CvePeriodo, UsuarioActual, versionTimbre: (UsuarioActual.CveEmpresa == 119 ? VersionTimbradoEnum.PorDefectoEmpresa : VersionTimbradoEnum.Version3_3));
|
||||||
{
|
|
||||||
Msg = lognom.TimbrarNomina(CveNomina, CvePersonal, CvePeriodo, UsuarioActual);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
Msg = TimbrarNominaV3_3(CveNomina, CvePersonal, CvePeriodo, UsuarioActual);
|
|
||||||
}
|
|
||||||
if (Msg != null && Msg.Length > 0)
|
if (Msg != null && Msg.Length > 0)
|
||||||
{
|
{
|
||||||
Msg = msgCorregidoSat(Msg, CvePersonal, RFC, CURP);
|
Msg = msgCorregidoSat(Msg, CvePersonal, RFC, CURP);
|
||||||
@@ -1344,35 +1341,40 @@ public partial class Nomina_Nomina2 : ClsPaginas
|
|||||||
}
|
}
|
||||||
UpDatos.Update();
|
UpDatos.Update();
|
||||||
}
|
}
|
||||||
private void CreaObjetoEmpresa(Usuario UsuarioActual)
|
//private void CreaObjetoEmpresa(Usuario UsuarioActual)
|
||||||
{
|
//{
|
||||||
ClsSisEmpresas ObjEmpresa = new ClsSisEmpresas();
|
// ClsSisEmpresas ObjEmpresa = new ClsSisEmpresas();
|
||||||
if (ObjEmpresa.GetEmpresas(UsuarioActual.CveEmpresa, "-1", "-1", "-1", "-1"))
|
// if (ObjEmpresa.GetEmpresas(UsuarioActual.CveEmpresa, "-1", "-1", "-1", "-1"))
|
||||||
{
|
// {
|
||||||
if (ObjEmpresa.GetEmpresasFuncionalidades(UsuarioActual.CveEmpresa))
|
// if (ObjEmpresa.GetEmpresasFuncionalidades(UsuarioActual.CveEmpresa))
|
||||||
{
|
// {
|
||||||
System.Data.DataTable dttmp = ObjEmpresa.DtResultados;
|
// System.Data.DataTable dttmp = ObjEmpresa.DtResultados;
|
||||||
|
|
||||||
EmpresasFuncionalidades = new HybridDictionary();
|
// EmpresasFuncionalidades = new HybridDictionary();
|
||||||
EmpresasFuncionalidadesnoV4 = new HybridDictionary();
|
// EmpresasFuncionalidadesnoV4 = new HybridDictionary();
|
||||||
foreach (System.Data.DataRow Row in dttmp.Rows)
|
// foreach (System.Data.DataRow Row in dttmp.Rows)
|
||||||
{
|
// {
|
||||||
if (Convert.ToInt32(Row["CveFuncionalidad"]) != 350)
|
// if (Convert.ToInt32(Row["CveFuncionalidad"]) != 350)
|
||||||
{
|
// {
|
||||||
EmpresasFuncionalidadesnoV4.Add(Convert.ToInt32(Row["CveFuncionalidad"]), Row["Valor"].ToString());
|
// EmpresasFuncionalidadesnoV4.Add(Convert.ToInt32(Row["CveFuncionalidad"]), Row["Valor"].ToString());
|
||||||
}
|
// EmpresasFuncionalidades.Add(Convert.ToInt32(Row["CveFuncionalidad"]), Row["Valor"].ToString());
|
||||||
EmpresasFuncionalidades.Add(Convert.ToInt32(Row["CveFuncionalidad"]), Row["Valor"].ToString());
|
// }
|
||||||
}
|
// else
|
||||||
//ObjEmpresa.Empresa.SetFuncionalidades(EmpresasFuncionalidades);
|
// {
|
||||||
}
|
// EmpresasFuncionalidades.Add(Convert.ToInt32(Row["CveFuncionalidad"]), Row["Valor"].ToString());
|
||||||
|
|
||||||
UsuarioActual.Empresa = ObjEmpresa.Empresa;
|
// }
|
||||||
}
|
// }
|
||||||
else
|
// ObjEmpresa.Empresa.SetFuncionalidades(EmpresasFuncionalidades);
|
||||||
{
|
// }
|
||||||
}
|
|
||||||
ObjEmpresa.Dispose();
|
// UsuarioActual.Empresa = ObjEmpresa.Empresa;
|
||||||
}
|
// }
|
||||||
|
// else
|
||||||
|
// {
|
||||||
|
// }
|
||||||
|
// ObjEmpresa.Dispose();
|
||||||
|
//}
|
||||||
protected void LnkReenviarCorreo_Click(object sender, EventArgs e)
|
protected void LnkReenviarCorreo_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
LinkButton lnk = (LinkButton)sender;
|
LinkButton lnk = (LinkButton)sender;
|
||||||
@@ -1468,14 +1470,8 @@ public partial class Nomina_Nomina2 : ClsPaginas
|
|||||||
UsuarioActual = this.UsuarioActual;
|
UsuarioActual = this.UsuarioActual;
|
||||||
}*/
|
}*/
|
||||||
string Msg = "";// lognom.TimbrarNomina(CveNomina, CvePersonal, CvePeriodo, UsuarioActual, (UsuarioActual.CveUsuario == 100 ? 4 : 4));
|
string Msg = "";// lognom.TimbrarNomina(CveNomina, CvePersonal, CvePeriodo, UsuarioActual, (UsuarioActual.CveUsuario == 100 ? 4 : 4));
|
||||||
if (UsuarioActual.CveEmpresa == 119)
|
Msg = lognom.TimbrarNomina(CveNomina, CvePersonal, CvePeriodo, UsuarioActual, versionTimbre: (UsuarioActual.CveEmpresa == 119 ? VersionTimbradoEnum.PorDefectoEmpresa : VersionTimbradoEnum.Version3_3));
|
||||||
{
|
|
||||||
Msg = lognom.TimbrarNomina(CveNomina, CvePersonal, CvePeriodo, UsuarioActual);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
Msg = TimbrarNominaV3_3(CveNomina, CvePersonal, CvePeriodo, UsuarioActual);
|
|
||||||
}
|
|
||||||
if (Msg != null && Msg.Length > 0)
|
if (Msg != null && Msg.Length > 0)
|
||||||
{ Alert(string.Format("El empleado no se pudo timbrar, el sat nos devolvio el siguiente mensaje:<br/>{0}", Msg), TipoMensaje.MsgAdvertencia); }
|
{ Alert(string.Format("El empleado no se pudo timbrar, el sat nos devolvio el siguiente mensaje:<br/>{0}", Msg), TipoMensaje.MsgAdvertencia); }
|
||||||
else
|
else
|
||||||
@@ -9131,79 +9127,5 @@ public partial class Nomina_Nomina2 : ClsPaginas
|
|||||||
RegistraScript(string.Format("$('#ModalViewCorreo').modal();", TxtmcImporte.ClientID));
|
RegistraScript(string.Format("$('#ModalViewCorreo').modal();", TxtmcImporte.ClientID));
|
||||||
}
|
}
|
||||||
|
|
||||||
public string TimbrarNominaV3_3(int CveNomina, int CvePersonal, int CvePeriodo, Usuario UsuarioActual, int CvePAC = 4)
|
|
||||||
{
|
|
||||||
LogicNominas lnom = new LogicNominas();
|
|
||||||
string Retorno = "";
|
|
||||||
string GetError = ""; // Le reasigno el current error a nulo
|
|
||||||
//System.Diagnostics.Stopwatch sw = null;
|
|
||||||
bool hasfiniquito = false;
|
|
||||||
|
|
||||||
UsuarioActual.Empresa.SetFuncionalidades(EmpresasFuncionalidadesnoV4);
|
|
||||||
//if (guardarLogTimbrado)
|
|
||||||
//{
|
|
||||||
// sw = new System.Diagnostics.Stopwatch();
|
|
||||||
|
|
||||||
// sw.Start();
|
|
||||||
//}
|
|
||||||
CFDITimbre cfdi = lnom.PreTimbrar(CveNomina, UsuarioActual, false); // CvePersonal, CvePeriodo,
|
|
||||||
cfdi.Comprobante.CondicionesdePago = "";
|
|
||||||
if (cfdi != null && cfdi.Mensaje == "")
|
|
||||||
{
|
|
||||||
if (!cfdi.Timbrado)
|
|
||||||
{
|
|
||||||
Timbrado ObjTimbrado = new Timbrado();
|
|
||||||
Modelos.Factura ObjFactura = new Modelos.Factura();
|
|
||||||
ObjFactura.TipoDocto = "Nomina";
|
|
||||||
ObjFactura.Folio = cfdi.Comprobante.Folio.ToEntero();
|
|
||||||
ObjFactura.Serie = cfdi.Comprobante.Serie;
|
|
||||||
ObjFactura.Timbre = cfdi;
|
|
||||||
if (!ObjTimbrado.TimbrarFactura(UsuarioActual, ObjFactura, CvePAC))
|
|
||||||
Retorno = ObjTimbrado.MensajeErrorCFDI;
|
|
||||||
}
|
|
||||||
if (Retorno != "")
|
|
||||||
Retorno = $"{Retorno} - {cfdi.Receptor.Nombre}";
|
|
||||||
else if (hasfiniquito)
|
|
||||||
{
|
|
||||||
cfdi = lnom.PreTimbrar(CveNomina, UsuarioActual, true); // CvePersonal, CvePeriodo,
|
|
||||||
if (cfdi != null && cfdi.Mensaje == "")
|
|
||||||
{
|
|
||||||
if (!cfdi.Timbrado)
|
|
||||||
{
|
|
||||||
Timbrado ObjTimbrado = new Timbrado();
|
|
||||||
Modelos.Factura ObjFactura = new Modelos.Factura();
|
|
||||||
ObjFactura.TipoDocto = "Nomina";
|
|
||||||
ObjFactura.Folio = cfdi.Comprobante.Folio.ToEntero();
|
|
||||||
ObjFactura.Serie = cfdi.Comprobante.Serie;
|
|
||||||
ObjFactura.Timbre = cfdi;
|
|
||||||
if (!ObjTimbrado.TimbrarFactura(UsuarioActual, ObjFactura, CvePAC))
|
|
||||||
Retorno = ObjTimbrado.MensajeErrorCFDI;
|
|
||||||
if (Retorno != "")
|
|
||||||
Retorno = $"{Retorno} - {cfdi.Receptor.Nombre}";
|
|
||||||
else
|
|
||||||
{
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else if (cfdi == null)
|
|
||||||
Retorno = $"No se pudo generar el pretimbre(GetError): <br/> {GetError}";
|
|
||||||
else
|
|
||||||
Retorno = $"No se pudo generar el pretimbre: <br/> {cfdi.Mensaje}";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else if (cfdi == null)
|
|
||||||
Retorno = $"No se pudo generar el pretimbre(GetError): <br/> {GetError}";
|
|
||||||
else
|
|
||||||
Retorno = $"No se pudo generar el pretimbre: <br/> {cfdi.Mensaje}";
|
|
||||||
//if (guardarLogTimbrado)
|
|
||||||
//{
|
|
||||||
// sw.Stop();
|
|
||||||
// GuardaLogTimbrado(sw.ElapsedMilliseconds.ToString(), UsuarioActual.Empresa.CvePAC, "Nomina");
|
|
||||||
//}
|
|
||||||
|
|
||||||
UsuarioActual.Empresa.SetFuncionalidades(EmpresasFuncionalidades);
|
|
||||||
return Retorno;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -2965,7 +2965,7 @@ Partial Class Clientes
|
|||||||
'HLRemision.HRef = $"/Ventas/Ventas.aspx?CveRemision={e.Row.DBCampo("CveVenta")}"
|
'HLRemision.HRef = $"/Ventas/Ventas.aspx?CveRemision={e.Row.DBCampo("CveVenta")}"
|
||||||
|
|
||||||
Dim Liga As String = String.Format("< a class=""Texto"" href=""/Ventas/Ventas.aspx?CveVenta={0}"">", e.Row.DBCampo("CveVenta"))
|
Dim Liga As String = String.Format("< a class=""Texto"" href=""/Ventas/Ventas.aspx?CveVenta={0}"">", e.Row.DBCampo("CveVenta"))
|
||||||
HLSendMail.HRef = String.Format("javascript:(function mail(){{$get('HdnTipoDocto').value='{0}';$get('HdnCveVenta').value='{1}';$get('HdnFolioVenta').value='{2}';$get('TxtParaMail').value='{3}';$get('HdnSerieFolio').value='{4}';$get('HdnSubProyecto').value='{5}';$('#ModalDivMail').modal();return false;}})();", e.Row.DBCampo("TipoDocto"), e.Row.DBCampo("CveVenta"), e.Row.DBCampo("folio"), e.Row.DBCampo("Correo"), e.Row.DBCampo("SerieFolio"), e.Row.DBCampo("SubProyecto"))
|
HLSendMail.HRef = String.Format("javascript:(function mail(){{$get('HdnTipoDocto').value='{0}';$get('HdnCveVenta').value='{1}';$get('HdnFolioVenta').value='{2}';$get('TxtParaMail').value='{3}';$get('HdnSerieFolio').value='{4}';$get('HdnSubProyecto').value='{5}';$('#ModalDivMail').modal();void(0);}})();", e.Row.DBCampo("TipoDocto"), e.Row.DBCampo("CveVenta"), e.Row.DBCampo("folio"), e.Row.DBCampo("Correo"), e.Row.DBCampo("SerieFolio"), e.Row.DBCampo("SubProyecto"))
|
||||||
e.Row.FCLiteral("LtlFactura").Text = String.Format("<a class=""Texto"" href=""/Ventas/Ventas.aspx?CveVenta={0}"">{1}</a>", e.Row.DBCampo("CveVenta"), e.Row.DBCampo("Folio"))
|
e.Row.FCLiteral("LtlFactura").Text = String.Format("<a class=""Texto"" href=""/Ventas/Ventas.aspx?CveVenta={0}"">{1}</a>", e.Row.DBCampo("CveVenta"), e.Row.DBCampo("Folio"))
|
||||||
|
|
||||||
UpSendMail.Update()
|
UpSendMail.Update()
|
||||||
|
|||||||
@@ -962,6 +962,9 @@ Partial Class ProductosyServicios
|
|||||||
' DdlPSAdicional.SelectedText = "Seleccione"
|
' DdlPSAdicional.SelectedText = "Seleccione"
|
||||||
'End If
|
'End If
|
||||||
|
|
||||||
|
DdlEmpacado.SelectedValueExist(ObjProductosServicios.DtResultados.Rows(0)("CveTipoEmpacado").ToString)
|
||||||
|
DdlTipoOrganico.SelectedValueExist(ObjProductosServicios.DtResultados.Rows(0)("CveTipoOrganico").ToString)
|
||||||
|
|
||||||
Try
|
Try
|
||||||
DdlClasificacion_SelectedIndexChanged(DdlClasificacion, Nothing)
|
DdlClasificacion_SelectedIndexChanged(DdlClasificacion, Nothing)
|
||||||
|
|
||||||
@@ -1450,6 +1453,7 @@ Partial Class ProductosyServicios
|
|||||||
CveTipoFactor:=DdlTipoFactor.SelectedValue.ToEntero, CveFraccionArancelaria:=DdlFraccionArancelaria.SelectedValue.ToEntero,
|
CveTipoFactor:=DdlTipoFactor.SelectedValue.ToEntero, CveFraccionArancelaria:=DdlFraccionArancelaria.SelectedValue.ToEntero,
|
||||||
CveClasificacionDetalle:=DdlTipoPSDes.SelectedValue.ToEntero, CveTamaño:=CveTamaño,
|
CveClasificacionDetalle:=DdlTipoPSDes.SelectedValue.ToEntero, CveTamaño:=CveTamaño,
|
||||||
CveModelo:=DdlModelo.SelectedValue.ToEntero(), CveMedida:=DdlMedida.SelectedValue.ToEntero(), CveRinTamaño:=DdlRin.SelectedValue.ToEntero(),
|
CveModelo:=DdlModelo.SelectedValue.ToEntero(), CveMedida:=DdlMedida.SelectedValue.ToEntero(), CveRinTamaño:=DdlRin.SelectedValue.ToEntero(),
|
||||||
|
CveTipoEmpacado:=DdlEmpacado.SelectedValue.ToEntero(), CveTipoOrganico:=DdlTipoOrganico.SelectedValue.ToEntero(),
|
||||||
ClaveImpuestoEmpaque:=DdlImpEmpaque.SelectedValue.ToString, ClaveImpuestoUM:=DdlImpUM.SelectedValue.ToString, ClaveCategoriaToxicidad:=DdlCategoriaToxicidad.SelectedValue.ToString,
|
ClaveImpuestoEmpaque:=DdlImpEmpaque.SelectedValue.ToString, ClaveImpuestoUM:=DdlImpUM.SelectedValue.ToString, ClaveCategoriaToxicidad:=DdlCategoriaToxicidad.SelectedValue.ToString,
|
||||||
ClaveImpuestoTipoProducto:=DdlImpTipoProducto.SelectedValue.ToString, EsOutSourcing:=ChkEsOutSourcing.Checked, TiempoCaducidad:=TiempoCaducidad, CvePSAdicionalVigencia:=DdlPSAdicionalVigencia.SelectedValue.ToEntero(), PrecioLibre:=ChkPrecioLibre.Checked,
|
ClaveImpuestoTipoProducto:=DdlImpTipoProducto.SelectedValue.ToString, EsOutSourcing:=ChkEsOutSourcing.Checked, TiempoCaducidad:=TiempoCaducidad, CvePSAdicionalVigencia:=DdlPSAdicionalVigencia.SelectedValue.ToEntero(), PrecioLibre:=ChkPrecioLibre.Checked,
|
||||||
CveMaterialPeligroso:=DdlMaterialPeligroso.SelectedValue.ToEntero, CveEmbalaje:=DdlEmbalaje.SelectedValue.ToEntero, PesoKg:=TxtPesoKg.Text.ToDecimal, Dimensiones:=TxtDimensiones.Text.Trim,
|
CveMaterialPeligroso:=DdlMaterialPeligroso.SelectedValue.ToEntero, CveEmbalaje:=DdlEmbalaje.SelectedValue.ToEntero, PesoKg:=TxtPesoKg.Text.ToDecimal, Dimensiones:=TxtDimensiones.Text.Trim,
|
||||||
@@ -1500,6 +1504,7 @@ Partial Class ProductosyServicios
|
|||||||
CveTipoFactor:=DdlTipoFactor.SelectedValue.ToEntero, CveFraccionArancelaria:=DdlFraccionArancelaria.SelectedValue.ToEntero,
|
CveTipoFactor:=DdlTipoFactor.SelectedValue.ToEntero, CveFraccionArancelaria:=DdlFraccionArancelaria.SelectedValue.ToEntero,
|
||||||
CveUsuarioModifico:=UsuarioActual.CveUsuario, CveClasificacionDetalle:=DdlTipoPSDes.SelectedValue.ToEntero, CveTamaño:=CveTamaño,
|
CveUsuarioModifico:=UsuarioActual.CveUsuario, CveClasificacionDetalle:=DdlTipoPSDes.SelectedValue.ToEntero, CveTamaño:=CveTamaño,
|
||||||
CveModelo:=DdlModelo.SelectedValue.ToEntero(), CveMedida:=DdlMedida.SelectedValue.ToEntero(), CveRinTamaño:=DdlRin.SelectedValue.ToEntero(),
|
CveModelo:=DdlModelo.SelectedValue.ToEntero(), CveMedida:=DdlMedida.SelectedValue.ToEntero(), CveRinTamaño:=DdlRin.SelectedValue.ToEntero(),
|
||||||
|
CveTipoEmpacado:=DdlEmpacado.SelectedValue.ToEntero(), CveTipoOrganico:=DdlTipoOrganico.SelectedValue.ToEntero(),
|
||||||
ClaveImpuestoEmpaque:=DdlImpEmpaque.SelectedValue.ToString, ClaveImpuestoUM:=DdlImpUM.SelectedValue.ToString, ClaveCategoriaToxicidad:=DdlCategoriaToxicidad.SelectedValue.ToString,
|
ClaveImpuestoEmpaque:=DdlImpEmpaque.SelectedValue.ToString, ClaveImpuestoUM:=DdlImpUM.SelectedValue.ToString, ClaveCategoriaToxicidad:=DdlCategoriaToxicidad.SelectedValue.ToString,
|
||||||
ClaveImpuestoTipoProducto:=DdlImpTipoProducto.SelectedValue.ToString, EsOutSourcing:=ChkEsOutSourcing.Checked,
|
ClaveImpuestoTipoProducto:=DdlImpTipoProducto.SelectedValue.ToString, EsOutSourcing:=ChkEsOutSourcing.Checked,
|
||||||
AplicaSerie:=ChkSerie.Checked, AplicaLote:=ChkLote.Checked, AplicaCaducidad:=ChkCaducidad.Checked, AplicaSeccion:=ChkSeccion.Checked, TiempoCaducidad:=TiempoCaducidad, CvePSAdicionalVigencia:=DdlPSAdicionalVigencia.SelectedValue.ToEntero(), PrecioLibre:=ChkPrecioLibre.Checked,
|
AplicaSerie:=ChkSerie.Checked, AplicaLote:=ChkLote.Checked, AplicaCaducidad:=ChkCaducidad.Checked, AplicaSeccion:=ChkSeccion.Checked, TiempoCaducidad:=TiempoCaducidad, CvePSAdicionalVigencia:=DdlPSAdicionalVigencia.SelectedValue.ToEntero(), PrecioLibre:=ChkPrecioLibre.Checked,
|
||||||
|
|||||||
@@ -404,7 +404,8 @@
|
|||||||
<div class="caption font-green">
|
<div class="caption font-green">
|
||||||
|
|
||||||
<i class="icon-pin font-green"></i>
|
<i class="icon-pin font-green"></i>
|
||||||
<span class="caption-subject bold uppercase"><a id="HlCliente" href="javascript:void(0);" runat="server" class="Texto" onclick="javascript:AbrirVentana('/Ventas/PopUpBuscarClientes.aspx?Opt=Fact', 800, 547, 'N', 'PopUpBuscar')">Cliente: </a></span>
|
<span class="caption-subject bold uppercase"><a id="HlCliente" href="javascript:void(0);" runat="server" class="Texto" onclick="javascript:AbrirVentana('/Ventas/PopUpBuscarClientes.aspx?Opt=Fact', 800, 547, 'N', 'PopUpBuscar')">
|
||||||
|
<asp:Label runat="server" id="LblTituloPorletCliente" Text ="Cliente:"> </asp:Label></a></span>
|
||||||
<asp:LinkButton ID="LnkAgregarCliente" runat="server" AlternateText="Agregar Cliente" Text="<i class='fa fa-plus-square'></i>" />
|
<asp:LinkButton ID="LnkAgregarCliente" runat="server" AlternateText="Agregar Cliente" Text="<i class='fa fa-plus-square'></i>" />
|
||||||
<asp:TextBox ID="TxtCodigo" runat="server" AutoPostBack="true" BorderStyle="None" Width="65px"></asp:TextBox>
|
<asp:TextBox ID="TxtCodigo" runat="server" AutoPostBack="true" BorderStyle="None" Width="65px"></asp:TextBox>
|
||||||
<asp:HiddenField ID="HdnCveCliente" runat="server" ClientIDMode="Static" Value="-1" />
|
<asp:HiddenField ID="HdnCveCliente" runat="server" ClientIDMode="Static" Value="-1" />
|
||||||
@@ -424,7 +425,8 @@
|
|||||||
<div class="form-body">
|
<div class="form-body">
|
||||||
|
|
||||||
<table border="0" width="463px">
|
<table border="0" width="463px">
|
||||||
<tr align="left">
|
|
||||||
|
<tr align="left" runat="server" id="trNombreCliente">
|
||||||
<td width="95px"><b>Nombre:</b> </td>
|
<td width="95px"><b>Nombre:</b> </td>
|
||||||
<td width="200px">
|
<td width="200px">
|
||||||
<asp:Label ID="LblCliente" runat="server" Text="Cliente"></asp:Label></td>
|
<asp:Label ID="LblCliente" runat="server" Text="Cliente"></asp:Label></td>
|
||||||
@@ -432,12 +434,6 @@
|
|||||||
<td width="135px">
|
<td width="135px">
|
||||||
<asp:CheckBox ID="ChkEnviarFactura" runat="server" /></td>
|
<asp:CheckBox ID="ChkEnviarFactura" runat="server" /></td>
|
||||||
</tr>
|
</tr>
|
||||||
<%-- <tr runat="server" id="trFacturacionSucursal" visible="false">
|
|
||||||
<td><b>Facturar Sucursal :</b></td>
|
|
||||||
<td>
|
|
||||||
<asp:CheckBox ID="ChkFacturarSucursal" runat="server" OnCheckedChanged="ChkFacturarSucursal_CheckedChanged" />
|
|
||||||
</td>
|
|
||||||
</tr>--%>
|
|
||||||
<tr runat="server" id="trsucursalciente" visible="false">
|
<tr runat="server" id="trsucursalciente" visible="false">
|
||||||
<td align="left"><b>
|
<td align="left"><b>
|
||||||
<asp:Label ID="LblSucursal" runat="server" Text="Sucursal"></asp:Label>
|
<asp:Label ID="LblSucursal" runat="server" Text="Sucursal"></asp:Label>
|
||||||
@@ -510,6 +506,26 @@
|
|||||||
</table>
|
</table>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
|
<%--CRM--%>
|
||||||
|
<tr align="left" runat="server" id="trCRM1" visible="false">
|
||||||
|
<td width="95px"><b>Empresa:</b> </td>
|
||||||
|
<td width="200px">
|
||||||
|
<asp:Label ID="LblEmpresaCRM" runat="server" Text="Cliente"></asp:Label></td>
|
||||||
|
</tr>
|
||||||
|
<tr align="left" runat="server" id="trCRM2" visible="false" >
|
||||||
|
<td><b>RFC:</b> </td>
|
||||||
|
<td>
|
||||||
|
<asp:Label ID="LblRFCCRM" runat="server" Text="AAA010101AAA"></asp:Label></td>
|
||||||
|
</tr>
|
||||||
|
<tr align="left" runat="server" id="trCRM3" visible="false" >
|
||||||
|
<td><b>Medio de Captación::</b> </td>
|
||||||
|
<td>
|
||||||
|
<asp:Label ID="LblMedioCaptacionCRM" runat="server" Text=""></asp:Label></td>
|
||||||
|
</tr>
|
||||||
|
<%--CRM--%>
|
||||||
|
|
||||||
|
|
||||||
<tr runat="server" id="TrAtencionA" visible="false">
|
<tr runat="server" id="TrAtencionA" visible="false">
|
||||||
<td><b>Atención A:</b></td>
|
<td><b>Atención A:</b></td>
|
||||||
<td>
|
<td>
|
||||||
@@ -536,16 +552,20 @@
|
|||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</ContentTemplate>
|
</ContentTemplate>
|
||||||
</asp:UpdatePanel>
|
</asp:UpdatePanel>
|
||||||
|
|
||||||
<asp:UpdatePanel ID="UpEmpresaCRM" runat="server" Visible="false" UpdateMode="Conditional" class="portlet light xspadding bordered whitoutcol" style="width: 473px;">
|
<%-- <asp:UpdatePanel ID="UpEmpresaCRM" runat="server" Visible="false" UpdateMode="Conditional" class="portlet light xspadding bordered whitoutcol" style="width: 473px;">
|
||||||
<ContentTemplate>
|
<ContentTemplate>
|
||||||
<div class="portlet-title">
|
<div class="portlet-title">
|
||||||
<div class="caption font-green">
|
<div class="caption font-green" >
|
||||||
<i class="icon-pin font-green"></i>
|
<i class="icon-pin font-green"></i>
|
||||||
<span class="caption-subject bold uppercase">EMPRESA CRM </span>
|
<span class="caption-subject bold uppercase">EMPRESA CRM </span>
|
||||||
</div>
|
</div>
|
||||||
@@ -557,26 +577,15 @@
|
|||||||
<div class="form-body">
|
<div class="form-body">
|
||||||
|
|
||||||
<table border="0" width="463px">
|
<table border="0" width="463px">
|
||||||
<tr align="left">
|
|
||||||
<td width="95px"><b>Empresa:</b> </td>
|
|
||||||
<td width="200px">
|
|
||||||
<asp:Label ID="LblEmpresaCRM" runat="server" Text="Cliente"></asp:Label></td>
|
|
||||||
</tr>
|
|
||||||
<tr align="left">
|
|
||||||
<td><b>RFC:</b> </td>
|
|
||||||
<td>
|
|
||||||
<asp:Label ID="LblRFCCRM" runat="server" Text="AAA010101AAA"></asp:Label></td>
|
|
||||||
</tr>
|
|
||||||
<tr align="left">
|
|
||||||
<td><b>Medio de Captación::</b> </td>
|
|
||||||
<td>
|
|
||||||
<asp:Label ID="LblMedioCaptacionCRM" runat="server" Text=""></asp:Label></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</ContentTemplate>
|
</ContentTemplate>
|
||||||
</asp:UpdatePanel>
|
</asp:UpdatePanel>--%>
|
||||||
|
|
||||||
<asp:UpdatePanel ID="UpParametros" runat="server" UpdateMode="Conditional" class="portlet light xspadding .nolineheight bordered whitoutcol" style="width: 310px;">
|
<asp:UpdatePanel ID="UpParametros" runat="server" UpdateMode="Conditional" class="portlet light xspadding .nolineheight bordered whitoutcol" style="width: 310px;">
|
||||||
<ContentTemplate>
|
<ContentTemplate>
|
||||||
|
|||||||
@@ -2512,7 +2512,13 @@ Partial Class Ventas
|
|||||||
TrObsAlmacen.Visible = False
|
TrObsAlmacen.Visible = False
|
||||||
TrTxtObsAlmacen.Visible = False
|
TrTxtObsAlmacen.Visible = False
|
||||||
TrPedido.Visible = False
|
TrPedido.Visible = False
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
TrOC.Visible = False
|
TrOC.Visible = False
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
DdlTipoComprobante.SelectedValue = "Op"
|
DdlTipoComprobante.SelectedValue = "Op"
|
||||||
Else
|
Else
|
||||||
Opcion = "Ing"
|
Opcion = "Ing"
|
||||||
@@ -6149,6 +6155,8 @@ Partial Class Ventas
|
|||||||
If CveSubProyecto > 0 Then DdlSubProyecto.SelectedValueExist(CveSubProyecto)
|
If CveSubProyecto > 0 Then DdlSubProyecto.SelectedValueExist(CveSubProyecto)
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Private Sub CargaEmpresaCRM(CveEmpresaCRM As Integer)
|
Private Sub CargaEmpresaCRM(CveEmpresaCRM As Integer)
|
||||||
Dim ObjCRM As New ClsCRM
|
Dim ObjCRM As New ClsCRM
|
||||||
If ObjCRM.GetEmpresasCRM(UsuarioActual.CveEmpresa, CveEmpresaCRM) Then
|
If ObjCRM.GetEmpresasCRM(UsuarioActual.CveEmpresa, CveEmpresaCRM) Then
|
||||||
@@ -6165,7 +6173,8 @@ Partial Class Ventas
|
|||||||
TxtCodigo.ReadOnly = True
|
TxtCodigo.ReadOnly = True
|
||||||
|
|
||||||
UpCliente.Visible = True
|
UpCliente.Visible = True
|
||||||
UpEmpresaCRM.Visible = False
|
|
||||||
|
'UpEmpresaCRM.Visible = False
|
||||||
Else
|
Else
|
||||||
LblEmpresaCRM.Text = ObjCRM.DtResultados.Rows(0)("Empresa").ToString()
|
LblEmpresaCRM.Text = ObjCRM.DtResultados.Rows(0)("Empresa").ToString()
|
||||||
LblRFCCRM.Text = ObjCRM.DtResultados.Rows(0)("RFC").ToString()
|
LblRFCCRM.Text = ObjCRM.DtResultados.Rows(0)("RFC").ToString()
|
||||||
@@ -6175,8 +6184,28 @@ Partial Class Ventas
|
|||||||
LblEnviarMail.Visible = False
|
LblEnviarMail.Visible = False
|
||||||
|
|
||||||
UPCondicionesPago.Visible = True
|
UPCondicionesPago.Visible = True
|
||||||
UpCliente.Visible = False
|
'UpCliente.Visible = False
|
||||||
UpEmpresaCRM.Visible = True
|
'UpEmpresaCRM.Visible = True
|
||||||
|
|
||||||
|
trNombreCliente.Visible = False
|
||||||
|
trsucursalciente.Visible = False
|
||||||
|
TrDireccion.Visible = False
|
||||||
|
TrCiudad.Visible = False
|
||||||
|
TrRFC.Visible = False
|
||||||
|
TrOP.Visible = False
|
||||||
|
trDireccionEnvio.Visible = False
|
||||||
|
|
||||||
|
TrAtencionA.Visible = True
|
||||||
|
trCRM1.Visible = True
|
||||||
|
trCRM2.Visible = True
|
||||||
|
trCRM3.Visible = True
|
||||||
|
|
||||||
|
LblTituloPorletCliente.Text = "EMPRESA CRM"
|
||||||
|
|
||||||
|
tdTelefonoGen.Visible = False
|
||||||
|
tdTxtTelefonoGen.Visible = False
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
End If
|
End If
|
||||||
Me.CveVendedorEmpresaCRM = ObjCRM.DtResultados.Rows(0)("CveVendedorAsignado").ToString().ToEntero()
|
Me.CveVendedorEmpresaCRM = ObjCRM.DtResultados.Rows(0)("CveVendedorAsignado").ToString().ToEntero()
|
||||||
@@ -6184,16 +6213,22 @@ Partial Class Ventas
|
|||||||
DdlVendedor.SelectedValueExist(ObjCRM.DtResultados.Rows(0)("CveVendedorAsignado").ToString())
|
DdlVendedor.SelectedValueExist(ObjCRM.DtResultados.Rows(0)("CveVendedorAsignado").ToString())
|
||||||
DdlVendedor.Enabled = False
|
DdlVendedor.Enabled = False
|
||||||
LbAgregar.Enabled = True
|
LbAgregar.Enabled = True
|
||||||
|
|
||||||
|
'TrAtencionA.Visible = True
|
||||||
|
TrOC.Visible = True
|
||||||
|
|
||||||
End If
|
End If
|
||||||
|
|
||||||
|
|
||||||
ThTiempoEntrega.Visible = True
|
ThTiempoEntrega.Visible = True
|
||||||
ThTiempoEntrega2.Visible = True
|
ThTiempoEntrega2.Visible = True
|
||||||
GvPS.Columns(5).Visible = True
|
GvPS.Columns(5).Visible = True
|
||||||
|
|
||||||
End If
|
End If
|
||||||
ObjCRM.Dispose()
|
ObjCRM.Dispose()
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
|
|
||||||
Private Sub CargaCliente(CveCliente As Integer, Optional Estatus As Integer = -1)
|
Private Sub CargaCliente(CveCliente As Integer, Optional Estatus As Integer = -1)
|
||||||
|
|
||||||
If CveCliente <= 0 Then Exit Sub
|
If CveCliente <= 0 Then Exit Sub
|
||||||
|
|||||||
590
vwd.webinfo
Normal file
590
vwd.webinfo
Normal file
@@ -0,0 +1,590 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<!--
|
||||||
|
Visual Studio global web project settings.
|
||||||
|
-->
|
||||||
|
<VisualWebDeveloper>
|
||||||
|
|
||||||
|
<StartupServices>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<Service ID="{C0C07587-41A7-46C8-8FBD-3F9C8EBE2DDC}"/>
|
||||||
|
</StartupServices>
|
||||||
|
</VisualWebDeveloper>
|
||||||
Reference in New Issue
Block a user