summaryrefslogtreecommitdiff
path: root/lib/mail
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mail')
-rw-r--r--lib/mail/templates/initial-rfq-invitation.hbs165
-rw-r--r--lib/mail/templates/tech-sales-quotation-submitted-manager-ko.hbs18
-rw-r--r--lib/mail/templates/tech-sales-quotation-submitted-vendor-ko.hbs18
-rw-r--r--lib/mail/templates/tech-sales-rfq-invite-ko.hbs35
4 files changed, 200 insertions, 36 deletions
diff --git a/lib/mail/templates/initial-rfq-invitation.hbs b/lib/mail/templates/initial-rfq-invitation.hbs
new file mode 100644
index 00000000..c732e584
--- /dev/null
+++ b/lib/mail/templates/initial-rfq-invitation.hbs
@@ -0,0 +1,165 @@
+<!DOCTYPE html>
+<html lang="{{language}}">
+<head>
+ <meta charset="UTF-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <title>{{t "email.rfq_invitation.title"}}</title>
+ <style>
+ body {
+ font-family: Arial, sans-serif;
+ line-height: 1.6;
+ color: #333;
+ max-width: 800px;
+ margin: 0 auto;
+ padding: 20px;
+ }
+ .header {
+ text-align: center;
+ border-bottom: 2px solid #0066cc;
+ padding-bottom: 20px;
+ margin-bottom: 30px;
+ }
+ .logo {
+ font-size: 24px;
+ font-weight: bold;
+ color: #0066cc;
+ margin-bottom: 10px;
+ }
+ .content {
+ margin-bottom: 30px;
+ }
+ .terms-section {
+ background-color: #f8f9fa;
+ padding: 20px;
+ border-left: 4px solid #0066cc;
+ margin: 20px 0;
+ }
+ .terms-title {
+ font-weight: bold;
+ font-size: 16px;
+ margin-bottom: 15px;
+ color: #0066cc;
+ }
+ .terms-list {
+ list-style: none;
+ padding: 0;
+ }
+ .terms-list li {
+ margin-bottom: 8px;
+ padding-left: 0;
+ }
+ .terms-label {
+ font-weight: bold;
+ display: inline-block;
+ width: 180px;
+ }
+ .highlight {
+ background-color: #fff3cd;
+ padding: 2px 4px;
+ border-radius: 3px;
+ }
+ .important {
+ background-color: #d1ecf1;
+ padding: 15px;
+ border-radius: 5px;
+ margin: 20px 0;
+ border-left: 4px solid #0086b3;
+ }
+ .footer {
+ border-top: 2px solid #0066cc;
+ padding-top: 20px;
+ margin-top: 30px;
+ }
+ .contact-info {
+ background-color: #f8f9fa;
+ padding: 15px;
+ border-radius: 5px;
+ margin-top: 15px;
+ }
+ .date {
+ font-weight: bold;
+ color: #d63384;
+ }
+ </style>
+</head>
+<body>
+ <div class="header">
+ <div class="logo">SAMSUNG HEAVY INDUSTRIES CO., LTD.</div>
+ <div>{{t "email.rfq_invitation.subtitle"}}</div>
+ </div>
+
+ <div class="content">
+ <p><strong>{{t "email.greeting"}}</strong></p>
+
+ <p>{{t "email.rfq_invitation.opening_message"}}</p>
+
+ <p>{{t "email.rfq_invitation.invitation_message"}}
+ <span class="date">{{dueDate}}</span>
+ {{t "email.rfq_invitation.korean_time"}}</p>
+
+ <p><em>{{t "email.rfq_invitation.evcp_note"}}</em></p>
+ </div>
+
+ <div class="terms-section">
+ <div class="terms-title">A. {{t "email.rfq_invitation.commercial_terms"}}</div>
+ <div style="text-align: center; margin-bottom: 15px;">- {{t "email.rfq_invitation.details_below"}} -</div>
+
+ <ul class="terms-list">
+ <li>
+ <span class="terms-label">A-1 {{t "email.rfq_invitation.project_name"}} :</span>
+ {{projectName}} ({{rfqCode}})
+ </li>
+ <li>
+ <span class="terms-label">A-2 {{t "email.rfq_invitation.company_flag"}} :</span>
+ {{projectCompany}} / {{projectFlag}}
+ </li>
+ <li>
+ <span class="terms-label">A-3 {{t "email.rfq_invitation.site"}} :</span>
+ {{projectSite}}
+ </li>
+ <li>
+ <span class="terms-label">A-4 {{t "email.rfq_invitation.classification"}} :</span>
+ {{classification}}
+ </li>
+ <li>
+ <span class="terms-label">A-5 {{t "email.rfq_invitation.delivery_condition"}} :</span>
+ {{incotermsDescription}}
+ </li>
+ <li>
+ <span class="terms-label">A-6 {{t "email.rfq_invitation.warranty_period"}} :</span>
+ {{warrantyPeriod}}
+ </li>
+ <li>
+ <span class="terms-label">A-7 {{t "email.rfq_invitation.quotation_validity"}} :</span>
+ {{validDate}}
+ </li>
+ <li>
+ <span class="terms-label">A-8 {{t "email.rfq_invitation.spare_part"}} :</span>
+ {{sparepart}} {{t "email.rfq_invitation.spare_part_detail"}}
+ </li>
+ <li>
+ <span class="terms-label">A-9 {{t "email.rfq_invitation.bid_closing_date"}} :</span>
+ <span class="date">{{dueDate}}</span>
+ </li>
+ </ul>
+ </div>
+
+ <div class="terms-section">
+ <div class="terms-title">B. {{t "email.rfq_invitation.evcp_address"}} : www.evcp.com/partners/Irfq-answer</div>
+ </div>
+
+ <div class="important">
+ <p><strong>{{t "email.rfq_invitation.acknowledgement_request"}}</strong></p>
+ </div>
+
+ <div class="footer">
+ <p>{{t "email.closing"}}</p>
+
+ <div class="contact-info">
+ <p><strong>{{picName}} / {{t "email.rfq_invitation.procurement_manager"}} / {{picEmail}}</strong></p>
+ <p><strong>SAMSUNG HEAVY INDUSTRIES CO., LTD.</strong></p>
+ <p>80, Jangpyeong 3-ro, Geoje-si, Gyeongsangnam-do, Republic of Korea, 53261</p>
+ </div>
+ </div>
+</body>
+</html> \ No newline at end of file
diff --git a/lib/mail/templates/tech-sales-quotation-submitted-manager-ko.hbs b/lib/mail/templates/tech-sales-quotation-submitted-manager-ko.hbs
index 4cd078c1..6700a29b 100644
--- a/lib/mail/templates/tech-sales-quotation-submitted-manager-ko.hbs
+++ b/lib/mail/templates/tech-sales-quotation-submitted-manager-ko.hbs
@@ -37,25 +37,27 @@
{{#if project.className}}
<br>* 선급 : {{project.className}}
{{/if}}
- {{#if project.shipModelName}}
- <br>* 선형 : {{project.shipModelName}}
- {{/if}}
</p>
- {{#if series}}
+
+ {{#if items}}
<p style="font-size:16px; line-height:24px; margin-bottom:8px;">
- <strong>* 시리즈별 K/L 일정 (Keel Laying Quarter)</strong>
- {{#each series}}
- <br> - {{sersNo}}호선: {{klQuarter}}
+ <strong>3) 자재명</strong>
+ {{#each items}}
+ <br>* {{itemList}} ({{itemCode}})
{{/each}}
+ {{#if rfq.materialCode}}
+ <br>* 자재그룹 코드 : {{rfq.materialCode}}
+ {{/if}}
</p>
- {{/if}}
+ {{else}}
<p style="font-size:16px; line-height:24px; margin-bottom:8px;">
<strong>3) 자재명 : {{rfq.title}}</strong>
{{#if rfq.materialCode}}
<br>* 자재그룹 코드 : {{rfq.materialCode}}
{{/if}}
</p>
+ {{/if}}
<p style="font-size:16px; line-height:24px; margin-bottom:8px;">
<strong>4) 제출 벤더</strong>
<br>* 벤더명 : {{vendor.name}}
diff --git a/lib/mail/templates/tech-sales-quotation-submitted-vendor-ko.hbs b/lib/mail/templates/tech-sales-quotation-submitted-vendor-ko.hbs
index 0bc234c7..0bc39964 100644
--- a/lib/mail/templates/tech-sales-quotation-submitted-vendor-ko.hbs
+++ b/lib/mail/templates/tech-sales-quotation-submitted-vendor-ko.hbs
@@ -37,25 +37,27 @@
{{#if project.className}}
<br>* 선급 : {{project.className}}
{{/if}}
- {{#if project.shipModelName}}
- <br>* 선형 : {{project.shipModelName}}
- {{/if}}
</p>
- {{#if series}}
+
+ {{#if items}}
<p style="font-size:16px; line-height:24px; margin-bottom:8px;">
- <strong>* 시리즈별 K/L 일정 (Keel Laying Quarter)</strong>
- {{#each series}}
- <br> - {{sersNo}}호선: {{klQuarter}}
+ <strong>3) 자재명</strong>
+ {{#each items}}
+ <br>* {{itemList}} ({{itemCode}})
{{/each}}
+ {{#if rfq.materialCode}}
+ <br>* 자재그룹 코드 : {{rfq.materialCode}}
+ {{/if}}
</p>
- {{/if}}
+ {{else}}
<p style="font-size:16px; line-height:24px; margin-bottom:8px;">
<strong>3) 자재명 : {{rfq.title}}</strong>
{{#if rfq.materialCode}}
<br>* 자재그룹 코드 : {{rfq.materialCode}}
{{/if}}
</p>
+ {{/if}}
<p style="font-size:16px; line-height:24px; margin-bottom:8px;">
<strong>4) 견적 금액 : {{quotation.currency}} {{quotation.totalPrice}}</strong>
</p>
diff --git a/lib/mail/templates/tech-sales-rfq-invite-ko.hbs b/lib/mail/templates/tech-sales-rfq-invite-ko.hbs
index 0fe029e9..d3ee0d8f 100644
--- a/lib/mail/templates/tech-sales-rfq-invite-ko.hbs
+++ b/lib/mail/templates/tech-sales-rfq-invite-ko.hbs
@@ -32,34 +32,28 @@
<br>* 척수 : {{project.shipCount}}척
{{/if}}
{{#if project.ownerName}}
- <br>* 선주 : {{project.ownerName}} ({{project.ownerCode}})
+ <br>* 선주 : {{project.ownerName}}
{{/if}}
{{#if project.className}}
- <br>* 선급 : {{project.className}} ({{project.classCode}})
- {{/if}}
- {{#if project.shipModelName}}
- <br>* 선형 : {{project.shipModelName}} ({{project.shipModelCode}})
- {{/if}}
- {{#if project.shipModelSize}}
- <br>* 선형크기 : {{project.shipModelSize}} {{project.shipModelUnit}}
- {{/if}}
- {{#if project.projectManager}}
- <br>* 견적대표PM : {{project.projectManager}}
- {{/if}}
- {{#if project.estimateStatus}}
- <br>* 견적상태 : {{project.estimateStatus}}
+ <br>* 선급 : {{project.className}}
{{/if}}
</p>
- {{#if series}}
+
+
+ {{#if items}}
<p style="font-size:16px; line-height:24px; margin-bottom:8px;">
- <strong>* 시리즈별 K/L 일정 (Keel Laying Quarter)</strong>
- {{#each series}}
- <br> - {{sersNo}}호선: {{klQuarter}}
+ <strong>2) 자재명</strong>
+ {{#each items}}
+ <br>* {{itemList}} ({{itemCode}})
+ {{#if workType}}<br> - 작업유형: {{workType}}{{/if}}
+ {{#if shipType}}<br> - 선종: {{shipType}}{{/if}}
{{/each}}
+ {{#if rfq.materialCode}}
+ <br>* 자재그룹 코드 : {{rfq.materialCode}}
+ {{/if}}
</p>
- {{/if}}
-
+ {{else}}
<p style="font-size:16px; line-height:24px; margin-bottom:8px;">
<strong>2) 자재명 : {{rfq.title}}</strong>
{{#if rfq.materialCode}}
@@ -69,6 +63,7 @@
<br>* 선종 : {{project.shipType}}
{{/if}}
</p>
+ {{/if}}
<p style="font-size:16px; line-height:24px; margin-bottom:8px;">
<strong>3) Spec, & Scope of Supply : 첨부 사양서 참조</strong>
</p>