diff --git a/OC/OC.aspx b/OC/OC.aspx
index e7fe70a15..50959795d 100644
--- a/OC/OC.aspx
+++ b/OC/OC.aspx
@@ -590,7 +590,7 @@
Cliente:
diff --git a/OC/OC.aspx.vb b/OC/OC.aspx.vb
index 3bb5fab27..4bd97ce3b 100644
--- a/OC/OC.aspx.vb
+++ b/OC/OC.aspx.vb
@@ -5380,9 +5380,9 @@ Partial Class OC
End If
End Sub
- Protected Sub Ddlcliente_SelectedIndexChanged(sender As Object, e As EventArgs)
+ Protected Sub Ddlcliente_SelectedIndexChanged(sender As Object, e As EventArgs) Handles Ddlcliente.selectedindexchange
- DdlVendedor.SelectedValueExist(GlobalDTCliente(UsuarioActual.CveEmpresa).FiltroPrimeroValor("CveVendedor", $"CveCliente = {Ddlcliente.txtValue.Value}"))
+ DdlVendedor.SelectedValueExist(GlobalDTCliente(UsuarioActual.CveEmpresa).FiltroPrimeroValor("CveVendedor", $"CveCliente = {Ddlcliente.SelectedValue}"))
DdlDireccionEnvio.Visible = False
TxtLugarEntregaDirecta.Visible = False
diff --git a/Ventas/RepIngresosDetalle.aspx b/Ventas/RepIngresosDetalle.aspx
index 580fe6631..acc505d4d 100644
--- a/Ventas/RepIngresosDetalle.aspx
+++ b/Ventas/RepIngresosDetalle.aspx
@@ -188,11 +188,16 @@
-
+
+
+
+
+
+
diff --git a/Ventas/Ventas.aspx.vb b/Ventas/Ventas.aspx.vb
index 1590f33d5..9ecd8ab82 100644
--- a/Ventas/Ventas.aspx.vb
+++ b/Ventas/Ventas.aspx.vb
@@ -6683,7 +6683,7 @@ Partial Class Ventas
'If (UsuarioActual.CveEmpresa.Contiene(1, 4, 5, 7, 11, 12, 72, 80, 81, 83) And UsuarioActual.CveUsuario = 100) Or UsuarioActual.CveEmpresa.Contiene(80, 83) Or UsuarioActual.CveUsuario = 100 Then
If (Archivo.Exists Or Archivo2.Exists) And IfNull(CveVenta, 0).ToString.ToEntero > 0 Then
HplDownPDF.Visible = True
- HplDownPDF.NavigateUrl = String.Format("/Compras/PopUpVerFactura.aspx?P={0}", Encripta(String.Format("OP=VTA&CVEVENTA={0}&PAG=1", CveVenta)))
+ HplDownPDF.NavigateUrl = String.Format("/Compras/PopUpVerFactura.aspx?P={0}", Encripta(String.Format("OP=VTA&CVEVENTA={0}&PAG=1&GUARDAR=1", CveVenta)))
End If
UpnTools.Update()
@@ -9763,7 +9763,7 @@ Partial Class Ventas
Case 3 'Cliente
If ObjFactura.TipoDocto = "Ant" Then
- ConceptoContable = If(UsuarioActual.CveEmpresa.Contiene(1, 119), 95, ConceptoContable)
+ ConceptoContable = If(UsuarioActual.CveEmpresa.Contiene(119), 95, ConceptoContable)
importeMovimiento = ObjFactura.SubTotal * ValorMultiplicador
importeMX = importeMovimiento * tipoCambio * Multiplicador
FechaMovimiento = ObjFactura.FechaPago