diff --git a/EventPlatform.Infrastructure/Services/Payment/PaymentService.cs b/EventPlatform.Infrastructure/Services/Payment/PaymentService.cs index 0403256..8290d41 100644 --- a/EventPlatform.Infrastructure/Services/Payment/PaymentService.cs +++ b/EventPlatform.Infrastructure/Services/Payment/PaymentService.cs @@ -192,76 +192,90 @@ private async Task SendTicketEmailAsync(Transaction transaction) var priceStr = transaction.Amount.ToString("N0", new CultureInfo("vi-VN")); var dateStr = evt.StartTime.ToString("dd/MM/yyyy HH:mm"); - // Nội dung chung + // Nội dung chung (Thông tin đơn hàng) string commonInfo = $@" -
Xin chào {user.FullName},
-Cảm ơn bạn đã đặt vé. Dưới đây là thông tin vé của bạn:
-Xin chào {user.FullName},
+Cảm ơn bạn đã đặt vé. Dưới đây là thông tin giao dịch của bạn:
+Sự kiện sẽ diễn ra trực tuyến. Vui lòng truy cập vào đường dẫn dưới đây đúng giờ:
- -Mã vé của bạn: {registration.UniqueToken}
-Sự kiện sẽ diễn ra trực tuyến. Vui lòng truy cập vào đường dẫn dưới đây đúng giờ:
+Mã vé của bạn: {registration.UniqueToken}
+Địa điểm: {location}
-Vui lòng đưa mã QR này cho nhân viên soát vé:
-{registration.UniqueToken}
-Vui lòng xuất trình tại quầy soát vé
+Khách hàng
+{user.FullName}
+ +Địa điểm
+📍 {location}
+Cảm ơn bạn đã sử dụng EventPlatform!
"; + body += "Cảm ơn bạn đã sử dụng EventPlatform!
"; await _emailSender.SendEmailAsync(user.Email, subject, body); } diff --git a/EventPlatform.WebApi/Properties/PublishProfiles/site43643-WebDeploy1.pubxml.user b/EventPlatform.WebApi/Properties/PublishProfiles/site43643-WebDeploy1.pubxml.user index ded38ca..f28f2b5 100644 --- a/EventPlatform.WebApi/Properties/PublishProfiles/site43643-WebDeploy1.pubxml.user +++ b/EventPlatform.WebApi/Properties/PublishProfiles/site43643-WebDeploy1.pubxml.user @@ -7,7 +7,7 @@ by editing this MSBuild file. In order to learn more about this please visit htt