diff --git a/App_Code/ClsGenerales.vb b/App_Code/ClsGenerales.vb
index 7b7617049..791d4eb80 100644
--- a/App_Code/ClsGenerales.vb
+++ b/App_Code/ClsGenerales.vb
@@ -1649,7 +1649,7 @@ Public Class ClsGenerales
Public Function AddCuentasDepositos(BancoNombre As String, Plaza As String, Sucursal As String, Cuenta As String, CLABE As String, CIE As String, SWIFT As String, Referencia As String, RefCrediProveedor As String, CveUsuario As Integer, CveMoneda As Integer, CveEmpresa As Integer,
Optional CveProveedor As Integer = -1, Optional CveCliente As Integer = -1, Optional CvePersonal As Integer = -1, Optional CveColectiva As Integer = -1, Optional CveUsuarioModifico As Integer = -1,
Optional Correo As String = "", Optional BBVAAlias As String = "-1", Optional EstatusPagoElectronico As Boolean = False, Optional EstatusPagoElectronicoGrupos As Boolean = False, Optional CveSATBanco As Integer = -1,
- Optional ConceptoCIE As String = "-1") As Boolean
+ Optional ConceptoCIE As String = "-1", Optional Estatus As Boolean = True) As Boolean
Dim Retorno As Boolean = False
DataAdapter("PA_Gral_CuentasDepositosAdd")
@@ -1678,6 +1678,7 @@ Public Class ClsGenerales
.Add("@EstatusPagoElectronicoGrupos", SqlDbType.Bit).Value = EstatusPagoElectronicoGrupos
.Add("@CveSATBanco", SqlDbType.Int).Value = CveSATBanco
.Add("@ConceptoCIE", SqlDbType.VarChar).Value = ConceptoCIE
+ .Add("@Estatus", SqlDbType.VarChar).Value = Estatus
End With
diff --git a/Ashx/TareasProgramadas.ashx b/Ashx/TareasProgramadas.ashx
index fb461e57e..8e79bea06 100644
--- a/Ashx/TareasProgramadas.ashx
+++ b/Ashx/TareasProgramadas.ashx
@@ -108,7 +108,9 @@ Public Class TareasProgramadas : Implements IHttpHandler, IReadOnlySessionState
context.Response.Write(retorno)
Case "EstadosCuenta"
'CargaEstadosCuenta(context, 119, 227774)
- CargaEstadosCuenta(context, 119, -1, FechaEnvio, FechaActual)
+ 'CargaEstadosCuenta(context, 119, -1, FechaEnvio, FechaActual)
+ Dim tCveEmpresa As Integer = context.Request("CveEmpresa").ToString.ToEntero
+ CargaEstadosCuenta(context, tCveEmpresa, -1, FechaEnvio, FechaActual)
Case "ScoreCard"
CargaScoreCard(context, 140, FechaEnvio)
@@ -354,6 +356,9 @@ Public Class TareasProgramadas : Implements IHttpHandler, IReadOnlySessionState
#Region "E S T A D O S D E C U E N T A"
Private Sub CargaEstadosCuenta(ByVal context As HttpContext, pCveEmpresa As Integer, pCveCliente As Integer, FechaEnvio As DateTime, FechaActual As DateTime)
+
+ Dim Usuario As Usuario = ValidaUsuarioSistema(100, pCveEmpresa)
+
Dim Retorno As New JArray()
Dim DtEmpresas As DataTable = Nothing
Using ObjEmpresas As New ClsSisEmpresas()
@@ -364,7 +369,7 @@ Public Class TareasProgramadas : Implements IHttpHandler, IReadOnlySessionState
If DtEmpresas IsNot Nothing Then
For Each Row As DataRow In DtEmpresas.Rows
- Dim Usuario As Usuario = ValidaUsuarioSistema(100, Row("CveEmpresa").ToString().ToEntero())
+ 'Dim Usuario As Usuario = ValidaUsuarioSistema(100, Row("CveEmpresa").ToString().ToEntero())
Dim obj As JObject = EjecutarEnvioEstadoCuenta(Usuario, FechaEnvio, FechaActual, pCveCliente:=pCveCliente)
Retorno.Add(obj)
@@ -499,7 +504,9 @@ Public Class TareasProgramadas : Implements IHttpHandler, IReadOnlySessionState
Dim Envio As Boolean = False
If Not String.IsNullOrEmpty(Correo) Then
+ 'Correo = "oscar.irigoyen@adssistemas.mx"
Envio = EnviarEstadoCuenta(UsuarioActual, Correo, Cliente)
+ GuardaLog($"Log envio Estados Cuenta correo {If(Envio, "Enviado", "Error")} CveCliente {CveCliente} ")
End If
If Envio Then
@@ -522,6 +529,7 @@ Public Class TareasProgramadas : Implements IHttpHandler, IReadOnlySessionState
New JProperty("Cliente", Cliente.Nombre)
))
End If
+
End If
Next
End If
@@ -857,7 +865,10 @@ Public Class TareasProgramadas : Implements IHttpHandler, IReadOnlySessionState
If sw.Elapsed.TotalSeconds > 10 Then
GuardaLog($"Reporte:{RutaReporte} | Tiempo Renderizado Milisegundos: {sw.ElapsedMilliseconds},Total Segundos: {sw.Elapsed.TotalSeconds} ")
End If
- If MR IsNot Nothing Then MR.Dispose()
+ If MR IsNot Nothing Then
+ 'MR.Close()
+ MR.Dispose()
+ End If
Return Bytes
End Function
diff --git a/Bancos/PopIEVentas.aspx.vb b/Bancos/PopIEVentas.aspx.vb
index 7f47b4731..4fd113f60 100644
--- a/Bancos/PopIEVentas.aspx.vb
+++ b/Bancos/PopIEVentas.aspx.vb
@@ -545,16 +545,7 @@ Partial Class Bancos_PopIEVentas
FechaVenta = dr("Fecha").ToString.ToDate
SaldoVenta = dr("Saldo").ToString.ToDouble
-
- 'Cortes de Caja
- If UsuarioActual.TienePermisoProceso(160) Then
- CargaCorteCaja()
- End If
-
- If UsuarioActual.Empresa.Funcionalidad(531) = "1" OrElse (dr("CveCorte").ToString.ToEntero > 0) Then 'toma como proridad el que viene de
- CveCorte = dr("CveCorte").ToString.ToEntero
- End If
-
+ Me.CveCorte = CargaCorteCaja(pCveVenta, UsuarioActual)
If RFCCliente.ToUpper <> "XAXX010101000" Then
Dim CveProveedor As Integer = GlobalDTCompProveedores(UsuarioActual.CveEmpresa, RFC:=RFCCliente.ToUpper).FiltroPrimeroValor("CveProveedor").ToEntero
@@ -581,18 +572,57 @@ Partial Class Bancos_PopIEVentas
ObjVenta.Dispose()
End Sub
- Private Sub CargaCorteCaja()
- 'Checar si hay un Turno Abierto
- Dim ObjPVenta As New ClsPuntoVenta
+ Protected Function CargaCorteCaja(CveVenta As Integer, UsuarioActual As Usuario) As Integer
+ Dim CveCorte As Integer = -1
- If ObjPVenta.GetVta_Cortes("-1", "-1", UsuarioActual.CveUsuario, -1, UsuarioActual.CveEmpresa, 0) Then
+ Dim CveCorteVenta As Integer = -1
+ Dim EsCredito As Boolean = False
+ Dim UsaCorteActual As Boolean = False
- If ObjPVenta.DtResultados.Rows.Count > 0 Then
- CveCorte = ObjPVenta.CveCorte
+ If CveVenta > 0 Then
+ Using ObjVentas As New ClsVentas
+ If ObjVentas.GetVenta(CveVenta, UsuarioActual.CveEmpresa, VerificaAlmacen:=False) Then
+ EsCredito = If(ObjVentas.DtResultados.FiltroPrimeroValor("CondicionesPago").ToEntero() = 1, True, False)
+ CveCorteVenta = ObjVentas.DtResultados.FiltroPrimeroValor("CveCorte").ToEntero()
+ End If
+ End Using
+
+ If UsuarioActual.TienePermisoProceso(160) OrElse UsuarioActual.TienePermisoProceso(371) Then
+ 'SI ES FACTURA A CREDITO
+ If EsCredito OrElse CveCorteVenta <= 0 Then
+ UsaCorteActual = True
+ End If
+ End If
+
+ 'SI ES CONTADO TOMAR EL DE LA VENTA
+ If Not EsCredito Then
+ UsaCorteActual = False
+ End If
+
+ 'EN BDH TOMAR EL DE LA VENTA
+ If UsuarioActual.Empresa.Funcionalidad(531) = "1" Then
+ UsaCorteActual = False
+ End If
+ Else
+ If UsuarioActual.TienePermisoProceso(160) OrElse UsuarioActual.TienePermisoProceso(371) Then
+ UsaCorteActual = True
End If
End If
- ObjPVenta.Dispose()
- End Sub
+
+ If UsaCorteActual Then
+ Dim ObjPVenta As New ClsPuntoVenta
+ If ObjPVenta.GetVta_Cortes("-1", "-1", UsuarioActual.CveUsuario, -1, UsuarioActual.CveEmpresa, 0) Then
+ If ObjPVenta.DtResultados.Rows.Count > 0 Then
+ CveCorte = ObjPVenta.CveCorte
+ End If
+ End If
+ ObjPVenta.Dispose()
+ Else
+ CveCorte = CveCorteVenta
+ End If
+
+ Return CveCorte
+ End Function
Private Sub CargaCliente(ByVal CveCliente As Integer, RFC As String)
Dim ObjCliente As New ClsClientes
diff --git a/Bancos/RepCortes.aspx b/Bancos/RepCortes.aspx
index 0f8f26f74..7c9ebeeb3 100644
--- a/Bancos/RepCortes.aspx
+++ b/Bancos/RepCortes.aspx
@@ -131,7 +131,7 @@
-
+
@@ -315,7 +315,7 @@
- <%----%>
+
@@ -448,6 +448,11 @@
+
+
+
+
+
diff --git a/Bancos/RepCortes.aspx.vb b/Bancos/RepCortes.aspx.vb
index 177d8cb61..5827880e9 100644
--- a/Bancos/RepCortes.aspx.vb
+++ b/Bancos/RepCortes.aspx.vb
@@ -90,6 +90,10 @@ Partial Class Bancos_RepCortes
GvDatos.Columns(4).Visible = True
End If
+ If UsuarioActual.CveRol = 1 Then
+ GvDatos.Columns(21).Visible = True 'COLUMNA DE CveCorte
+ End If
+
GvP.DataBind()
GvDep.DataBind()
GvPorIVA.DataBind()
@@ -219,7 +223,7 @@ Partial Class Bancos_RepCortes
Dim ConsultaPorSucursal As Boolean = UsuarioActual.Empresa.Funcionalidad(382) = "1"
If ConsultaPorSucursal Then
- CveCorte = -1
+ 'CveCorte = -1
FechaConsulta = gvr.DataKey("FechaInicial").ToDate()
End If
@@ -231,6 +235,10 @@ Partial Class Bancos_RepCortes
DtCortesVentas = DsDatos.Tables(0)
GvD.DataSource = DtCortesVentas
+ If UsuarioActual.Empresa.Funcionalidad(382) = "1" Then
+ GvD.Columns(3).Visible = True
+ End If
+
divDetalle.Visible = True
'RESUMEN
DtCortesVentasResumen = DsDatos.Tables(1)
diff --git a/Compras/Compras.aspx b/Compras/Compras.aspx
index 034b3d77b..889e34b70 100644
--- a/Compras/Compras.aspx
+++ b/Compras/Compras.aspx
@@ -716,6 +716,8 @@
P.U.
IVA
IEPS
+
Ret. IVA
+
Ret. ISR
Total
¿No Deducible?
@@ -826,55 +828,69 @@
+ <%-- 10 --%>
+
+
+
+
+
+
+ <%-- 11 --%>
+
+
+
+
+
+
- <%-- 10 --%>
+ <%-- 12 --%>
- <%-- 11 --%>
+ <%-- 13 --%>
- <%-- 12 --%>
+ <%-- 14 --%>
- <%-- 13 --%>
+ <%-- 15 --%>
- <%-- 14 --%>
+ <%-- 16 --%>
- <%-- 15 --%>
+ <%-- 17 --%>
- <%-- 16 --%>
+ <%-- 18 --%>
- <%-- 17 --%>
+ <%-- 19 --%>
- <%-- 18 --%>
+ <%-- 12 --%>
diff --git a/Compras/Compras.aspx.vb b/Compras/Compras.aspx.vb
index 6ed284990..ca2afc967 100644
--- a/Compras/Compras.aspx.vb
+++ b/Compras/Compras.aspx.vb
@@ -978,6 +978,36 @@ Partial Class Compras_Compras
End Set
End Property
+
+
+ Private Property ProvRetIVA As Decimal
+ Get
+ If ViewState("ProvRetIVA") Is Nothing Then
+ ViewState("ProvRetIVA") = 0
+ End If
+
+ Return ViewState("ProvRetIVA").ToString.ToDecimal
+ End Get
+ Set(value As Decimal)
+ ViewState("ProvRetIVA") = value
+ End Set
+ End Property
+
+ Private Property ProvRetISR As Decimal
+ Get
+ If ViewState("ProvRetISR") Is Nothing Then
+ ViewState("ProvRetISR") = 0
+ End If
+
+ Return ViewState("ProvRetISR").ToString.ToDecimal
+ End Get
+ Set(value As Decimal)
+ ViewState("ProvRetISR") = value
+ End Set
+ End Property
+
+
+
Private Property TotalOriginal As Decimal
Get
If ViewState("TotalOriginal") Is Nothing Then
@@ -1787,7 +1817,7 @@ Partial Class Compras_Compras
End If
- MostrarOcultarColumnaIEPS()
+ MostrarOcultarColumnaIEPSRetIVARetISR()
End Sub
@@ -1886,7 +1916,7 @@ Partial Class Compras_Compras
#Region "C A R G A S"
- Private Sub MostrarOcultarColumnaIEPS()
+ Private Sub MostrarOcultarColumnaIEPSRetIVARetISR()
If TxtIEPS.Text.ToDecimal <> 0 And TmpDT.SUM("IEPSPS") <> 0 Then
@@ -1896,6 +1926,25 @@ Partial Class Compras_Compras
GvPS.Columns(9).Visible = False
TD_Gvps_IEPS.Visible = False
End If
+
+ If TxtRetIVA.Text.ToDecimal <> 0 And TmpDT.SUM("RetIVA") <> 0 Then
+ GvPS.Columns(10).Visible = True
+ TdRetIVA.Visible = True
+ Else
+ GvPS.Columns(10).Visible = False
+ TdRetIVA.Visible = False
+ End If
+
+
+ If TxtRetISR.Text.ToDecimal <> 0 And TmpDT.SUM("RetISR") <> 0 Then
+ GvPS.Columns(11).Visible = True
+ TdRetISR.Visible = True
+ Else
+ GvPS.Columns(11).Visible = False
+ TdRetISR.Visible = False
+ End If
+
+
UpPS.Update()
End Sub
@@ -2562,7 +2611,7 @@ Partial Class Compras_Compras
DdlRetIVAConcepto.Items.Add(New ListItem("Arrendamiento", "4"))
End If
- If DIOTCveTipoOperacion.Contiene(0, 3) Then ' 85 - Otros
+ If DIOTCveTipoOperacion.Contiene(0, 3, 4) Then ' 85 - Otros
If UsuarioActual.CveEmpresa <> 119 Then
DdlRetIVAConcepto.Items.Insert(0, New ListItem("Honorarios/Serv. Prof.", "1"))
DdlRetIVAConcepto.Items.Add(New ListItem("Arrendamiento", "4"))
@@ -2585,7 +2634,7 @@ Partial Class Compras_Compras
DdlRetIVAConcepto.Items.Add(New ListItem("Arrendamiento", "4"))
End If
- If DIOTCveTipoOperacion.Contiene(3) Then ' 85 - Otros
+ If DIOTCveTipoOperacion.Contiene(3, 4) Then ' 85 - Otros
If UsuarioActual.CveEmpresa <> 119 Then
DdlRetIVAConcepto.Items.Insert(0, New ListItem("Honorarios/Serv. Prof.", "1"))
DdlRetIVAConcepto.Items.Add(New ListItem("Arrendamiento", "4"))
@@ -2619,7 +2668,7 @@ Partial Class Compras_Compras
DdlRetISRConcepto.Items.Insert(0, New ListItem("Arrendamiento", "2"))
End If
- If DIOTCveTipoOperacion.Contiene(3) Then ' 85 - Otros
+ If DIOTCveTipoOperacion.Contiene(3, 4) Then ' 85 - Otros
If UsuarioActual.CveEmpresa <> 119 Then
DdlRetISRConcepto.Items.Insert(0, New ListItem("Honorarios", "1"))
DdlRetISRConcepto.Items.Insert(1, New ListItem("Arrendamiento", "2"))
@@ -2954,6 +3003,11 @@ Partial Class Compras_Compras
TxtIVA.Text = dr("IVA").ToString.FormatoNumero(2)
TxtRetIVA.Text = dr("RetIVA").ToString.FormatoNumero(2)
TxtRetISR.Text = dr("RetISR").ToString.FormatoNumero(2)
+
+ RetIVAOriginal = dr("RetIVA").ToString.ToDecimal
+ RetISROriginal = dr("RetISR").ToString.ToDecimal
+
+
TxtIEPS.Text = dr("IEPS").ToString.FormatoNumero(2)
If dr("IEPS").ToString.ToDouble > 0 Then TrIEPS.Visible = True
If dr("RetIVA").ToString.ToDouble > 0 Then TrRetIVA.Visible = True
@@ -3777,6 +3831,9 @@ Partial Class Compras_Compras
End If
End If
+ ProvRetIVA = ObjProveedor.RetIVA.ToDecimal
+ ProvRetISR = ObjProveedor.RetISR.ToDecimal
+
If CveCompra <= 0 AndAlso CveFactura <= 0 Then 'si se está cargando una factura o compra no se carga
'LblRetIVA.Text = ObjProveedor.RetIVA.ToString.FormatoNumero(5)
'LblRetISR.Text = ObjProveedor.RetISR.ToString.FormatoNumero(5)
@@ -10739,12 +10796,12 @@ Partial Class Compras_Compras
If e.Row.RowIndex = 0 Then
If UsuarioActual.Empresa.UsaAC Then 'AndAlso (CveFactura > 0 Or CveCompra > 0)
- e.Row.Cells(13).Width = Unit.Pixel(150)
- e.Row.Cells(14).Width = Unit.Pixel(150)
e.Row.Cells(15).Width = Unit.Pixel(150)
e.Row.Cells(16).Width = Unit.Pixel(150)
e.Row.Cells(17).Width = Unit.Pixel(150)
- e.Row.Cells(18).Width = Unit.Pixel(100)
+ e.Row.Cells(18).Width = Unit.Pixel(150)
+ e.Row.Cells(19).Width = Unit.Pixel(150)
+ e.Row.Cells(20).Width = Unit.Pixel(100)
End If
End If
@@ -10847,11 +10904,11 @@ Partial Class Compras_Compras
'CargaPresupuestosEgresos
If UsuarioActual.Empresa.UsaAC Then
- e.Row.Cells(14).Visible = True
- e.Row.Cells(15).Visible = True
e.Row.Cells(16).Visible = True
e.Row.Cells(17).Visible = True
e.Row.Cells(18).Visible = True
+ e.Row.Cells(19).Visible = True
+ e.Row.Cells(20).Visible = True
e.Row.FCDropDownList("DdlAC1").Items.Clear()
e.Row.FCDropDownList("DdlAC1").DataSource = DtPresupuestos.FiltraParametros("", DistinctColumns:={"CveProgramaOperativo", "ProgramaOperativo"})
@@ -10882,19 +10939,19 @@ Partial Class Compras_Compras
'SI EL PRESUPUESTO DE EGRESOS VIENE DESDE LA OC, SE BLOQUEA PE
If e.Row.DBCampo("CveOrdenCompraDetalle").ToEntero > 0 AndAlso e.Row.DBCampo("CvePresupuestoEgreso").ToEntero > 0 Then
- e.Row.Cells(14).Enabled = False
- e.Row.Cells(15).Enabled = False
e.Row.Cells(16).Enabled = False
e.Row.Cells(17).Enabled = False
e.Row.Cells(18).Enabled = False
+ e.Row.Cells(19).Enabled = False
+ e.Row.Cells(20).Enabled = False
End If
Else
- e.Row.Cells(14).Visible = False
- e.Row.Cells(15).Visible = False
e.Row.Cells(16).Visible = False
e.Row.Cells(17).Visible = False
e.Row.Cells(18).Visible = False
+ e.Row.Cells(19).Visible = False
+ e.Row.Cells(20).Visible = False
End If
End If
@@ -13049,12 +13106,12 @@ Partial Class Compras_Compras
'Seccion Grid
GvPS.Width = 1760
- GvPS.Columns(13).Visible = True
- GvPS.Columns(14).Visible = True
GvPS.Columns(15).Visible = True
GvPS.Columns(16).Visible = True
GvPS.Columns(17).Visible = True
GvPS.Columns(18).Visible = True
+ GvPS.Columns(19).Visible = True
+ GvPS.Columns(20).Visible = True
'Panel General
UpPresupuestosAC.Visible = True
@@ -17600,7 +17657,7 @@ Partial Class Compras_Compras
CargaRetISRConcepto()
Dim NumNoDed As Integer = TmpDT.COUNT("CvePS", "NoDeducible = True ")
- If NumNoDed > 0 Then GvPS.Columns(11).Visible = True 'visualiza columnas de nodeducibles
+ If NumNoDed > 0 Then GvPS.Columns(13).Visible = True 'visualiza columnas de nodeducibles
'If DdlTipoComprobante.SelectedValue.Contiene("NC", "DEV") And CveFactura <= 0 Then
' InicializaAplicaNCFact()
@@ -18151,6 +18208,9 @@ Partial Class Compras_Compras
HdnPS.Value = PS("PSCodigo").ToString
LblUnidadMedida.Text = PS("UnidadMedida").ToString
+ Dim PsRetIVA As Decimal = PS("RetIVA").ToString.ToDecimal
+ Dim PsRetISR As Decimal = PS("RetISR").ToString.ToDecimal
+
ddlUM.Items.Clear()
If UsuarioActual.Empresa.UsaInventarios Then
ddlUM.DataSource = GlobalDTProductosServiciosEquivalencias(PS("CvePS").ToString.ToEntero, -1, UsuarioActual.CveEmpresa)
@@ -18230,6 +18290,19 @@ Partial Class Compras_Compras
TxtRetIVAModal.Text = FormatoNumero(ViewState("RetIVA").ToString().ToDouble * 100, 6)
TxtRetISRModal.Text = FormatoNumero(ViewState("RetISR").ToString().ToDouble * 100, 6)
+ 'OIC 2025-04-29
+ If CveCompra > 0 AndAlso Modalidad = "A" Then
+ If ProvRetIVA > 0 Or ProvRetISR > 0 Then
+ TxtRetIVAModal.Text = FormatoNumero(ProvRetIVA, 6)
+ TxtRetISRModal.Text = FormatoNumero(ProvRetISR, 6)
+ ElseIf PsRetIVA > 0 Or PsRetISR > 0 Then
+ TxtRetIVAModal.Text = FormatoNumero(PsRetIVA, 6)
+ TxtRetISRModal.Text = FormatoNumero(PsRetISR, 6)
+ End If
+ End If
+
+
+
If (CveFactura > 0 Or CveCompra > 0) And TxtIEPS.Text.ToDecimal = 0 And PS("IEPSPorcentaje").ToString.ToDecimal > 0 Then
TxtIEPSModal.Text = "0"
Alert("El producto seleccionado contiene IEPS, pero el acumulado de la factura no contiene IEPS, por lo que no se agregara el impuesto.", TipoMensaje.MsgAdvertencia)
@@ -18518,7 +18591,7 @@ Partial Class Compras_Compras
UpPS.Update()
CargaGvPersonal()
- MostrarOcultarColumnaIEPS()
+ MostrarOcultarColumnaIEPSRetIVARetISR()
End Sub
@@ -20300,7 +20373,7 @@ Partial Class Compras_Compras
Alert("Debe seleccionar al menos un impuesto", TipoMensaje.MsgAdvertencia)
End If
- MostrarOcultarColumnaIEPS()
+ MostrarOcultarColumnaIEPSRetIVARetISR()
AddPS2()
End Sub
#End Region
@@ -21156,12 +21229,12 @@ Partial Class Compras_Compras
If ChkEsNoDeducible.Checked Then
EsNoDeducible = True
dvNoDeducible.Visible = True
- GvPS.Columns(11).Visible = True
+ GvPS.Columns(13).Visible = True
DivEsNoDeducible.Visible = True
Else
EsNoDeducible = False
dvNoDeducible.Visible = False
- GvPS.Columns(11).Visible = False
+ GvPS.Columns(13).Visible = False
DivEsNoDeducible.Visible = False
End If
diff --git a/Compras/PopUpVerFactura.aspx.vb b/Compras/PopUpVerFactura.aspx.vb
index 3ebde3353..b81b0efbe 100644
--- a/Compras/PopUpVerFactura.aspx.vb
+++ b/Compras/PopUpVerFactura.aspx.vb
@@ -1749,7 +1749,7 @@ Partial Class PopUpVerFactura
End Using
End If
- CveCorte = -1
+ 'CveCorte = -1
End If
Dim ObjVenta As New ClsVentas
diff --git a/Compras/Proveedores.aspx b/Compras/Proveedores.aspx
index 4a7d61348..4c7dd8fa6 100644
--- a/Compras/Proveedores.aspx
+++ b/Compras/Proveedores.aspx
@@ -3326,89 +3326,89 @@