--FIX iva en descuentos
This commit is contained in:
@@ -10252,7 +10252,7 @@ Partial Class Ventas
|
|||||||
'VALIDA PROMOCIONES Y EXISTENCIAS
|
'VALIDA PROMOCIONES Y EXISTENCIAS
|
||||||
Dim ObjVentas As New ClsVentas
|
Dim ObjVentas As New ClsVentas
|
||||||
If ObjVentas.GetPromocionesPS(-1, TxtFecha.Text.ToDateTime, DdlSubProyectoDatos.SelectedValue.ToEntero(), CveCliente, DdlVendedor.SelectedValue.ToEntero(), 1, UsuarioActual.CveEmpresa) Then
|
If ObjVentas.GetPromocionesPS(-1, TxtFecha.Text.ToDateTime, DdlSubProyectoDatos.SelectedValue.ToEntero(), CveCliente, DdlVendedor.SelectedValue.ToEntero(), 1, UsuarioActual.CveEmpresa) Then
|
||||||
DtPromociones = ObjVentas.DtResultados
|
DtPromociones = ObjVentas.DtResultados.Copy()
|
||||||
End If
|
End If
|
||||||
ObjVentas.Dispose()
|
ObjVentas.Dispose()
|
||||||
|
|
||||||
@@ -21212,7 +21212,7 @@ Partial Class Ventas
|
|||||||
End If
|
End If
|
||||||
PU = PU.RoundSQL(6)
|
PU = PU.RoundSQL(6)
|
||||||
DrPoliza("PU") = PU
|
DrPoliza("PU") = PU
|
||||||
TotalCalculableImpuestos = (DrPoliza("Cantidad").ToString().ToDecimal * (PU))
|
TotalCalculableImpuestos = (DrPoliza("Cantidad").ToString().ToDecimal * (PU) - DescAdicional)
|
||||||
|
|
||||||
If DrPSAdicional("IVA").ToString().Contiene("-1", "") Then
|
If DrPSAdicional("IVA").ToString().Contiene("-1", "") Then
|
||||||
DrPoliza("PorcentajeIVA") = PorcentajeIVA
|
DrPoliza("PorcentajeIVA") = PorcentajeIVA
|
||||||
|
|||||||
Reference in New Issue
Block a user