Correcion en envio de correos en ventas

This commit is contained in:
2022-12-24 14:03:59 -07:00
parent 00376131a9
commit 0cd353446a

View File

@@ -592,12 +592,12 @@ Partial Class Ventas
End Property
Private ReadOnly Property Mail As String
Get
Return ViewState("Mail").ToString()
Return IfNull(ViewState("Mail"), "").ToString()
End Get
End Property
Private ReadOnly Property MailCC As String
Get
Return ViewState("MailCC").ToString()
Return IfNull(ViewState("MailCC"), "").ToString()
End Get
End Property
Private ReadOnly Property CveVenta As Integer
@@ -21148,17 +21148,17 @@ Partial Class Ventas
Dim ObjMail As New ClsSisMail()
Dim ResultadoMail As Integer = 0
Dim CorreoDestino As String = ""
If Me.Mail.Trim.Length > 0 Then
CorreoDestino = Me.Mail
End If
If CorreoContactoCRM.Trim.Length > 0 Then
CorreoDestino = CorreoContactoCRM
ViewState("MailCC") = ""
End If
Try
Dim Asunto As String = String.Empty