summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordujinkim <dujin.kim@dtsolution.co.kr>2025-04-29 00:28:05 +0000
committerdujinkim <dujin.kim@dtsolution.co.kr>2025-04-29 00:28:05 +0000
commit66c30eacc7b5654cbfc80a98c32d18fea267ef19 (patch)
tree38efc3850d61eb226091c3ecb33cf67efbd6f0af
parent1b723be7155d21ae48fc0b90c11c1a5ff4574833 (diff)
[0429_ck]이메일 템플릿 디자인 반영
-rw-r--r--lib/mail/templates/cbe-invitation.hbs55
-rw-r--r--lib/mail/templates/contract-sign-request.hbs167
-rw-r--r--lib/mail/templates/pq-submitted-admin.hbs111
-rw-r--r--lib/mail/templates/pq-submitted-vendor.hbs124
-rw-r--r--lib/mail/templates/pq.hbs135
-rw-r--r--lib/mail/templates/project-pq.hbs157
-rw-r--r--lib/mail/templates/vendor-invitation.hbs58
-rw-r--r--lib/mail/templates/vendor-pq-comment.hbs20
-rw-r--r--lib/mail/templates/vendor-pq-status.hbs14
-rw-r--r--lib/mail/templates/vendor-project-pq-status.hbs20
10 files changed, 286 insertions, 575 deletions
diff --git a/lib/mail/templates/cbe-invitation.hbs b/lib/mail/templates/cbe-invitation.hbs
index 1d5e8eba..db3260ea 100644
--- a/lib/mail/templates/cbe-invitation.hbs
+++ b/lib/mail/templates/cbe-invitation.hbs
@@ -52,57 +52,4 @@
추가 문의사항이 있으시면 구매담당자에게 연락해 주시기 바랍니다.</p>
<p style="font-size:16px;">감사합니다.<br />eVCP 팀</p>
-{{/layout}}
-{{!-- {{#> layout title="상업 입찰 평가 (CBE) 알림"}}
- <p>안녕하세요, <strong>{{contactName}}</strong>님</p>
-
- <p><strong>[RFQ {{rfqCode}}]</strong>에 대한 상업 입찰 평가(CBE)가 생성되어 알려드립니다.
- 아래 세부 정보를 확인하시고 필요한 조치를 취해주시기 바랍니다.</p>
-
- <div class="info-box">
- <h3>RFQ 정보</h3>
- <div class="info-item"><span class="label">RFQ 코드:</span> {{rfqCode}}</div>
- <div class="info-item"><span class="label">프로젝트 코드:</span> {{projectCode}}</div>
- <div class="info-item"><span class="label">프로젝트명:</span> {{projectName}}</div>
- {{#if dueDate}}
- <div class="info-item"><span class="label">마감일:</span> {{dueDate}}</div>
- {{/if}}
- </div>
-
- <div class="info-box">
- <h3>CBE 평가 세부사항</h3>
- <div class="info-item"><span class="label">협력업체:</span> {{vendorName}} ({{vendorCode}})</div>
- {{#if paymentTerms}}
- <div class="info-item"><span class="label">결제 조건:</span> {{paymentTerms}}</div>
- {{/if}}
- {{#if incoterms}}
- <div class="info-item"><span class="label">Incoterms:</span> {{incoterms}}</div>
- {{/if}}
- {{#if deliverySchedule}}
- <div class="info-item"><span class="label">배송 일정:</span> {{deliverySchedule}}</div>
- {{/if}}
- </div>
-
- {{#if description}}
- <div class="info-box">
- <h3>RFQ 설명</h3>
- <p>{{description}}</p>
- </div>
- {{/if}}
-
- {{#if notes}}
- <div class="info-box">
- <h3>비고</h3>
- <p>{{notes}}</p>
- </div>
- {{/if}}
-
- <div class="button-container">
- <a href="{{loginUrl}}/rfq/{{rfqId}}/cbe/{{cbeId}}" class="button">
- CBE 평가 확인하기
- </a>
- </div>
-
- <p>이 이메일에 첨부된 파일을 확인하시거나, 시스템에 로그인하여 자세한 정보를 확인해 주세요.
- 추가 문의사항이 있으시면 구매담당자에게 연락해 주시기 바랍니다.</p>
-{{/layout}} --}} \ No newline at end of file
+{{/layout}} \ No newline at end of file
diff --git a/lib/mail/templates/contract-sign-request.hbs b/lib/mail/templates/contract-sign-request.hbs
index 410fdf6a..b70e2755 100644
--- a/lib/mail/templates/contract-sign-request.hbs
+++ b/lib/mail/templates/contract-sign-request.hbs
@@ -1,116 +1,51 @@
-<!DOCTYPE html>
-<html lang="{{language}}">
-<head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>기본계약서 서명 요청</title>
- <style>
- body {
- font-family: 'Malgun Gothic', 'Segoe UI', sans-serif;
- line-height: 1.6;
- color: #333;
- background-color: #f9f9f9;
- margin: 0;
- padding: 0;
- }
- .container {
- max-width: 600px;
- margin: 0 auto;
- padding: 20px;
- background-color: #ffffff;
- border-radius: 8px;
- box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
- }
- .header {
- text-align: center;
- padding-bottom: 20px;
- border-bottom: 1px solid #eee;
- }
- .logo {
- max-height: 60px;
- margin-bottom: 10px;
- }
- .content {
- padding: 30px 20px;
- }
- .footer {
- margin-top: 30px;
- padding-top: 20px;
- border-top: 1px solid #eee;
- font-size: 12px;
- color: #666;
- text-align: center;
- }
- .button {
- display: inline-block;
- background-color: #4F46E5;
- color: white;
- text-decoration: none;
- padding: 12px 24px;
- border-radius: 4px;
- margin: 20px 0;
- font-weight: bold;
- }
- .button:hover {
- background-color: #4338CA;
- }
- .info-box {
- background-color: #f3f4f6;
- border-radius: 4px;
- padding: 15px;
- margin: 20px 0;
- }
- @media only screen and (max-width: 600px) {
- .container {
- width: 100%;
- border-radius: 0;
- }
- }
- </style>
-</head>
-<body>
- <div class="container">
- <div class="header">
- <img src="{{logoUrl}}" alt="회사 로고" class="logo">
- <h1>기본계약서 서명 요청</h1>
- </div>
-
- <div class="content">
- <p>안녕하세요, <strong>{{vendorName}}</strong>님.</p>
-
- <p>귀사에 기본계약서 서명을 요청드립니다.</p>
-
- <div class="info-box">
- <p><strong>계약서 정보:</strong></p>
- <p>계약서 종류: {{templateName}}</p>
- <p>계약 번호: {{contractId}}</p>
- </div>
-
- <p>아래 버튼을 클릭하여 계약서를 확인하고 서명해 주시기 바랍니다.</p>
-
- <div style="text-align: center;">
- <a href="{{loginUrl}}" class="button">계약서 서명하기</a>
- </div>
-
- <p>본 링크는 30일간 유효하며, 이후에는 새로운 서명 요청이 필요합니다.</p>
-
- <p>서명 과정에서 문의사항이 있으시면 담당자에게 연락해 주시기 바랍니다.</p>
-
- <p>감사합니다.</p>
-
- <div style="margin-top: 30px;">
- <p><strong>담당자 연락처:</strong><br>
- 이메일: contact@company.com<br>
- 전화: 02-123-4567</p>
- </div>
- </div>
-
- <div class="footer">
- <p>본 메일은 발신 전용으로, 회신하실 경우 확인이 어려울 수 있습니다.</p>
- <p>© {{currentYear}} 주식회사 회사명. 모든 권리 보유.</p>
- <p>이 이메일에 포함된 정보는 기밀 정보이며, 특정 수신자만을 위한 것입니다.
- 만약 귀하가 의도된 수신자가 아닌 경우, 본 이메일의 사용, 배포 또는 복사는 엄격히 금지됩니다.</p>
- </div>
- </div>
-</body>
-</html> \ No newline at end of file
+{{> header logoUrl=logoUrl }}
+
+<h1 style="font-size:28px; margin-bottom:16px;">
+ 기본계약서 서명 요청
+</h1>
+
+<p style="font-size:16px; line-height:32px; margin-bottom:16px;">
+ 안녕하세요, <strong>{{vendorName}}</strong>님.
+</p>
+
+<p style="font-size:16px; line-height:32px; margin-bottom:16px;">
+ 귀사에 기본계약서 서명을 요청드립니다.
+</p>
+
+<div style="background-color: #f3f4f6; border-radius: 4px; padding: 15px; margin: 20px 0;">
+ <p style="font-size:16px; margin:4px 0;"><strong>계약서 정보:</strong></p>
+ <p style="font-size:16px; margin:4px 0;">계약서 종류: {{templateName}}</p>
+ <p style="font-size:16px; margin:4px 0;">계약 번호: {{contractId}}</p>
+</div>
+
+<p style="font-size:16px; line-height:32px; margin-bottom:16px;">
+ 아래 버튼을 클릭하여 계약서를 확인하고 서명해 주시기 바랍니다.
+</p>
+
+<p>
+ <a href="{{loginUrl}}" target="_blank" style="display: inline-block; width: 250px; padding: 12px 20px; background-color: #163CC4; color: #ffffff !important; text-decoration: none; border-radius: 8px; text-align: center; line-height: 28px; margin-top: 16px;">
+ 계약서 서명하기
+ </a>
+</p>
+
+<p style="font-size:16px; line-height:24px; margin-top:16px;">
+ 본 링크는 30일간 유효하며, 이후에는 새로운 서명 요청이 필요합니다.
+</p>
+
+<p style="font-size:16px; line-height:24px; margin-top:16px;">
+ 서명 과정에서 문의사항이 있으시면 담당자에게 연락해 주시기 바랍니다.
+</p>
+
+<p style="font-size:16px; line-height:24px; margin-top:16px;">
+ 감사합니다.
+</p>
+
+<div style="margin-top: 30px;">
+ <p style="font-size:16px; line-height:24px;">
+ <strong>담당자 연락처:</strong><br>
+ 이메일: contact@company.com<br>
+ 전화: 02-123-4567
+ </p>
+</div>
+
+{{> footer logoUrl=logoUrl companyName=companyName year=currentYear }} \ No newline at end of file
diff --git a/lib/mail/templates/pq-submitted-admin.hbs b/lib/mail/templates/pq-submitted-admin.hbs
index 0db3d6e4..d94f4afb 100644
--- a/lib/mail/templates/pq-submitted-admin.hbs
+++ b/lib/mail/templates/pq-submitted-admin.hbs
@@ -1,84 +1,31 @@
-<!DOCTYPE html>
-<html>
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>PQ Submission Notification</title>
- <style>
- body {
- font-family: Arial, sans-serif;
- line-height: 1.6;
- color: #333;
- padding: 20px;
- max-width: 600px;
- margin: 0 auto;
- }
- .header {
- background-color: #0070f3;
- color: white;
- padding: 15px;
- text-align: center;
- margin-bottom: 20px;
- border-radius: 5px;
- }
- .content {
- background-color: #f9f9f9;
- padding: 20px;
- border-radius: 5px;
- margin-bottom: 20px;
- }
- .details {
- margin: 15px 0;
- }
- .details p {
- margin: 5px 0;
- }
- .button {
- display: inline-block;
- background-color: #0070f3;
- color: white;
- text-decoration: none;
- padding: 10px 20px;
- border-radius: 5px;
- margin: 20px 0;
- text-align: center;
- }
- .footer {
- text-align: center;
- font-size: 12px;
- color: #777;
- margin-top: 30px;
- }
- </style>
-</head>
-<body>
- <div class="header">
- <h1>PQ Submission Notification</h1>
- </div>
+{{> header logoUrl=logoUrl }}
- <div class="content">
- <h2>New PQ Submission Received</h2>
-
- <p>A new {{#if isProjectPQ}}project-specific{{else}}general{{/if}} PQ has been submitted and is ready for your review.</p>
-
- <div class="details">
- <p><strong>Vendor Name:</strong> {{vendorName}}</p>
- <p><strong>Vendor ID:</strong> {{vendorId}}</p>
- {{#if isProjectPQ}}
- <p><strong>Project Name:</strong> {{projectName}}</p>
- <p><strong>Project ID:</strong> {{projectId}}</p>
- {{/if}}
- <p><strong>Submission Date:</strong> {{submittedDate}}</p>
- </div>
-
- <p>Please review this submission at your earliest convenience.</p>
-
- <a href="{{adminUrl}}" class="button">Review PQ Submission</a>
- </div>
+<h1 style="font-size:28px; margin-bottom:16px;">
+ PQ 제출 알림
+</h1>
- <div class="footer">
- <p>This is an automated notification from the eVCP system. Please do not reply to this email.</p>
- <p>© {{currentYear}} eVCP - Vendor Compliance Portal</p>
- </div>
-</body>
-</html> \ No newline at end of file
+<p style="font-size:16px; line-height:32px; margin-bottom:16px;">
+ 새로운 {{#if isProjectPQ}}프로젝트{{else}}일반{{/if}} PQ가 제출되어 검토가 필요합니다.
+</p>
+
+<div style="background-color: #f3f4f6; border-radius: 4px; padding: 15px; margin: 20px 0;">
+ <p style="font-size:16px; margin:4px 0;"><strong>협력업체명:</strong> {{vendorName}}</p>
+ <p style="font-size:16px; margin:4px 0;"><strong>협력업체 ID:</strong> {{vendorId}}</p>
+ {{#if isProjectPQ}}
+ <p style="font-size:16px; margin:4px 0;"><strong>프로젝트명:</strong> {{projectName}}</p>
+ <p style="font-size:16px; margin:4px 0;"><strong>프로젝트 ID:</strong> {{projectId}}</p>
+ {{/if}}
+ <p style="font-size:16px; margin:4px 0;"><strong>제출일:</strong> {{submittedDate}}</p>
+</div>
+
+<p style="font-size:16px; line-height:32px; margin-bottom:16px;">
+ 빠른 시일 내에 이 제출 내용을 검토해 주세요.
+</p>
+
+<p>
+ <a href="{{adminUrl}}" target="_blank" style="display: inline-block; width: 250px; padding: 12px 20px; background-color: #163CC4; color: #ffffff !important; text-decoration: none; border-radius: 8px; text-align: center; line-height: 28px; margin-top: 16px;">
+ PQ 제출 검토하기
+ </a>
+</p>
+
+{{> footer logoUrl=logoUrl companyName=companyName year=currentYear }} \ No newline at end of file
diff --git a/lib/mail/templates/pq-submitted-vendor.hbs b/lib/mail/templates/pq-submitted-vendor.hbs
index 9cf8e133..a2f02316 100644
--- a/lib/mail/templates/pq-submitted-vendor.hbs
+++ b/lib/mail/templates/pq-submitted-vendor.hbs
@@ -1,93 +1,35 @@
-<!DOCTYPE html>
-<html>
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>PQ Submission Confirmation</title>
- <style>
- body {
- font-family: Arial, sans-serif;
- line-height: 1.6;
- color: #333;
- padding: 20px;
- max-width: 600px;
- margin: 0 auto;
- }
- .header {
- background-color: #0070f3;
- color: white;
- padding: 15px;
- text-align: center;
- margin-bottom: 20px;
- border-radius: 5px;
- }
- .content {
- background-color: #f9f9f9;
- padding: 20px;
- border-radius: 5px;
- margin-bottom: 20px;
- }
- .details {
- margin: 15px 0;
- }
- .details p {
- margin: 5px 0;
- }
- .button {
- display: inline-block;
- background-color: #0070f3;
- color: white;
- text-decoration: none;
- padding: 10px 20px;
- border-radius: 5px;
- margin: 20px 0;
- text-align: center;
- }
- .footer {
- text-align: center;
- font-size: 12px;
- color: #777;
- margin-top: 30px;
- }
- .success-message {
- padding: 15px;
- background-color: #dff0d8;
- border-left: 4px solid #5cb85c;
- margin-bottom: 20px;
- }
- </style>
-</head>
-<body>
- <div class="header">
- <h1>PQ Submission Confirmation</h1>
- </div>
+{{> header logoUrl=logoUrl }}
- <div class="content">
- <div class="success-message">
- <p>Thank you! Your {{#if isProjectPQ}}project-specific{{else}}general{{/if}} PQ has been successfully submitted.</p>
- </div>
-
- <h2>Submission Details</h2>
-
- <div class="details">
- <p><strong>Vendor Name:</strong> {{vendorName}}</p>
- {{#if isProjectPQ}}
- <p><strong>Project Name:</strong> {{projectName}}</p>
- {{/if}}
- <p><strong>Submission Date:</strong> {{submittedDate}}</p>
- </div>
-
- <p>Our team will review your submission and contact you if any additional information is needed.</p>
-
- <p>You can access your dashboard to track the status of your submissions and manage your vendor profile.</p>
-
- <a href="{{portalUrl}}" class="button">Go to Vendor Dashboard</a>
- </div>
+<h1 style="font-size:28px; margin-bottom:16px;">
+ PQ 제출 확인
+</h1>
- <div class="footer">
- <p>This is an automated confirmation from the eVCP system. Please do not reply to this email.</p>
- <p>If you have any questions, please contact your procurement representative.</p>
- <p>© {{currentYear}} eVCP - Vendor Compliance Portal</p>
- </div>
-</body>
-</html> \ No newline at end of file
+<div style="padding: 15px; background-color: #dff0d8; border-left: 4px solid #5cb85c; margin-bottom: 20px;">
+ <p style="font-size:16px; margin:4px 0;">감사합니다! 귀사의 {{#if isProjectPQ}}프로젝트{{else}}일반{{/if}} PQ가 성공적으로 제출되었습니다.</p>
+</div>
+
+<h2 style="font-size:22px; margin-bottom:16px;">제출 상세 정보</h2>
+
+<div style="background-color: #f3f4f6; border-radius: 4px; padding: 15px; margin: 20px 0;">
+ <p style="font-size:16px; margin:4px 0;"><strong>협력업체명:</strong> {{vendorName}}</p>
+ {{#if isProjectPQ}}
+ <p style="font-size:16px; margin:4px 0;"><strong>프로젝트명:</strong> {{projectName}}</p>
+ {{/if}}
+ <p style="font-size:16px; margin:4px 0;"><strong>제출일:</strong> {{submittedDate}}</p>
+</div>
+
+<p style="font-size:16px; line-height:32px; margin-bottom:16px;">
+ 저희 팀이 제출 내용을 검토하고 추가 정보가 필요한 경우 연락드리겠습니다.
+</p>
+
+<p style="font-size:16px; line-height:32px; margin-bottom:16px;">
+ 대시보드에 접속하여 제출 상태를 확인하고 업체 프로필을 관리하실 수 있습니다.
+</p>
+
+<p>
+ <a href="{{portalUrl}}" target="_blank" style="display: inline-block; width: 250px; padding: 12px 20px; background-color: #163CC4; color: #ffffff !important; text-decoration: none; border-radius: 8px; text-align: center; line-height: 28px; margin-top: 16px;">
+ 협력업체 포털로 이동
+ </a>
+</p>
+
+{{> footer logoUrl=logoUrl companyName=companyName year=currentYear }} \ No newline at end of file
diff --git a/lib/mail/templates/pq.hbs b/lib/mail/templates/pq.hbs
index 78fb6fcd..5cd43813 100644
--- a/lib/mail/templates/pq.hbs
+++ b/lib/mail/templates/pq.hbs
@@ -1,86 +1,49 @@
-<!DOCTYPE html>
-<html lang="{{language}}">
-<head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>PQ Invitation</title>
- <style>
- body {
- font-family: Arial, sans-serif;
- line-height: 1.6;
- color: #333;
- max-width: 600px;
- margin: 0 auto;
- padding: 20px;
- }
- .header {
- background-color: #0066cc;
- color: white;
- padding: 20px;
- text-align: center;
- border-radius: 5px 5px 0 0;
- }
- .content {
- background-color: #f9f9f9;
- padding: 20px;
- border-left: 1px solid #ddd;
- border-right: 1px solid #ddd;
- }
- .footer {
- background-color: #f1f1f1;
- padding: 15px;
- text-align: center;
- font-size: 14px;
- border-radius: 0 0 5px 5px;
- border: 1px solid #ddd;
- }
- .button {
- display: inline-block;
- background-color: #0066cc;
- color: white;
- padding: 12px 25px;
- text-decoration: none;
- border-radius: 5px;
- margin: 20px 0;
- font-weight: bold;
- }
- </style>
-</head>
-<body>
- <div class="header">
- <h1>eVCP Pre-Qualification Invitation</h1>
- </div>
-
- <div class="content">
- <p>Dear {{vendorName}},</p>
-
- <p>You have been invited to submit your Pre-Qualification (PQ) information for our vendor database. Completing this process will allow us to consider your company for future projects and procurement opportunities.</p>
-
- <p>To submit your PQ information:</p>
- <ol>
- <li>Click on the button below to access our vendor portal</li>
- <li>Log in to your account (or register if you haven't already)</li>
- <li>Navigate to the PQ section in your dashboard</li>
- <li>Complete all required information about your company, capabilities, and experience</li>
- </ol>
-
- <center>
- <a href="{{loginUrl}}" class="button">Access Vendor Portal</a>
- </center>
-
- <p>Maintaining up-to-date PQ information in our system is essential for your company to be considered for upcoming opportunities.</p>
-
- <p>If you have any questions or need assistance, please contact our vendor management team.</p>
-
- <p>We look forward to learning more about your company and potentially working together on future projects.</p>
-
- <p>Best regards,<br>
- The eVCP Team</p>
- </div>
-
- <div class="footer">
- <p>This is an automated email. Please do not reply to this message.</p>
- <p>&copy; eVCP Vendor Management System</p>
- </div>
-</body>
-</html> \ No newline at end of file
+{{> header logoUrl=logoUrl }}
+
+<h1 style="font-size:28px; margin-bottom:16px;">
+ eVCP PQ 초대
+</h1>
+
+<p style="font-size:16px; line-height:32px; margin-bottom:16px;">
+ {{vendorName}} 귀하,
+</p>
+
+<p style="font-size:16px; line-height:32px; margin-bottom:16px;">
+ 귀사를 저희 업체 데이터베이스에 사전적격심사(PQ) 정보를 제출하도록 초대합니다. 이 과정을 완료하면 향후 프로젝트 및 조달 기회에 귀사가 고려될 수 있습니다.
+</p>
+
+<p style="font-size:16px; line-height:32px; margin-bottom:16px;">
+ PQ 정보 제출 방법:
+</p>
+
+<ol style="font-size:16px; line-height:32px; margin-bottom:16px;">
+ <li>아래 버튼을 클릭하여 저희 업체 포털에 접속하세요</li>
+ <li>계정에 로그인하세요 (아직 계정이 없으면 등록하세요)</li>
+ <li>대시보드에서 PQ 섹션으로 이동하세요</li>
+ <li>귀사, 역량 및 경험에 관한 모든 필수 정보를 작성하세요</li>
+</ol>
+
+<p style="text-align: center;">
+ <a href="{{loginUrl}}" target="_blank" style="display: inline-block; width: 250px; padding: 12px 20px; background-color: #163CC4; color: #ffffff !important; text-decoration: none; border-radius: 8px; text-align: center; line-height: 28px; margin-top: 16px;">
+ 업체 포털 접속
+ </a>
+</p>
+
+<p style="font-size:16px; line-height:32px; margin-top:16px;">
+ 시스템에 최신 PQ 정보를 유지하는 것은 향후 기회에 귀사가 고려되기 위해 필수적입니다.
+</p>
+
+<p style="font-size:16px; line-height:32px; margin-top:16px;">
+ 문의사항이 있거나 도움이 필요하시면 저희 업체 관리팀에 문의해 주세요.
+</p>
+
+<p style="font-size:16px; line-height:32px; margin-top:16px;">
+ 귀사에 대해 더 알아보고 향후 프로젝트에서 함께 일할 수 있기를 기대합니다.
+</p>
+
+<p style="font-size:16px; line-height:32px; margin-top:16px;">
+ 감사합니다,<br>
+ eVCP 팀
+</p>
+
+{{> footer logoUrl=logoUrl companyName=companyName year=currentYear }} \ No newline at end of file
diff --git a/lib/mail/templates/project-pq.hbs b/lib/mail/templates/project-pq.hbs
index 2ecbd3a2..4a46bcf4 100644
--- a/lib/mail/templates/project-pq.hbs
+++ b/lib/mail/templates/project-pq.hbs
@@ -1,99 +1,58 @@
-<!DOCTYPE html>
-<html lang="{{language}}">
-<head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>Project PQ Invitation</title>
- <style>
- body {
- font-family: Arial, sans-serif;
- line-height: 1.6;
- color: #333;
- max-width: 600px;
- margin: 0 auto;
- padding: 20px;
- }
- .header {
- background-color: #0066cc;
- color: white;
- padding: 20px;
- text-align: center;
- border-radius: 5px 5px 0 0;
- }
- .content {
- background-color: #f9f9f9;
- padding: 20px;
- border-left: 1px solid #ddd;
- border-right: 1px solid #ddd;
- }
- .footer {
- background-color: #f1f1f1;
- padding: 15px;
- text-align: center;
- font-size: 14px;
- border-radius: 0 0 5px 5px;
- border: 1px solid #ddd;
- }
- .button {
- display: inline-block;
- background-color: #0066cc;
- color: white;
- padding: 12px 25px;
- text-decoration: none;
- border-radius: 5px;
- margin: 20px 0;
- font-weight: bold;
- }
- .project-info {
- background-color: #e6f2ff;
- padding: 15px;
- border-radius: 5px;
- margin: 15px 0;
- }
- </style>
-</head>
-<body>
- <div class="header">
- <h1>eVCP Project PQ Invitation</h1>
- </div>
-
- <div class="content">
- <p>Dear {{vendorName}},</p>
-
- <p>You have been selected to participate in the Pre-Qualification (PQ) process for the following project:</p>
-
- <div class="project-info">
- <p><strong>Project Code:</strong> {{projectCode}}</p>
- <p><strong>Project Name:</strong> {{projectName}}</p>
- </div>
-
- <p>This is an important step in our vendor selection process. Please complete the Project PQ questionnaire at your earliest convenience.</p>
-
- <p>To submit your Project PQ:</p>
- <ol>
- <li>Click on the button below to access our vendor portal</li>
- <li>Log in to your account (or register if you haven't already)</li>
- <li>Navigate to the PQ section where you'll find the Project PQ for {{projectCode}}</li>
- <li>Complete all required information</li>
- </ol>
-
- <center>
- <a href="{{loginUrl}}" class="button">Access Vendor Portal</a>
- </center>
-
- <p>Please note that completing this Project PQ is a prerequisite for being considered for this project.</p>
-
- <p>If you have any questions or need assistance, please contact our vendor management team.</p>
-
- <p>Thank you for your participation.</p>
-
- <p>Best regards,<br>
- The eVCP Team</p>
- </div>
-
- <div class="footer">
- <p>This is an automated email. Please do not reply to this message.</p>
- <p>&copy; eVCP Vendor Management System</p>
- </div>
-</body>
-</html> \ No newline at end of file
+{{> header logoUrl=logoUrl }}
+
+<h1 style="font-size:28px; margin-bottom:16px;">
+ eVCP 프로젝트 PQ 초대
+</h1>
+
+<p style="font-size:16px; line-height:32px; margin-bottom:16px;">
+ {{vendorName}} 귀하,
+</p>
+
+<p style="font-size:16px; line-height:32px; margin-bottom:16px;">
+ 귀사는 다음 프로젝트의 사전적격심사(PQ) 과정에 참여하도록 선정되었습니다:
+</p>
+
+<div style="background-color: #e6f2ff; border-radius: 4px; padding: 15px; margin: 20px 0;">
+ <p style="font-size:16px; margin:4px 0;"><strong>프로젝트 코드:</strong> {{projectCode}}</p>
+ <p style="font-size:16px; margin:4px 0;"><strong>프로젝트명:</strong> {{projectName}}</p>
+</div>
+
+<p style="font-size:16px; line-height:32px; margin-bottom:16px;">
+ 이는 저희 업체 선정 과정에서 중요한 단계입니다. 가능한 빠른 시일 내에 프로젝트 PQ 설문지를 작성해 주세요.
+</p>
+
+<p style="font-size:16px; line-height:32px; margin-bottom:16px;">
+ 프로젝트 PQ 제출 방법:
+</p>
+
+<ol style="font-size:16px; line-height:32px; margin-bottom:16px;">
+ <li>아래 버튼을 클릭하여 저희 업체 포털에 접속하세요</li>
+ <li>계정에 로그인하세요 (아직 계정이 없으면 등록하세요)</li>
+ <li>PQ 섹션으로 이동하여 {{projectCode}}에 대한 프로젝트 PQ를 찾으세요</li>
+ <li>모든 필수 정보를 작성하세요</li>
+</ol>
+
+<p style="text-align: center;">
+ <a href="{{loginUrl}}" target="_blank" style="display: inline-block; width: 250px; padding: 12px 20px; background-color: #163CC4; color: #ffffff !important; text-decoration: none; border-radius: 8px; text-align: center; line-height: 28px; margin-top: 16px;">
+ 업체 포털 접속
+ </a>
+</p>
+
+<p style="font-size:16px; line-height:32px; margin-top:16px;">
+ 이 프로젝트 PQ를 완료하는 것은 이 프로젝트 고려 대상이 되기 위한 선행 조건임을 참고해 주세요.
+</p>
+
+<p style="font-size:16px; line-height:32px; margin-top:16px;">
+ 문의사항이 있거나 도움이 필요하시면 저희 업체 관리팀에 문의해 주세요.
+</p>
+
+<p style="font-size:16px; line-height:32px; margin-top:16px;">
+ 참여해 주셔서 감사합니다.
+</p>
+
+<p style="font-size:16px; line-height:32px; margin-top:16px;">
+ 감사합니다,<br>
+ eVCP 팀
+</p>
+
+{{> footer logoUrl=logoUrl companyName=companyName year=currentYear }} \ No newline at end of file
diff --git a/lib/mail/templates/vendor-invitation.hbs b/lib/mail/templates/vendor-invitation.hbs
index 9b68c10c..955bcde4 100644
--- a/lib/mail/templates/vendor-invitation.hbs
+++ b/lib/mail/templates/vendor-invitation.hbs
@@ -1,20 +1,38 @@
-{{#> layout title=(t "email.vendor.invitation.title")}}
- <p>{{t "email.vendor.invitation.greeting"}} {{companyName}},</p>
-
- <p>{{t "email.vendor.invitation.message"}}</p>
-
- <div class="info-box">
- <p>{{t "email.vendor.invitation.details"}}</p>
- </div>
-
- <div class="button-container">
- <a href="{{registrationLink}}" class="button">{{t "email.vendor.invitation.register_now"}}</a>
- </div>
-
- <p>{{t "email.vendor.invitation.expire_notice"}}</p>
-
- <p>{{t "email.vendor.invitation.footer"}}</p>
-
- <p>{{t "email.vendor.invitation.signature"}}<br>
- EVCP {{t "email.vendor.invitation.team"}}</p>
-{{/layout}} \ No newline at end of file
+{{> header logoUrl=logoUrl }}
+
+<h1 style="font-size:28px; margin-bottom:16px;">
+ 협력업체 등록 초대
+</h1>
+
+<p style="font-size:16px; line-height:32px; margin-bottom:16px;">
+ {{companyName}} 귀하,
+</p>
+
+<p style="font-size:16px; line-height:32px; margin-bottom:16px;">
+ 귀사를 저희 eVCP 시스템에 협력업체로 등록하도록 초대합니다. 등록된 협력업체로서, 귀사는 제품 관리, 문의 수신 및 조달 프로세스 참여가 가능한 저희 플랫폼에 접근할 수 있습니다.
+</p>
+
+<div style="background-color: #f3f4f6; border-radius: 4px; padding: 15px; margin: 20px 0;">
+ <p style="font-size:16px; margin:4px 0;">등록을 완료하려면 아래 버튼을 클릭해 주세요. 이 버튼을 클릭하면 계정을 설정하고 필요한 정보를 제공할 수 있는 보안 등록 포털로 이동합니다.</p>
+</div>
+
+<p style="text-align: center;">
+ <a href="{{registrationLink}}" target="_blank" style="display: inline-block; width: 250px; padding: 12px 20px; background-color: #163CC4; color: #ffffff !important; text-decoration: none; border-radius: 8px; text-align: center; line-height: 28px; margin-top: 16px;">
+ 지금 등록하기
+ </a>
+</p>
+
+<p style="font-size:16px; line-height:32px; margin-top:16px;">
+ 이 초대 링크는 14일 후에 만료됩니다. 등록 과정에서 문제가 발생하면 support@evcp.com으로 지원팀에 문의해 주세요.
+</p>
+
+<p style="font-size:16px; line-height:32px; margin-top:16px;">
+ 귀사와 함께 일하고 귀사가 저희 협력업체 네트워크의 일원이 되기를 기대합니다.
+</p>
+
+<p style="font-size:16px; line-height:32px; margin-top:16px;">
+ 감사합니다,<br>
+ eVCP 팀
+</p>
+
+{{> footer logoUrl=logoUrl companyName=companyName year=currentYear }} \ No newline at end of file
diff --git a/lib/mail/templates/vendor-pq-comment.hbs b/lib/mail/templates/vendor-pq-comment.hbs
index 3606bcdb..a5c32375 100644
--- a/lib/mail/templates/vendor-pq-comment.hbs
+++ b/lib/mail/templates/vendor-pq-comment.hbs
@@ -1,22 +1,22 @@
{{> header logoUrl=logoUrl }}
-<h1 style="text-align:center; font-size:28px; margin-bottom:20px;">PQ Review Comments</h1>
+<h1 style="text-align:center; font-size:28px; margin-bottom:20px;">PQ 검토 의견</h1>
-<p style="font-size:16px;">Dear {{name}} ({{vendorCode}}),</p>
+<p style="font-size:16px;">안녕하세요 {{name}} ({{vendorCode}})님,</p>
-<p style="font-size:16px;">Thank you for submitting your PQ information. Our review team has completed the initial review and has requested some changes or additional information.</p>
+<p style="font-size:16px;">PQ 정보를 제출해 주셔서 감사합니다. 검토팀이 초기 검토를 완료하였으며 일부 수정이나 추가 정보를 요청드립니다.</p>
-<p style="font-size:16px;"><span style="color:#d14; font-weight:bold;">Action Required:</span> Please log in to your account and update your PQ submission based on the comments below.</p>
+<p style="font-size:16px;"><span style="color:#d14; font-weight:bold;">조치 필요:</span> 계정에 로그인하셔서 아래 의견을 바탕으로 PQ 제출 내용을 업데이트해 주세요.</p>
{{#if hasGeneralComment}}
<div style="margin:20px 0; padding:15px; background-color:#f9f9f9; border-left:4px solid #0071bc;">
- <h3>General Comments:</h3>
+ <h3>일반 의견:</h3>
<p>{{generalComment}}</p>
</div>
{{/if}}
<div style="margin:20px 0; padding:15px; background-color:#f9f9f9; border-left:4px solid #0071bc;">
- <h3>Specific Item Comments ({{commentCount}}):</h3>
+ <h3>세부 항목 의견 ({{commentCount}}개):</h3>
{{#each comments}}
<div style="margin-bottom:15px; border-bottom:1px solid #eee; padding-bottom:15px;">
<div>
@@ -28,14 +28,14 @@
{{/each}}
</div>
-<p style="font-size:16px;">Please review these comments and update your PQ submission.</p>
+<p style="font-size:16px;">위 의견을 검토하시고 PQ 제출 내용을 업데이트해 주세요.</p>
<div style="text-align:center; margin:20px 0;">
- <a href="{{loginUrl}}" class="btn" style="padding:10px 20px; font-size:16px; background-color:#0071bc; color:#fff; text-decoration:none; border-radius:4px;">Log in to update your PQ</a>
+ <a href="{{loginUrl}}" class="btn" style="padding:10px 20px; font-size:16px; background-color:#0071bc; color:#fff; text-decoration:none; border-radius:4px;">로그인하여 PQ 업데이트하기</a>
</div>
-<p style="font-size:16px;">If you have any questions, please contact our support team.</p>
+<p style="font-size:16px;">문의사항이 있으시면 지원팀에 문의해 주세요.</p>
-<p style="font-size:16px;">Thank you,<br />PQ Review Team</p>
+<p style="font-size:16px;">감사합니다,<br />eVCP 팀</p>
{{> footer logoUrl=logoUrl companyName=companyName year=currentYear }} \ No newline at end of file
diff --git a/lib/mail/templates/vendor-pq-status.hbs b/lib/mail/templates/vendor-pq-status.hbs
index 4a3fece5..bbd0c326 100644
--- a/lib/mail/templates/vendor-pq-status.hbs
+++ b/lib/mail/templates/vendor-pq-status.hbs
@@ -1,23 +1,23 @@
{{> header logoUrl=logoUrl }}
-<h1 style="text-align:center; font-size:28px; margin-bottom:20px;">Vendor PQ Status Update</h1>
+<h1 style="text-align:center; font-size:28px; margin-bottom:20px;">업체 PQ 상태 업데이트</h1>
-<p style="font-size:16px;">Hello {{name}},</p>
+<p style="font-size:16px;">안녕하세요 {{name}}님,</p>
<p style="font-size:16px;">
- Your vendor status has been updated to <strong>{{status}}</strong>.
+ 귀사의 업체 상태가 <strong>{{status}}</strong>로 업데이트되었습니다.
</p>
<p style="font-size:16px;">
- You can log in to see details and take further action:
+ 자세한 내용을 확인하고 추가 조치를 취하시려면 로그인해 주세요:
<br />
<a href="{{loginUrl}}" target="_blank" style="color:#163CC4; text-decoration:underline;">
- Go to Portal
+ 포털로 이동
</a>
</p>
-<p style="font-size:16px;">If you have any questions, feel free to contact us.</p>
+<p style="font-size:16px;">문의사항이 있으시면 언제든지 연락해 주세요.</p>
-<p style="font-size:16px;">Thank you,<br/>The PQ Team</p>
+<p style="font-size:16px;">감사합니다,<br/>eVCP 팀</p>
{{> footer logoUrl=logoUrl companyName=companyName year=year }} \ No newline at end of file
diff --git a/lib/mail/templates/vendor-project-pq-status.hbs b/lib/mail/templates/vendor-project-pq-status.hbs
index c051ce02..5b9efc3a 100644
--- a/lib/mail/templates/vendor-project-pq-status.hbs
+++ b/lib/mail/templates/vendor-project-pq-status.hbs
@@ -1,42 +1,42 @@
{{> header logoUrl=logoUrl }}
-<h1 style="text-align:center; font-size:28px; margin-bottom:20px;">Vendor Project PQ Status Update</h1>
+<h1 style="text-align:center; font-size:28px; margin-bottom:20px;"> 프로젝트 PQ 상태 업데이트</h1>
-<p style="font-size:16px;">Hello {{name}},</p>
+<p style="font-size:16px;">안녕하세요 {{name}}님,</p>
<p style="font-size:16px;">
- Your vendor status for <strong>{{projectName}}</strong> has been updated to <strong>{{status}}</strong>.
+ <strong>{{projectName}}</strong>에 대한 귀사의 상태가 <strong>{{status}}</strong>로 업데이트되었습니다.
</p>
{{#if hasRejectionReason}}
<p style="font-size:16px; padding:15px; background-color:#f8f8f8; border-left:4px solid #e74c3c;">
- <strong>Reason for rejection:</strong><br/>
+ <strong>거절 사유:</strong><br/>
{{rejectionReason}}
</p>
{{/if}}
{{#if approvalDate}}
<p style="font-size:16px;">
- <strong>Approval Date:</strong> {{approvalDate}}
+ <strong>승인 날짜:</strong> {{approvalDate}}
</p>
{{/if}}
{{#if rejectionDate}}
<p style="font-size:16px;">
- <strong>Rejection Date:</strong> {{rejectionDate}}
+ <strong>거절 날짜:</strong> {{rejectionDate}}
</p>
{{/if}}
<p style="font-size:16px;">
- You can log in to see details and take further action:
+ 자세한 내용을 확인하고 추가 조치를 취하시려면 로그인해 주세요:
<br />
<a href="{{loginUrl}}" target="_blank" style="color:#163CC4; text-decoration:underline;">
- Go to Portal
+ 포털로 이동
</a>
</p>
-<p style="font-size:16px;">If you have any questions, feel free to contact us.</p>
+<p style="font-size:16px;">문의사항이 있으시면 언제든지 연락해 주세요.</p>
-<p style="font-size:16px;">Thank you,<br/>The PQ Team</p>
+<p style="font-size:16px;">감사합니다,<br/>eVCP 팀</p>
{{> footer logoUrl=logoUrl companyName=companyName year=year }} \ No newline at end of file