-- no timbrar para e189

This commit is contained in:
2024-12-06 05:18:33 -07:00
parent f90a9888c3
commit 2a9e924a0e

View File

@@ -11156,6 +11156,10 @@ Partial Class Ventas
DebeTimbrar = False DebeTimbrar = False
End If End If
End If End If
'RMF, codigo temporal
If UsuarioActual.CveEmpresa.Contiene(189) Then
DebeTimbrar = False
End If
'Si es AMORTIZACIÓN ANTICIPO SOBRE FACTURA EN CERO no debe timbrar 'Si es AMORTIZACIÓN ANTICIPO SOBRE FACTURA EN CERO no debe timbrar
If DdlTipoAmortizacionAnticipo.SelectedValue = "3" Then If DdlTipoAmortizacionAnticipo.SelectedValue = "3" Then
@@ -17985,9 +17989,15 @@ Partial Class Ventas
End If End If
Dim SeTimbro As Boolean = False Dim SeTimbro As Boolean = False
Dim DebeTimbrar As Boolean = True
If UsuarioActual.CveEmpresa.Contiene(189) Then
DebeTimbrar = False
End If
Try Try
If DebeTimbrar Then
SeTimbro = ObjTimbrado.TimbrarFactura(UsuarioActual, ObjFactura) SeTimbro = ObjTimbrado.TimbrarFactura(UsuarioActual, ObjFactura)
End If
Catch ex As Exception Catch ex As Exception
SeTimbro = False SeTimbro = False
End Try End Try