summaryrefslogtreecommitdiff
path: root/lib/mail/templates/audit-result-notice.hbs
blob: 68907a4e1d51eddf9d34a5c99d453acf7e306413 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
<!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>귀사와 당사 간의 거래를 위하여 실시한 귀사의 거래 기준 충족 여부 검토 결과를 아래와 같이 공유드립니다</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>