|
|
@ -409,7 +409,18 @@ namespace EasyBL.WEBAPP.WSM |
|
|
|
}; |
|
|
|
toEmail.Add(oEmailTo); |
|
|
|
oEmail.Title = "訂單處理中通知"; //取fonfig
|
|
|
|
if (string.IsNullOrEmpty(objBookingOnline.Account)) |
|
|
|
{ |
|
|
|
//未登錄,沒有查看訂單按鈕
|
|
|
|
oEmail.EmailBody = new BookingMail().BookingProcessing_NoLogin(objBookingOnline.MemberName); |
|
|
|
|
|
|
|
} |
|
|
|
else |
|
|
|
{ |
|
|
|
oEmail.EmailBody = new BookingMail().BookingProcessing(objBookingOnline.MemberName, objBookingOnline.BookingNo); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
oEmail.IsCCSelf = false; |
|
|
|
oEmail.Attachments = null; |
|
|
|
oEmail.EmailTo = toEmail; |
|
|
@ -596,14 +607,30 @@ namespace EasyBL.WEBAPP.WSM |
|
|
|
} else if (oNewEntity.PaymentStatus == "04") { |
|
|
|
//退款中
|
|
|
|
oEmail.Title = "取消訂單退款中通知"; |
|
|
|
if (string.IsNullOrEmpty(objBookingOnline.Account)) |
|
|
|
{ |
|
|
|
//未登錄,沒有查看訂單按鈕
|
|
|
|
oEmail.EmailBody = new BookingMail().Refunding_NoLogin(objBookingOnline); |
|
|
|
} |
|
|
|
else |
|
|
|
{ |
|
|
|
oEmail.EmailBody = new BookingMail().Refunding(objBookingOnline); |
|
|
|
} |
|
|
|
} |
|
|
|
else if (oNewEntity.PaymentStatus == "05") |
|
|
|
{ |
|
|
|
//已退款
|
|
|
|
oEmail.Title = "取消訂單已退款通知"; |
|
|
|
if (string.IsNullOrEmpty(objBookingOnline.Account)) |
|
|
|
{ |
|
|
|
//未登錄,沒有查看訂單按鈕
|
|
|
|
oEmail.EmailBody = new BookingMail().Refunded_NoLogin(objBookingOnline); |
|
|
|
} |
|
|
|
else |
|
|
|
{ |
|
|
|
oEmail.EmailBody = new BookingMail().Refunded(objBookingOnline); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
oEmail.IsCCSelf = false; |
|
|
|
oEmail.Attachments = null; |
|
|
@ -758,7 +785,16 @@ namespace EasyBL.WEBAPP.WSM |
|
|
|
}; |
|
|
|
toEmail.Add(oEmailTo); |
|
|
|
oEmail.Title = "取消訂單通知"; //取fonfig
|
|
|
|
if (string.IsNullOrEmpty(objBookingOnline.Account)) |
|
|
|
{ |
|
|
|
//未登錄,沒有查看訂單按鈕
|
|
|
|
oEmail.EmailBody = new BookingMail().SECancelOrderNotifyToUser_NoLogin(objBookingOnline); |
|
|
|
} |
|
|
|
else |
|
|
|
{ |
|
|
|
oEmail.EmailBody = new BookingMail().SECancelOrderNotifyToUser(objBookingOnline); |
|
|
|
} |
|
|
|
|
|
|
|
oEmail.IsCCSelf = false; |
|
|
|
oEmail.Attachments = null; |
|
|
|
oEmail.EmailTo = toEmail; |
|
|
@ -795,10 +831,6 @@ namespace EasyBL.WEBAPP.WSM |
|
|
|
oEmail1.Attachments = null; |
|
|
|
oEmail1.EmailTo = toEmail1; |
|
|
|
var bSend1 = new MailService(i_crm.ORIGID, true).MailFactory(oEmail1, out sError); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|