This commit is contained in:
2022-10-05 13:13:28 -07:00
29 changed files with 5014 additions and 2370 deletions

View File

@@ -6097,7 +6097,17 @@ Partial Class Bancos_IE
Dim Cuerpo As String = "Se hace entrega del comprobante de pago"
Dim Asunto As String = "Entrega de comprobante de pago"
If IO.File.Exists(RutaPDF) AndAlso IO.File.Exists(RutaXML) Then
Dim ErrorAdjuntas As String = ""
If Not IO.File.Exists(RutaPDF) Then
ErrorAdjuntas = "No se pudo adjuntar el archivo PDF<br>"
End If
If Not IO.File.Exists(RutaXML) Then
ErrorAdjuntas = $"{ErrorAdjuntas} No se pudo adjuntar el XML."
End If
If ErrorAdjuntas.Length > 0 Then
Dim LSRutasMail As New List(Of ClsSisMail.ArchivoMail)
@@ -6116,7 +6126,7 @@ Partial Class Bancos_IE
End If
Else
Msg = "No se pudo adjuntar el correo electrónico."
Msg = ErrorAdjuntas
End If
End If