summaryrefslogtreecommitdiff
path: root/lib/mail
diff options
context:
space:
mode:
authordujinkim <dujin.kim@dtsolution.co.kr>2025-10-27 10:03:06 +0000
committerdujinkim <dujin.kim@dtsolution.co.kr>2025-10-27 10:03:06 +0000
commita3525f8bdfcf849cc1716fab81cb8facadbe9a8e (patch)
tree0b5b534e92bcfe188d4906db7d16c37044262c2f /lib/mail
parente87b7b06d92dc7e7235ecda24c212169f30e82ec (diff)
(최겸) 구매 협력업체 관리(PQ/실사관리, 정기평가 협력업체 제출 상세 dialog 개발,
Diffstat (limited to 'lib/mail')
-rw-r--r--lib/mail/templates/audit-result-notice.hbs3
-rw-r--r--lib/mail/templates/data-room-invitation.hbs210
2 files changed, 211 insertions, 2 deletions
diff --git a/lib/mail/templates/audit-result-notice.hbs b/lib/mail/templates/audit-result-notice.hbs
index 1e5f7c65..68907a4e 100644
--- a/lib/mail/templates/audit-result-notice.hbs
+++ b/lib/mail/templates/audit-result-notice.hbs
@@ -125,8 +125,7 @@
<p>귀사 일익 번창하심을 기원합니다.</p>
- <p>당사에선 귀사와의 정기적 거래를 위하여 PQ 검토 및 실사를 진행하였으며,<br>
- 아래와 같이 최종 실사 결과가 확정되어 공유하여 드립니다.</p>
+ <p>귀사와 당사 간의 거래를 위하여 실시한 귀사의 거래 기준 충족 여부 검토 결과를 아래와 같이 공유드립니다</p>
<h3>- 아 래 -</h3>
diff --git a/lib/mail/templates/data-room-invitation.hbs b/lib/mail/templates/data-room-invitation.hbs
new file mode 100644
index 00000000..023173b1
--- /dev/null
+++ b/lib/mail/templates/data-room-invitation.hbs
@@ -0,0 +1,210 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="UTF-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <title>Data Room Access Invitation</title>
+ <style>
+ body {
+ font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
+ line-height: 1.6;
+ color: #333;
+ background-color: #f5f5f5;
+ margin: 0;
+ padding: 0;
+ }
+ .container {
+ max-width: 600px;
+ margin: 40px auto;
+ background-color: #ffffff;
+ border-radius: 8px;
+ overflow: hidden;
+ box-shadow: 0 2px 10px rgba(0,0,0,0.1);
+ }
+ .header {
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
+ color: white;
+ padding: 30px;
+ text-align: center;
+ }
+ .header h1 {
+ margin: 0;
+ font-size: 24px;
+ font-weight: 600;
+ }
+ .content {
+ padding: 40px 30px;
+ }
+ .greeting {
+ font-size: 18px;
+ margin-bottom: 20px;
+ color: #2c3e50;
+ }
+ .info-box {
+ background-color: #f8f9fa;
+ border-left: 4px solid #667eea;
+ padding: 20px;
+ margin: 25px 0;
+ border-radius: 4px;
+ }
+ .info-box h3 {
+ margin-top: 0;
+ color: #667eea;
+ font-size: 16px;
+ }
+ .info-item {
+ margin: 10px 0;
+ display: flex;
+ align-items: center;
+ }
+ .info-label {
+ font-weight: 600;
+ color: #555;
+ min-width: 100px;
+ }
+ .info-value {
+ color: #333;
+ }
+ .button-container {
+ text-align: center;
+ margin: 35px 0;
+ }
+ .button {
+ display: inline-block;
+ padding: 14px 35px;
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
+ color: white;
+ text-decoration: none;
+ border-radius: 6px;
+ font-weight: 600;
+ font-size: 16px;
+ box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
+ transition: transform 0.2s;
+ }
+ .button:hover {
+ transform: translateY(-2px);
+ }
+ .security-notice {
+ background-color: #fff3cd;
+ border: 1px solid #ffc107;
+ border-radius: 4px;
+ padding: 15px;
+ margin: 25px 0;
+ }
+ .security-notice h4 {
+ margin-top: 0;
+ color: #856404;
+ font-size: 14px;
+ }
+ .security-notice ul {
+ margin: 10px 0;
+ padding-left: 20px;
+ color: #856404;
+ font-size: 13px;
+ }
+ .footer {
+ background-color: #f8f9fa;
+ padding: 25px;
+ text-align: center;
+ color: #6c757d;
+ font-size: 13px;
+ border-top: 1px solid #e9ecef;
+ }
+ .footer a {
+ color: #667eea;
+ text-decoration: none;
+ }
+ .divider {
+ height: 1px;
+ background-color: #e9ecef;
+ margin: 25px 0;
+ }
+ </style>
+</head>
+<body>
+ <div class="container">
+ <!-- Header -->
+ <div class="header">
+ <h1>🔐 Data Room Access Granted</h1>
+ </div>
+
+ <!-- Content -->
+ <div class="content">
+ <div class="greeting">
+ Hello {{name}},
+ </div>
+
+ <p>
+ Great news! You've been invited to access a secure Data Room by <strong>{{inviterName}}</strong>.
+ </p>
+
+ <!-- Data Room Information -->
+ <div class="info-box">
+ <h3>📁 Data Room Details</h3>
+ <div class="info-item">
+ <span class="info-label">Room Name:</span>
+ <span class="info-value"><strong>{{dataRoomName}}</strong></span>
+ </div>
+ <div class="info-item">
+ <span class="info-label">Your Role:</span>
+ <span class="info-value">{{role}}</span>
+ </div>
+ <div class="info-item">
+ <span class="info-label">Invited by:</span>
+ <span class="info-value">{{inviterName}}</span>
+ </div>
+ </div>
+
+ <!-- Access Instructions -->
+ <p>
+ As a <strong>{{role}}</strong> member, you now have access to view and manage documents
+ in this secure data room according to your permission level.
+ </p>
+
+ <!-- CTA Button -->
+ <div class="button-container">
+ <a href="{{dataRoomUrl}}" class="button">Access Data Room</a>
+ </div>
+
+ <!-- Security Notice -->
+ <div class="security-notice">
+ <h4>🔒 Security Reminder</h4>
+ <ul>
+ <li>This data room contains confidential information</li>
+ <li>Please do not share your access credentials with others</li>
+ <li>All activities within the data room are logged for security purposes</li>
+ <li>If you're a new user, you may need to <a href="{{loginUrl}}">create an account</a> first</li>
+ </ul>
+ </div>
+
+ <div class="divider"></div>
+
+ <!-- Additional Information -->
+ <p style="color: #6c757d; font-size: 14px;">
+ <strong>Need help?</strong><br>
+ If you have any questions about accessing the data room or your permissions,
+ please contact the person who invited you or your system administrator.
+ </p>
+
+ <p style="color: #6c757d; font-size: 14px;">
+ <strong>First time user?</strong><br>
+ If this is your first time accessing our platform, you'll need to create an account
+ using this email address ({{email}}) to gain access to the data room.
+ </p>
+ </div>
+
+ <!-- Footer -->
+ <div class="footer">
+ <p>
+ This is an automated message from your Data Room Management System.<br>
+ Please do not reply to this email.
+ </p>
+ <p style="margin-top: 15px;">
+ © {{year}} DT Solution. All rights reserved.<br>
+ <a href="{{dataRoomUrl}}">Visit Data Rooms</a> |
+ <a href="{{loginUrl}}">Login to Platform</a>
+ </p>
+ </div>
+ </div>
+</body>
+</html>