--fix tipos venta
This commit is contained in:
@@ -14649,7 +14649,7 @@ Partial Class Ventas
|
||||
'VERIFICA SI BONIFICACION
|
||||
If ListaNCDescuento.Any(Function(RNC) (RNC.Num1 = 2)) Then
|
||||
CveTipoVentaGuardar = 7 ' BONIFICACION
|
||||
ElseIf ListaNCDescuento.Any(Function(RNC) (Not RNC.Num1 = 2)) Then
|
||||
ElseIf ListaNCDescuento.Any(Function(RNC) (RNC.Num1 = 1)) Then
|
||||
CveTipoVentaGuardar = 9 ' CANCELACION DE USADOS
|
||||
End If
|
||||
End If
|
||||
@@ -14658,7 +14658,7 @@ Partial Class Ventas
|
||||
'VERIFICA SI BONIFICACION
|
||||
If ListaRemisionesNC.Any(Function(RNC) (RNC.Num1 = 2)) Then
|
||||
CveTipoVentaGuardar = 7 ' BONIFICACION
|
||||
ElseIf ListaRemisionesNC.Any(Function(RNC) (Not RNC.Num1 = 2)) Then
|
||||
ElseIf ListaRemisionesNC.Any(Function(RNC) (RNC.Num1 = 1)) Then
|
||||
CveTipoVentaGuardar = 9 ' CANCELACION DE USADOS
|
||||
End If
|
||||
End If
|
||||
@@ -37929,6 +37929,7 @@ Partial Class Ventas
|
||||
ObjFacturaProntoPago.DtVentasNC = DtVentasNC
|
||||
|
||||
ObjFacturaProntoPago.Timbre = PreParaTimbre(ObjFacturaProntoPago)
|
||||
ObjFacturaProntoPago.CveTipoVenta = 8
|
||||
|
||||
Resp = ObjFacturaProntoPago.EmitirFactura(False, Transac:=SqlTransaccion)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user