summaryrefslogtreecommitdiff
path: root/lib/mail/templates
diff options
context:
space:
mode:
authordujinkim <dujin.kim@dtsolution.co.kr>2025-10-30 10:44:47 +0000
committerdujinkim <dujin.kim@dtsolution.co.kr>2025-10-30 10:44:47 +0000
commit871a6d46a769cbe9e87146434f4bcb2d6792ab81 (patch)
treeacc25b3645e2253625e68f3721a203131ff4f3c4 /lib/mail/templates
parent17b9d2016be7c0ab6571de6aba36b3f4ea37bdb1 (diff)
(최겸) 구매 PQ/실사 재개발(테스트 필요), 정규업체등록 결재 개발, 실사 의뢰 결재 후처리 등
Diffstat (limited to 'lib/mail/templates')
-rw-r--r--lib/mail/templates/pq-approved-vendor.hbs7
-rw-r--r--lib/mail/templates/pq-investigation-supplement-request.hbs54
-rw-r--r--lib/mail/templates/pq-rejected-vendor.hbs7
-rw-r--r--lib/mail/templates/pq-submitted-vendor.hbs9
-rw-r--r--lib/mail/templates/pq-supplement-request.hbs56
5 files changed, 123 insertions, 10 deletions
diff --git a/lib/mail/templates/pq-approved-vendor.hbs b/lib/mail/templates/pq-approved-vendor.hbs
index 1ded76ef..e357958a 100644
--- a/lib/mail/templates/pq-approved-vendor.hbs
+++ b/lib/mail/templates/pq-approved-vendor.hbs
@@ -97,11 +97,12 @@
</div>
<!-- Action Button -->
- <div style="text-align: center; margin: 24px 0;">
- <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: 8px 0;">
+ <p style="margin: 24px 0; text-align: center;">
+ <a class="btn" href="{{portalUrl}}" target="_blank" rel="noopener"
+ style="display: inline-block; background: #163CC4; color: #fff !important; text-decoration: none; padding: 12px 20px; border-radius: 8px; font-weight: 600; width: 250px; text-align: center; line-height: 28px;">
협력업체 포털로 이동
</a>
- </div>
+ </p>
<!-- Support Message -->
<p style="font-size:16px; line-height:24px; margin-top:24px; color:#6b7280;">
diff --git a/lib/mail/templates/pq-investigation-supplement-request.hbs b/lib/mail/templates/pq-investigation-supplement-request.hbs
new file mode 100644
index 00000000..c869b2bd
--- /dev/null
+++ b/lib/mail/templates/pq-investigation-supplement-request.hbs
@@ -0,0 +1,54 @@
+<!doctype html>
+<html lang="ko">
+ <head>
+ <meta charset="utf-8" />
+ <meta http-equiv="x-ua-compatible" content="ie=edge" />
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
+ <title>실사 보완요청</title>
+ <style>
+ body { font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Noto Sans KR, Apple SD Gothic Neo, Helvetica, Arial, sans-serif; color: #111827; }
+ .container { max-width: 640px; margin: 0 auto; padding: 24px; background: #ffffff; }
+ .header { font-size: 20px; font-weight: 700; margin: 0 0 16px; }
+ .muted { color: #6b7280; font-size: 13px; }
+ .section { border: 1px solid #e5e7eb; border-radius: 8px; padding: 16px; margin: 16px 0; background: #fafafa; }
+ .label { font-size: 12px; color: #6b7280; margin-bottom: 4px; }
+ .value { margin-bottom: 12px; }
+ .button { display: inline-block; padding: 12px 24px; background-color: #2563eb; color: #ffffff; text-decoration: none; border-radius: 6px; font-weight: 500; }
+ .footer { border-top: 1px solid #e5e7eb; padding-top: 16px; margin-top: 32px; text-align: center; font-size: 12px; color: #6b7280; }
+ </style>
+ </head>
+ <body>
+ <div class="container">
+ <h1 class="header">실사 보완요청 안내</h1>
+ <p class="muted">eVCP 실사 시스템에서 실사 보완요청이 접수되었습니다.</p>
+
+ <div class="section">
+ <div class="label">협력업체</div>
+ <div class="value"><strong>{{vendorName}}</strong></div>
+
+ <div class="label">실사 번호</div>
+ <div class="value">{{investigationNumber}}</div>
+
+ <div class="label">보완 내용</div>
+ <div class="value">{{supplementComment}}</div>
+
+ <div class="label">요청일</div>
+ <div class="value">{{requestedAt}}</div>
+ </div>
+
+ <div style="text-align: center; margin: 32px 0;">
+ <a href="{{reviewUrl}}" class="button">실사 확인 및 보완하기</a>
+ </div>
+
+ <p style="color: #374151; line-height: 1.5;">
+ 위 보완 사항을 확인하시고, 시스템에서 필요한 자료를 제출해 주시기 바랍니다.<br/>
+ 추가 문의사항이 있으시면 담당자에게 연락 부탁드립니다.
+ </p>
+
+ <div class="footer">
+ <p>이 메일은 자동으로 발송된 것입니다.<br/>
+ © {{year}} eVCP. All rights reserved.</p>
+ </div>
+ </div>
+ </body>
+</html>
diff --git a/lib/mail/templates/pq-rejected-vendor.hbs b/lib/mail/templates/pq-rejected-vendor.hbs
index 3cb8aea6..f75e9037 100644
--- a/lib/mail/templates/pq-rejected-vendor.hbs
+++ b/lib/mail/templates/pq-rejected-vendor.hbs
@@ -114,11 +114,12 @@
</div>
<!-- Action Button -->
- <div style="text-align: center; margin: 24px 0;">
- <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: 8px 0;">
+ <p style="margin: 24px 0; text-align: center;">
+ <a class="btn" href="{{portalUrl}}" target="_blank" rel="noopener"
+ style="display: inline-block; background: #163CC4; color: #fff !important; text-decoration: none; padding: 12px 20px; border-radius: 8px; font-weight: 600; width: 250px; text-align: center; line-height: 28px;">
협력업체 포털로 이동
</a>
- </div>
+ </p>
<!-- Support Message -->
<p style="font-size:16px; line-height:24px; margin-top:24px; color:#6b7280;">
diff --git a/lib/mail/templates/pq-submitted-vendor.hbs b/lib/mail/templates/pq-submitted-vendor.hbs
index 0d35c33b..8e40334a 100644
--- a/lib/mail/templates/pq-submitted-vendor.hbs
+++ b/lib/mail/templates/pq-submitted-vendor.hbs
@@ -57,10 +57,11 @@
대시보드에 접속하여 제출 상태를 확인하고 업체 프로필을 관리하실 수 있습니다.
</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 style="margin: 24px 0; text-align: center;">
+ <a class="btn" href="{{portalUrl}}" target="_blank" rel="noopener"
+ style="display: inline-block; background: #163CC4; color: #fff !important; text-decoration: none; padding: 12px 20px; border-radius: 8px; font-weight: 600; width: 250px; text-align: center; line-height: 28px;">
+ 협력업체 포털로 이동
+ </a>
</p>
<table width="100%" cellpadding="0" cellspacing="0" style="margin-top:32px; border-top:1px solid #e5e7eb; padding-top:16px;">
diff --git a/lib/mail/templates/pq-supplement-request.hbs b/lib/mail/templates/pq-supplement-request.hbs
new file mode 100644
index 00000000..68ea64f6
--- /dev/null
+++ b/lib/mail/templates/pq-supplement-request.hbs
@@ -0,0 +1,56 @@
+<!doctype html>
+<html lang="ko">
+ <head>
+ <meta charset="utf-8" />
+ <meta http-equiv="x-ua-compatible" content="ie=edge" />
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
+ <title>PQ 보완요청</title>
+ <style>
+ body { font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Noto Sans KR, Apple SD Gothic Neo, Helvetica, Arial, sans-serif; color: #111827; }
+ .container { max-width: 640px; margin: 0 auto; padding: 24px; background: #ffffff; }
+ .header { font-size: 20px; font-weight: 700; margin: 0 0 16px; }
+ .muted { color: #6b7280; font-size: 13px; }
+ .section { border: 1px solid #e5e7eb; border-radius: 8px; padding: 16px; margin: 16px 0; background: #fafafa; }
+ .label { font-size: 12px; color: #6b7280; margin-bottom: 4px; }
+ .value { font-size: 14px; color: #111827; white-space: pre-wrap; }
+ .btn { display: inline-block; background: #0ea5e9; color: #fff; text-decoration: none; padding: 10px 14px; border-radius: 6px; font-weight: 600; }
+ .footer { margin-top: 24px; font-size: 12px; color: #6b7280; }
+ </style>
+ </head>
+ <body>
+ <div class="container">
+ <h1 class="header">[eVCP] PQ 보완요청 안내</h1>
+
+ <p>
+ 안녕하세요, <strong>{{vendorName}}</strong> 담당자님.<br/>
+ 아래 PQ에 대해 보완 요청 사항이 접수되었습니다.
+ </p>
+
+ <div class="section">
+ <div class="label">PQ 번호</div>
+ <div class="value">{{pqNumber}}</div>
+ </div>
+
+ <div class="section">
+ <div class="label">보완 요청 내용</div>
+ <div class="value">{{comment}}</div>
+ </div>
+
+ {{#if reviewUrl}}
+ <p style="margin: 20px 0;">
+ <a class="btn" href="{{reviewUrl}}" target="_blank" rel="noopener">PQ 확인 및 수정하기</a>
+ </p>
+ {{/if}}
+
+ <p class="muted">
+ 본 메일은 시스템에서 자동 발송되었습니다. 문의가 필요하신 경우 회신 또는 담당자에게 연락해 주세요.
+ </p>
+
+ <div class="footer">
+ © {{year}} Samsung Heavy Industries. All rights reserved.
+ </div>
+ </div>
+ </body>
+ </html>
+
+