Browse Source

信件內容樣式調整

Dev
Janie 2 years ago
parent
commit
5a48a5260a
  1. 34
      EuroTran/EasyBL.WEBAPP/ShowEasy/BookingMail.cs

34
EuroTran/EasyBL.WEBAPP/ShowEasy/BookingMail.cs

@ -132,7 +132,7 @@ namespace EasyBL.WEBAPP.SYS
sb.Append("訂購時間: " + BookingOnlineModel.BookingDateFormat);
sb.Append("</h1>");
//cost
sb.Append("<h1 style =\"padding-bottom: 10px;font-family: 'arial','sans-serif';font-weight: 500;font-size: 14px;line-height: 18px;color: #f48800;margin: 0 0 0 0;\">");
sb.Append("<h1 style =\"padding-bottom: 25px;font-family: 'arial','sans-serif';font-weight: 500;font-size: 14px;line-height: 18px;color: #f48800;margin: 0 0 0 0;\">");
//sb.Append("$3,500 台幣");
sb.Append("$" + BookingOnlineModel.TotalPrice + " 台幣");
sb.Append("</h1>");
@ -176,7 +176,6 @@ namespace EasyBL.WEBAPP.SYS
}
//Booking Complete Mail Template (訂單完成,已付款)
public string BookingComplete(View_SAL_BookingOnline BookingOnlineModel)
{
@ -299,20 +298,6 @@ namespace EasyBL.WEBAPP.SYS
sb.Append("</p>");
sb.Append("</td>");
sb.Append("</tr>");
//如果按鈕無法點擊 (連結記得改成要打的API)
sb.Append("<tr>");
sb.Append("<td bgcolor = \"#FEFEFE\" width = \"340\" width = \"340px\" style = \"display: block;padding-bottom: 30px;padding-top: 30px;padding-left: 30px;padding-right: 30px;color: #9c9c9c;text-align: center;\">");
sb.Append("<p style = \"font-weight: 400;font-size: 12px;line-height: 14px;letter-spacing: 0.02em;font-family: 'arial', 'sans-serif';margin: 0 0 0px;\" class=\"has-markdown\">");
sb.Append("如果按鈕無法點擊,你可以直接點擊");
sb.Append("<a href =\"");
//sb.Append(Server + "/api/Signup/VerifyAccount?");
sb.Append(GetOrderUrl(BookingOnlineModel.BookingNo));
sb.Append("\" style = \"color: #7997ff;font-size: 12px;font-weight: 400;font-family: 'Arial', '微軟正黑體','Microsoft JhengHei', 'Helvetica Neue',Helvetica, Arial, sans-serif;padding: 0;margin: 0;text-align: center;padding-left: 0px;padding-right: 30px;padding-top: 4px;text-decoration: underline;\">");
sb.Append("<span align=\"center\" width=\"340\">這裡</span>");
sb.Append("</a>");
sb.Append("</p>");
sb.Append("</td>");
sb.Append("</tr>");
sb.Append("</table>");
sb.Append("</td>");
@ -492,6 +477,7 @@ namespace EasyBL.WEBAPP.SYS
return sb.ToString();
}
//Received Order Mail Template
public string ReceivedOrder(View_SAL_BookingOnline BookingOnlineModel)
{
@ -593,7 +579,7 @@ namespace EasyBL.WEBAPP.SYS
sb.Append("訂購時間: " + BookingOnlineModel.BookingDateFormat);
sb.Append("</h1>");
//cost
sb.Append("<h1 style =\"padding-bottom: 55px;font-family: 'arial','sans-serif';font-weight: 500;font-size: 14px;line-height: 18px;color: #f48800;margin: 0 0 0 0;\">");
sb.Append("<h1 style =\"padding-bottom: 15px;font-family: 'arial','sans-serif';font-weight: 500;font-size: 14px;line-height: 18px;color: #f48800;margin: 0 0 0 0;\">");
//sb.Append("$3,500 台幣");
sb.Append("$" + BookingOnlineModel.TotalPrice + " 台幣");
sb.Append("</h1>");
@ -766,27 +752,27 @@ namespace EasyBL.WEBAPP.SYS
sb.Append("<td>");
//Bank account info
sb.Append("<h1 style =\"padding-bottom: 10px;font-family: 'arial','sans-serif';font-weight: 500;font-size: 14px;line-height: 18px;color: #f48800;margin: 0 0 0 0;\">");
sb.Append("Bank account info:");
sb.Append("銀行匯款資訊:");
sb.Append("</h1>");
//Bank name
sb.Append("<h1 style =\"padding-bottom: 6px;font-family: 'arial','sans-serif';font-weight: 500;font-size: 14px;line-height: 18px;color: #232323;margin: 0 0 0 0;\">");
sb.Append("Bank name : E. SUN COMMERCIAL BANK, LTD., TAIPEI, TAIWAN");
sb.Append("銀行名稱 : E. SUN COMMERCIAL BANK, LTD., TAIPEI, TAIWAN");
sb.Append("</h1>");
//SWIFT Code
sb.Append("<h1 style =\"padding-bottom: 6px;font-family: 'arial','sans-serif';font-weight: 500;font-size: 14px;line-height: 18px;color: #232323;margin: 0 0 0 0;\">");
sb.Append("SWIFT Code : ESUNTWTP");
sb.Append("銀行識別碼 : ESUNTWTP");
sb.Append("</h1>");
//Bank Address
sb.Append("<h1 style =\"padding-bottom: 6px;font-family: 'arial','sans-serif';font-weight: 500;font-size: 14px;line-height: 18px;color: #232323;margin: 0 0 0 0;\">");
sb.Append("Bank Address : No. 66-1,Sanchong Rd.,Nangang Dist., Taipei City 115602 , Taiwan");
sb.Append("銀行地址 : No. 66-1,Sanchong Rd.,Nangang Dist., Taipei City 115602 , Taiwan");
sb.Append("</h1>");
//Account Number
sb.Append("<h1 style =\"padding-bottom: 6px;font-family: 'arial','sans-serif';font-weight: 500;font-size: 14px;line-height: 18px;color: #232323;margin: 0 0 0 0;\">");
sb.Append("Account Number : 1182-879-079298");
sb.Append("匯款帳號 : 1182-879-079298");
sb.Append("</h1>");
//Account Name
sb.Append("<h1 style =\"padding-bottom: 10px;font-family: 'arial','sans-serif';font-weight: 500;font-size: 14px;line-height: 18px;color: #232323;margin: 0 0 0 0;\">");
sb.Append("Account Name : SHOWEASY CO., LTD");
sb.Append("帳戶名稱 : SHOWEASY CO., LTD");
sb.Append("</h1>");
//匯款按鈕 (連結要改)
sb.Append("<table align = \"left\" border = \"0\" cellpadding = \"0\" cellspacing = \"0\" role = \"presentation\">");
@ -1006,7 +992,7 @@ namespace EasyBL.WEBAPP.SYS
sb.Append("訂購時間: " + BookingOnlineModel.BookingDateFormat);
sb.Append("</h1>");
//cost
sb.Append("<h1 style =\"padding-bottom: 10px;font-family: 'arial','sans-serif';font-weight: 500;font-size: 14px;line-height: 18px;color: #f48800;margin: 0 0 0 0;\">");
sb.Append("<h1 style =\"padding-bottom: 15px;font-family: 'arial','sans-serif';font-weight: 500;font-size: 14px;line-height: 18px;color: #f48800;margin: 0 0 0 0;\">");
//sb.Append("$3,500 台幣");
sb.Append("$" + BookingOnlineModel.TotalPrice + " 台幣");
sb.Append("</h1>");

Loading…
Cancel
Save