Ajuste balanza de comprobaciones, efacturas valida de copia de pdf

This commit is contained in:
rakcsle
2024-11-22 10:44:07 -07:00
parent a8739d5ef9
commit 9d2c6b40f8
2 changed files with 52 additions and 47 deletions

View File

@@ -1704,15 +1704,12 @@ Partial Class Compras_eFacturas
Hilo.Start()
Else
Dim PDfDestino As String = $"{UsuarioActual.Empresa.Ruta}\Compras\{FF.EmisorRFC}\{FF.CveFactura}.PDF"
If File.Exists(PDfDestino) Then
File.Delete(PDfDestino)
End If
Try
If File.Exists(RutaPDF) Then
If File.Exists(PDfDestino) Then
File.Delete(PDfDestino)
End If
File.Move(RutaPDF, PDfDestino)
Catch ex As Exception
End Try
End If
End If
End If