summaryrefslogtreecommitdiff
path: root/lib/mail/templates/rfq-due-date-change.hbs
blob: 9ff268bc006cb2e5d2775e1b7cfb9a0cc320e597 (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
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
<!DOCTYPE html>
<html lang="{{language}}">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>{{#if (eq language 'ko')}}RFQ 마감일 변경 안내{{else}}RFQ Due Date Change Notification{{/if}}</title>
  <style>
    body {
      font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
      line-height: 1.6;
      color: #333;
      max-width: 600px;
      margin: 0 auto;
      padding: 20px;
      background-color: #f5f5f5;
    }
    .container {
      background-color: white;
      border-radius: 8px;
      padding: 30px;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    .header {
      border-bottom: 2px solid #0066cc;
      padding-bottom: 20px;
      margin-bottom: 30px;
    }
    .header h1 {
      color: #0066cc;
      margin: 0;
      font-size: 24px;
    }
    .alert-box {
      background-color: #fff3cd;
      border: 1px solid #ffc107;
      border-radius: 4px;
      padding: 15px;
      margin: 20px 0;
    }
    .alert-box strong {
      color: #856404;
    }
    .info-table {
      width: 100%;
      border-collapse: collapse;
      margin: 20px 0;
    }
    .info-table th {
      text-align: left;
      padding: 10px;
      background-color: #f8f9fa;
      border: 1px solid #dee2e6;
      width: 30%;
      font-weight: 600;
    }
    .info-table td {
      padding: 10px;
      border: 1px solid #dee2e6;
    }
    .date-change {
      background-color: #e3f2fd;
      border-radius: 4px;
      padding: 15px;
      margin: 20px 0;
      text-align: center;
    }
    .old-date {
      color: #6c757d;
      text-decoration: line-through;
      font-size: 16px;
      margin-bottom: 10px;
    }
    .arrow {
      font-size: 24px;
      color: #0066cc;
      margin: 10px 0;
    }
    .new-date {
      color: #0066cc;
      font-size: 20px;
      font-weight: bold;
    }
    .button {
      display: inline-block;
      padding: 12px 24px;
      background-color: #0066cc;
      color: white;
      text-decoration: none;
      border-radius: 4px;
      font-weight: 600;
      margin: 20px 0;
    }
    .button:hover {
      background-color: #0052a3;
    }
    .footer {
      margin-top: 30px;
      padding-top: 20px;
      border-top: 1px solid #dee2e6;
      font-size: 14px;
      color: #6c757d;
    }
    .contact-info {
      background-color: #f8f9fa;
      padding: 15px;
      border-radius: 4px;
      margin-top: 20px;
    }
  </style>
</head>
<body>
  <div class="container">
    <div class="header">
      <h1>{{#if (eq language 'ko')}}RFQ 마감일 변경 안내{{else}}RFQ Due Date Change Notification{{/if}}</h1>
    </div>

    <p>
      {{#if (eq language 'ko')}}
        {{vendorName}} 귀하,<br><br>
        아래 RFQ의 마감일이 변경되었음을 알려드립니다.
      {{else}}
        Dear {{vendorName}},<br><br>
        We would like to inform you that the due date for the following RFQ has been changed.
      {{/if}}
    </p>

    <div class="alert-box">
      <strong>⚠️ {{#if (eq language 'ko')}}중요: 마감일이 변경되었습니다{{else}}Important: Due date has been changed{{/if}}</strong>
    </div>

    <table class="info-table">
      <tr>
        <th>{{#if (eq language 'ko')}}RFQ 번호{{else}}RFQ Number{{/if}}</th>
        <td><strong>{{rfqCode}}</strong></td>
      </tr>
      {{#if rfqTitle}}
      <tr>
        <th>{{#if (eq language 'ko')}}RFQ 제목{{else}}RFQ Title{{/if}}</th>
        <td>{{rfqTitle}}</td>
      </tr>
      {{/if}}
      {{#if rfqType}}
      <tr>
        <th>{{#if (eq language 'ko')}}RFQ 유형{{else}}RFQ Type{{/if}}</th>
        <td>{{rfqType}}</td>
      </tr>
      {{/if}}
      {{#if projectCode}}
      <tr>
        <th>{{#if (eq language 'ko')}}프로젝트 코드{{else}}Project Code{{/if}}</th>
        <td>{{projectCode}}</td>
      </tr>
      {{/if}}
      {{#if projectName}}
      <tr>
        <th>{{#if (eq language 'ko')}}프로젝트명{{else}}Project Name{{/if}}</th>
        <td>{{projectName}}</td>
      </tr>
      {{/if}}
      {{#if packageNo}}
      <tr>
        <th>{{#if (eq language 'ko')}}패키지 번호{{else}}Package No{{/if}}</th>
        <td>{{packageNo}}</td>
      </tr>
      {{/if}}
      {{#if packageName}}
      <tr>
        <th>{{#if (eq language 'ko')}}패키지명{{else}}Package Name{{/if}}</th>
        <td>{{packageName}}</td>
      </tr>
      {{/if}}
      {{#if itemCode}}
      <tr>
        <th>{{#if (eq language 'ko')}}품목 코드{{else}}Item Code{{/if}}</th>
        <td>{{itemCode}}</td>
      </tr>
      {{/if}}
      {{#if itemName}}
      <tr>
        <th>{{#if (eq language 'ko')}}품목명{{else}}Item Name{{/if}}</th>
        <td>{{itemName}}</td>
      </tr>
      {{/if}}
    </table>

    <div class="date-change">
      <h3>{{#if (eq language 'ko')}}마감일 변경{{else}}Due Date Change{{/if}}</h3>
      <div class="old-date">
        {{#if (eq language 'ko')}}기존 마감일: {{else}}Previous Due Date: {{/if}}{{oldDueDate}}
      </div>
      <div class="arrow">▼</div>
      <div class="new-date">
        {{#if (eq language 'ko')}}새 마감일: {{else}}New Due Date: {{/if}}{{newDueDate}}
      </div>
    </div>

    <p>
      {{#if (eq language 'ko')}}
        변경된 마감일까지 견적서를 제출해 주시기 바랍니다. 
        견적서 제출은 아래 포털 사이트를 통해 진행하실 수 있습니다.
      {{else}}
        Please submit your quotation by the new due date. 
        You can submit your quotation through the portal site below.
      {{/if}}
    </p>

    <div style="text-align: center;">
      <a href="{{portalUrl}}" class="button">
        {{#if (eq language 'ko')}}포털 사이트 바로가기{{else}}Go to Portal Site{{/if}}
      </a>
    </div>

    <div class="contact-info">
      <h4>{{#if (eq language 'ko')}}담당자 정보{{else}}Contact Information{{/if}}</h4>
      <p>
        {{#if (eq language 'ko')}}구매 담당자{{else}}Procurement PIC{{/if}}: {{picName}}<br>
        {{#if (eq language 'ko')}}이메일{{else}}Email{{/if}}: <a href="mailto:{{picEmail}}">{{picEmail}}</a>
        {{#if engPicName}}<br>{{#if (eq language 'ko')}}기술 담당자{{else}}Engineering PIC{{/if}}: {{engPicName}}{{/if}}
      </p>
    </div>

    <div class="footer">
      <p>
        {{#if (eq language 'ko')}}
          본 메일은 발신 전용입니다. 문의사항이 있으시면 위 담당자에게 연락 주시기 바랍니다.<br>
          감사합니다.
        {{else}}
          This is an automated email. If you have any questions, please contact the person in charge above.<br>
          Thank you.
        {{/if}}
      </p>
    </div>
  </div>
</body>
</html>