summaryrefslogtreecommitdiff
path: root/lib/mail/templates/audit-result-notice.hbs
diff options
context:
space:
mode:
authordujinkim <dujin.kim@dtsolution.co.kr>2025-08-04 09:39:21 +0000
committerdujinkim <dujin.kim@dtsolution.co.kr>2025-08-04 09:39:21 +0000
commit53ad72732f781e6c6d5ddb3776ea47aec010af8e (patch)
treee676287827f8634be767a674b8ad08b6ed7eb3e6 /lib/mail/templates/audit-result-notice.hbs
parent3e4d15271322397764601dee09441af8a5b3adf5 (diff)
(최겸) PQ/실사 수정 및 개발
Diffstat (limited to 'lib/mail/templates/audit-result-notice.hbs')
-rw-r--r--lib/mail/templates/audit-result-notice.hbs164
1 files changed, 164 insertions, 0 deletions
diff --git a/lib/mail/templates/audit-result-notice.hbs b/lib/mail/templates/audit-result-notice.hbs
new file mode 100644
index 00000000..1e5f7c65
--- /dev/null
+++ b/lib/mail/templates/audit-result-notice.hbs
@@ -0,0 +1,164 @@
+<!DOCTYPE html>
+<html lang="ko">
+<head>
+ <meta charset="UTF-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <title>{{subject}}</title>
+ <style>
+ body {
+ font-family: 'Malgun Gothic', Arial, sans-serif;
+ line-height: 1.6;
+ color: #333;
+ max-width: 800px;
+ margin: 0 auto;
+ padding: 20px;
+ }
+ .header {
+ background-color: #f8f9fa;
+ padding: 20px;
+ border-radius: 8px;
+ margin-bottom: 30px;
+ text-align: center;
+ }
+ .content {
+ background-color: #ffffff;
+ padding: 30px;
+ border-radius: 8px;
+ box-shadow: 0 2px 4px rgba(0,0,0,0.1);
+ }
+ .audit-info {
+ background-color: #f8f9fa;
+ padding: 20px;
+ border-radius: 8px;
+ margin-bottom: 30px;
+ }
+ .audit-info table {
+ width: 100%;
+ border-collapse: collapse;
+ }
+ .audit-info td {
+ padding: 8px 12px;
+ border-bottom: 1px solid #e9ecef;
+ }
+ .audit-info td:first-child {
+ font-weight: bold;
+ width: 120px;
+ background-color: #e9ecef;
+ }
+ .result-pass {
+ color: #28a745;
+ font-weight: bold;
+ }
+ .result-fail {
+ color: #dc3545;
+ font-weight: bold;
+ }
+ .footer {
+ margin-top: 30px;
+ padding-top: 20px;
+ border-top: 1px solid #e9ecef;
+ font-size: 14px;
+ color: #666;
+ }
+ .signature {
+ margin-top: 20px;
+ padding-top: 20px;
+ border-top: 1px solid #e9ecef;
+ }
+ .company-info {
+ margin-top: 10px;
+ font-size: 12px;
+ color: #888;
+ }
+ </style>
+</head>
+<body>
+ <div class="header">
+ <h2>{{subject}}</h2>
+ </div>
+
+ <div class="content">
+ <div class="audit-info">
+ <table>
+ <tr>
+ <td>PQ No.</td>
+ <td>{{pqNumber}}</td>
+ </tr>
+ <tr>
+ <td>Vendor</td>
+ <td>{{vendorCode}} | {{vendorName}}</td>
+ </tr>
+ <tr>
+ <td>수신자</td>
+ <td>{{recipientName}} / {{recipientEmail}}</td>
+ </tr>
+ <tr>
+ <td>실사품목</td>
+ <td>{{auditItem}}</td>
+ </tr>
+ <tr>
+ <td>실사공장주소</td>
+ <td>{{auditFactoryAddress}}</td>
+ </tr>
+ <tr>
+ <td>실사방법</td>
+ <td>{{auditMethod}}</td>
+ </tr>
+ <tr>
+ <td>실사결과</td>
+ <td class="{{#if (eq auditResult 'Pass(승인)')}}result-pass{{else if (eq auditResult 'Pass(조건부승인)')}}result-pass{{else}}result-fail{{/if}}">
+ {{auditResult}}
+ </td>
+ </tr>
+ {{#if additionalNotes}}
+ <tr>
+ <td>추가 Comment</td>
+ <td>{{additionalNotes}}</td>
+ </tr>
+ {{/if}}
+ </table>
+ </div>
+
+ <div class="email-body">
+ <p>수신 : {{vendorName}} {{recipientName}} 귀하</p>
+ <p>발신 : 삼성중공업 {{senderName}} 프로 ({{senderEmail}})</p>
+
+ <p>귀사 일익 번창하심을 기원합니다.</p>
+
+ <p>당사에선 귀사와의 정기적 거래를 위하여 PQ 검토 및 실사를 진행하였으며,<br>
+ 아래와 같이 최종 실사 결과가 확정되어 공유하여 드립니다.</p>
+
+ <h3>- 아 래 -</h3>
+
+ <ol>
+ <li><strong>실사업체</strong> : {{vendorName}}, {{vendorCode}}</li>
+ <li><strong>실사품목</strong> : {{auditItem}}</li>
+ <li><strong>실사공장주소</strong> : {{auditFactoryAddress}}</li>
+ <li><strong>실사결과</strong> : {{auditResult}}</li>
+ {{#if additionalNotes}}
+ <li><strong>추가 안내사항</strong> : {{additionalNotes}}</li>
+ {{/if}}
+ </ol>
+
+ {{#if (or (eq auditResult 'Pass(승인)') (eq auditResult 'Pass(조건부승인)'))}}
+ <p>이번 기회를 통하여 귀사와의 협업으로 다가올 미래 조선/해양산업 시장에서 함께 성장해 나갈 수 있기를 기대합니다.</p>
+ {{else}}
+ <p>아쉽게도 이번 실사를 통과하지 못한 점 매우 아쉽게 생각하며<br>
+ 향후에 더 좋은 기회로 귀사와 협업할 수 있기를 기대합니다.</p>
+ {{/if}}
+ </div>
+
+ <div class="signature">
+ <p>{{senderName}} / Procurement Manager / {{senderEmail}}</p>
+ <div class="company-info">
+ SAMSUNG HEAVY INDUSTRIES CO., LTD.<br>
+ 80, Jangpyeong 3-ro, Geoje-si, Gyeongsangnam-do, Republic of Korea, 53261
+ </div>
+ </div>
+ </div>
+
+ <div class="footer">
+ <p>※ 본 메일은 자동 발송된 메일입니다. 문의사항이 있으시면 발신자에게 연락해 주시기 바랍니다.</p>
+ </div>
+</body>
+</html> \ No newline at end of file