summaryrefslogtreecommitdiff
path: root/lib/mail/templates
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mail/templates')
-rw-r--r--lib/mail/templates/po-rfq-notification-en.hbs199
-rw-r--r--lib/mail/templates/po-rfq-notification-ko.hbs153
2 files changed, 178 insertions, 174 deletions
diff --git a/lib/mail/templates/po-rfq-notification-en.hbs b/lib/mail/templates/po-rfq-notification-en.hbs
index 13f13036..64194a63 100644
--- a/lib/mail/templates/po-rfq-notification-en.hbs
+++ b/lib/mail/templates/po-rfq-notification-en.hbs
@@ -1,114 +1,117 @@
{{> header logoUrl=logoUrl }}
-<h1 style="font-size:28px; line-height:40px; margin-bottom:16px;">
- {{t "porfien.heading" lng=language}} #{{rfq.code}}
-</h1>
+<div style="max-width: 800px; margin: 0 auto;">
+ <h1 style="font-size:28px; line-height:40px; margin-bottom:16px;">
+ {{t "porfien.heading" lng=language}} #{{rfq.code}}
+ </h1>
-<p style="font-size:16px; line-height:32px; margin-bottom:16px;">
- {{t "porfien.greeting" lng=language}}
-</p>
-
-<p style="font-size:16px; line-height:32px; margin-bottom:16px;">
- {{t "porfien.wishMessage" lng=language}}
-</p>
-
-<p style="font-size:16px; line-height:32px; margin-bottom:16px;">
- {{t "porfien.requestMessage" lng=language}}
-</p>
-
-<div style="margin-bottom:24px;">
- <h2 style="font-size:20px; margin-bottom:12px;">{{t "porfien.commercialTitle" lng=language}}</h2>
- <p style="font-size:16px; line-height:24px; margin-bottom:8px;">
- <strong>{{t "porfien.projectInfo" lng=language}}</strong>
- <br>* {{t "porfien.shipSchedule" lng=language}}: {{rfq.DLDate}}
- </p>
- <p style="font-size:16px; line-height:24px; margin-bottom:8px;">
- <strong>{{t "porfien.specScopeInfo" lng=language}}</strong>
- </p>
- <p style="font-size:16px; line-height:24px; margin-bottom:8px;">
- <strong>{{t "porfien.incotermsInfo" lng=language}}</strong>
- </p>
- <p style="font-size:16px; line-height:24px; margin-bottom:8px;">
- <strong>{{t "porfien.estimatedDeliveryDate" lng=language}}</strong>
- <br>{{t "porfien.deliveryScheduleNote" lng=language}}
- </p>
- <p style="font-size:16px; line-height:24px; margin-bottom:8px;">
- <strong>{{t "porfien.paymentConditionInfo" lng=language}}</strong>
+ <p style="font-size:16px; line-height:32px; margin-bottom:16px;">
+ {{t "porfien.greeting" lng=language}}
</p>
- <p style="font-size:16px; line-height:24px; margin-bottom:8px;">
- <strong>{{t "porfien.warrantyTitle" lng=language}}</strong>
- <br>{{t "porfien.warrantyInfo" lng=language}}
- <br>{{t "porfien.warrantyDetails1" lng=language}}
- <br>{{t "porfien.warrantyDetails2" lng=language}}
- </p>
- <p style="font-size:16px; line-height:24px; margin-bottom:8px;">
- <strong>{{t "porfien.generalTermsInfo" lng=language}}</strong>
- </p>
-</div>
-<div style="margin-bottom:24px;">
- <h2 style="font-size:20px; margin-bottom:12px;">{{t "porfien.quotationContentsTitle" lng=language}}</h2>
- <p style="font-size:16px; line-height:24px; margin-bottom:8px;">
- <strong>{{t "porfien.itemPriceTotal" lng=language}}</strong>
- </p>
- <p style="font-size:16px; line-height:24px; margin-bottom:8px;">
- <strong>{{t "porfien.deviationInfo" lng=language}}</strong>
- <br>{{t "porfien.deviationNote" lng=language}}
+ <p style="font-size:16px; line-height:32px; margin-bottom:16px;">
+ {{t "porfien.wishMessage" lng=language}}
</p>
- <p style="font-size:16px; line-height:24px; margin-bottom:8px;">
- <strong>{{t "porfien.technicalMeeting" lng=language}}</strong>
- </p>
- <p style="font-size:16px; line-height:24px; margin-bottom:8px;">
- <strong>{{t "porfien.suggestions" lng=language}}</strong>
+
+ <p style="font-size:16px; line-height:32px; margin-bottom:16px;">
+ {{t "porfien.requestMessage" lng=language}} (COB of {{rfq.DLDate}})
+ {{t "porfien.requestMessageNote" lng=language}}
</p>
-</div>
-<div style="margin-bottom:24px;">
- <h2 style="font-size:20px; margin-bottom:12px;">{{t "porfien.deadlineTitle" lng=language}} {{rfq.DLDate}}</h2>
-</div>
+ <div style="margin-bottom:24px;">
+ <h2 style="font-size:20px; margin-bottom:12px;">{{t "porfien.commercialTitle" lng=language}}</h2>
+ <p style="font-size:16px; line-height:24px; margin-bottom:8px;">
+ <strong>{{t "porfien.projectInfo" lng=language}} {{rfq.projectCode}} {{rfq.projectName}}{{#if rfq.projectOption}} + Option {{rfq.projectOption}}{{#if rfq.ProjectOptionValidity}} (Validity: {{rfq.ProjectOptionValidity}}){{/if}}{{/if}}</strong>
+ <br>{{#if rfq.DLDate}}{{t "porfien.shipSchedule" lng=language}}: {{rfq.DLDate}}{{/if}}
+ </p>
+ <p style="font-size:16px; line-height:24px; margin-bottom:8px;">
+ <strong>{{t "porfien.specScopeInfo" lng=language}}</strong>
+ </p>
+ <p style="font-size:16px; line-height:24px; margin-bottom:8px;">
+ <strong>{{t "porfien.incotermsInfo" lng=language}} {{details.incoterms}}</strong>
+ </p>
+ <p style="font-size:16px; line-height:24px; margin-bottom:8px;">
+ <strong>{{t "porfien.estimatedDeliveryDate" lng=language}} {{rfq.deliveryDate}}</strong>
+ <br>{{t "porfien.deliveryScheduleNote" lng=language}}
+ </p>
+ <p style="font-size:16px; line-height:24px; margin-bottom:8px;">
+ <strong>{{t "porfien.paymentConditionInfo" lng=language}} {{details.paymentTerms}}</strong>
+ </p>
+ <p style="font-size:16px; line-height:24px; margin-bottom:8px;">
+ <strong>{{t "porfien.warrantyTitle" lng=language}}</strong>
+ <br>{{#if rfq.warrantyPeriod}} The Goods supplied and the works performed under this contract shall be guaranteed for {{rfq.warrantyPeriod}} months after vessel's delivery.{{/if}}
+ <br>{{#if rfq.warrantyPeriod}} However, the guaranteed period for repair or replacement shall be extended to {{rfq.repairAdditionalPeriod}} months,{{/if}}
+ <br>{{#if rfq.warrantyPeriod}} but total guaranteed period shall not exceed {{rfq.totalPeriod}} months after vessel's delivery date.{{/if}}
+ </p>
+ <p style="font-size:16px; line-height:24px; margin-bottom:8px;">
+ <strong>{{t "porfien.generalTermsInfo" lng=language}}</strong>
+ </p>
+ </div>
-<div style="margin-bottom:24px;">
- <h2 style="font-size:20px; margin-bottom:12px;">{{t "porfien.buyersRightTitle" lng=language}}</h2>
- <p style="font-size:16px; line-height:24px; margin-bottom:8px;">
- <strong>{{t "porfien.buyersRight1" lng=language}}</strong>
- </p>
- <p style="font-size:16px; line-height:24px; margin-bottom:8px;">
- <strong>{{t "porfien.buyersRight2" lng=language}}</strong>
- </p>
- <p style="font-size:16px; line-height:24px; margin-bottom:8px;">
- <strong>{{t "porfien.buyersRight3" lng=language}}</strong>
- </p>
-</div>
+ <div style="margin-bottom:24px;">
+ <h2 style="font-size:20px; margin-bottom:12px;">{{t "porfien.quotationContentsTitle" lng=language}}</h2>
+ <p style="font-size:16px; line-height:24px; margin-bottom:8px;">
+ <strong>{{t "porfien.itemPriceTotal" lng=language}}</strong>
+ </p>
+ <p style="font-size:16px; line-height:24px; margin-bottom:8px;">
+ <strong>{{t "porfien.deviationInfo" lng=language}}</strong>
+ <br>{{t "porfien.deviationNote" lng=language}}
+ </p>
+ <p style="font-size:16px; line-height:24px; margin-bottom:8px;">
+ <strong>{{t "porfien.technicalMeeting" lng=language}}</strong>
+ </p>
+ <p style="font-size:16px; line-height:24px; margin-bottom:8px;">
+ <strong>{{t "porfien.suggestions" lng=language}}</strong>
+ </p>
+ </div>
+
+ <div style="margin-bottom:24px;">
+ <h2 style="font-size:20px; margin-bottom:12px;">{{t "porfien.deadlineTitle" lng=language}} {{rfq.dueDate}}</h2>
+ </div>
+
+ <div style="margin-bottom:24px;">
+ <h2 style="font-size:20px; margin-bottom:12px;">{{t "porfien.buyersRightTitle" lng=language}}</h2>
+ <p style="font-size:16px; line-height:24px; margin-bottom:8px;">
+ <strong>{{t "porfien.buyersRight1" lng=language}}</strong>
+ </p>
+ <p style="font-size:16px; line-height:24px; margin-bottom:8px;">
+ <strong>{{t "porfien.buyersRight2" lng=language}}</strong>
+ </p>
+ <p style="font-size:16px; line-height:24px; margin-bottom:8px;">
+ <strong>{{t "porfien.buyersRight3" lng=language}}</strong>
+ </p>
+ </div>
-<div style="margin-bottom:24px;">
- <h2 style="font-size:20px; margin-bottom:12px;">{{t "porfien.sellerObligationTitle" lng=language}}</h2>
- <p style="font-size:16px; line-height:24px; margin-bottom:8px;">
- <strong>{{t "porfien.sellerObligation1" lng=language}}</strong>
+ <div style="margin-bottom:24px;">
+ <h2 style="font-size:20px; margin-bottom:12px;">{{t "porfien.sellerObligationTitle" lng=language}}</h2>
+ <p style="font-size:16px; line-height:24px; margin-bottom:8px;">
+ <strong>{{t "porfien.sellerObligation1" lng=language}}</strong>
+ </p>
+ <p style="font-size:16px; line-height:24px; margin-bottom:8px;">
+ <strong>{{t "porfien.sellerObligation2" lng=language}}</strong>
+ </p>
+ <p style="font-size:16px; line-height:24px; margin-bottom:8px;">
+ <strong>{{t "porfien.sellerObligation3" lng=language}}</strong>
+ <br>{{t "porfien.sellerObligationNote" lng=language}}
+ </p>
+ </div>
+
+ <p style="font-size:16px; line-height:24px; margin-top:16px;">
+ {{t "porfien.questionNote" lng=language}}
</p>
- <p style="font-size:16px; line-height:24px; margin-bottom:8px;">
- <strong>{{t "porfien.sellerObligation2" lng=language}}</strong>
+
+ <p style="font-size:16px; line-height:24px; margin-top:16px;">
+ {{t "porfien.regards" lng=language}}
+ <br>{{sender.fullName}} / {{t "porfien.contactInfo" lng=language}} / {{sender.email}}
+ <br>{{t "porfien.companyName" lng=language}}
+ <br>{{t "porfien.companyAddress" lng=language}}
</p>
- <p style="font-size:16px; line-height:24px; margin-bottom:8px;">
- <strong>{{t "porfien.sellerObligation3" lng=language}}</strong>
- <br>{{t "porfien.sellerObligationNote" lng=language}}
+
+ <p>
+ <a href="{{systemUrl}}/vendor/quotations/{{quotationCode}}" 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;">
+ {{t "porfien.viewButton" lng=language}}
+ </a>
</p>
</div>
-<p style="font-size:16px; line-height:24px; margin-top:16px;">
- {{t "porfien.questionNote" lng=language}}
-</p>
-
-<p style="font-size:16px; line-height:24px; margin-top:16px;">
- {{t "porfien.regards" lng=language}}
- <br>{{t "porfien.contactInfo" lng=language}}
- <br>{{t "porfien.companyName" lng=language}}
- <br>{{t "porfien.companyAddress" lng=language}}
-</p>
-
-<p>
- <a href="{{systemUrl}}/vendor/quotations/{{quotationCode}}" 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;">
- {{t "porfien.viewButton" lng=language}}
- </a>
-</p>
-
{{> footer logoUrl=logoUrl companyName=companyName year=year }} \ No newline at end of file
diff --git a/lib/mail/templates/po-rfq-notification-ko.hbs b/lib/mail/templates/po-rfq-notification-ko.hbs
index b5eb6fb4..60cd09ef 100644
--- a/lib/mail/templates/po-rfq-notification-ko.hbs
+++ b/lib/mail/templates/po-rfq-notification-ko.hbs
@@ -1,87 +1,88 @@
{{> header logoUrl=logoUrl }}
-<h1 style="font-size:28px; line-height:40px; margin-bottom:16px;">
- {{t "porfi.heading" lng=language}} #{{rfq.code}}
-</h1>
-<p style="font-size:16px; line-height:32px; margin-bottom:16px;">
- {{t "porfi.recipient" lng=language}} : {{vendor.code}} {{vendor.name}} {{t "porfi.honorific" lng=language}}
-</p>
-
-<p style="font-size:16px; line-height:32px; margin-bottom:16px;">
- {{t "porfi.sender" lng=language}} : {{t "porfi.companyName" lng=language}} {{sender.fullName}} {{t "porfi.position" lng=language}} {{sender.email}}
-</p>
-
-<p style="font-size:16px; line-height:32px; margin-bottom:16px;">
- {{t "porfi.wishMessage" lng=language}}
-</p>
-
-<p style="font-size:16px; line-height:32px; margin-bottom:16px;">
- {{t "porfi.requestMessage" lng=language}}
-</p>
-
-<div style="margin-bottom:24px;">
- <h2 style="font-size:20px; margin-bottom:12px;">{{t "porfi.conditionsTitle" lng=language}}</h2>
- <p style="font-size:16px; line-height:24px; margin-bottom:8px;">
- <strong>{{t "porfi.projectInfo" lng=language}}</strong>
- <br>* {{t "porfi.shipSchedule" lng=language}} : {{#if rfq.DLDate}}{{rfq.DLDate}}{{else}}TBD{{/if}}
- </p>
- <p style="font-size:16px; line-height:24px; margin-bottom:8px;">
- <strong>{{t "porfi.specScopeInfo" lng=language}}</strong>
- </p>
- <p style="font-size:16px; line-height:24px; margin-bottom:8px;">
- <strong>{{t "porfi.classFlagInfo" lng=language}}</strong>
- </p>
- <p style="font-size:16px; line-height:24px; margin-bottom:8px;">
- <strong>{{t "porfi.estimatedDeliveryDate" lng=language}}</strong>
- <br>* {{t "porfi.deliveryScheduleNote" lng=language}}
- <br>* {{t "porfi.safetyHealthNote1" lng=language}}
- <br>{{t "porfi.safetyHealthNote2" lng=language}}
- <br>* {{t "porfi.workplaceNote" lng=language}}
- </p>
- <p style="font-size:16px; line-height:24px; margin-bottom:8px;">
- <strong>{{t "porfi.warrantyInfo" lng=language}}</strong>
- <br>{{t "porfi.warrantyDetails" lng=language}}
- </p>
- <p style="font-size:16px; line-height:24px; margin-bottom:8px;">
- <strong>{{t "porfi.deadlineInfo" lng=language}}</strong>
+<div style="max-width: 800px; margin: 0 auto;">
+ <h1 style="font-size:28px; line-height:40px; margin-bottom:16px;">
+ {{t "porfi.heading" lng=language}} #{{rfq.code}}
+ </h1>
+ <p style="font-size:16px; line-height:32px; margin-bottom:16px;">
+ {{t "porfi.recipient" lng=language}} : {{vendor.code}}, {{vendor.name}} {{t "porfi.honorific" lng=language}}
</p>
- <p style="font-size:16px; line-height:24px; margin-bottom:8px;">
- <strong>{{t "porfi.paymentConditionInfo" lng=language}}</strong>
- </p>
- <p style="font-size:16px; line-height:24px; margin-bottom:8px;">
- <strong>{{t "porfi.generalTermsInfo" lng=language}}</strong>
- </p>
- <p style="font-size:16px; line-height:24px; margin-bottom:8px;">
- <strong>{{t "porfi.notesTitle" lng=language}}</strong>
- <br>- {{t "porfi.notesContent1" lng=language}}
- <br> {{t "porfi.notesContent2" lng=language}}
- <br> {{t "porfi.notesContent3" lng=language}}
- <br>- {{t "porfi.notesContent4" lng=language}}
- <br> {{t "porfi.notesContent5" lng=language}}
- <br> {{t "porfi.notesContent6" lng=language}}
- <br> {{t "porfi.notesContent7" lng=language}}
- <br> {{t "porfi.notesContent8" lng=language}}
+
+ <p style="font-size:16px; line-height:32px; margin-bottom:16px;">
+ {{t "porfi.sender" lng=language}} : {{t "porfi.companyName" lng=language}} {{sender.fullName}} {{t "porfi.position" lng=language}} {{sender.email}}
</p>
-</div>
-<div style="margin-bottom:24px;">
- <h2 style="font-size:20px; margin-bottom:12px;">{{t "porfi.quotationContentsTitle" lng=language}}</h2>
- <p style="font-size:16px; line-height:24px; margin-bottom:8px;">
- <strong>{{t "porfi.itemPriceTotal" lng=language}}</strong>
+ <p style="font-size:16px; line-height:32px; margin-bottom:16px;">
+ {{t "porfi.wishMessage" lng=language}}
</p>
- <p style="font-size:16px; line-height:24px; margin-bottom:8px;">
- <strong>{{t "porfi.priceDocuments" lng=language}}</strong>
+
+ <p style="font-size:16px; line-height:32px; margin-bottom:16px;">
+ {{t "porfi.requestMessage" lng=language}}
</p>
- <p style="font-size:16px; line-height:24px; margin-bottom:8px;">
- <strong>{{t "porfi.deviationList" lng=language}}</strong>
- <br style="color:red">* {{t "porfi.deviationNote" lng=language}}
+
+ <div style="margin-bottom:24px;">
+ <h2 style="font-size:20px; margin-bottom:12px;">{{t "porfi.conditionsTitle" lng=language}}</h2>
+ <p style="font-size:16px; line-height:24px; margin-bottom:8px;">
+ <strong>{{t "porfi.projectInfo" lng=language}} {{rfq.projectCode}} {{rfq.projectName}}{{#if rfq.projectOption}} + 옵션 {{rfq.projectOption}}{{#if rfq.ProjectOptionValidity}} (Validity : {{rfq.ProjectOptionValidity}}){{/if}}{{/if}}</strong>
+ <br>{{#if rfq.DLDate}}{{t "porfi.shipSchedule" lng=language}} : {{rfq.DLDate}}{{/if}}
+ </p>
+ <p style="font-size:16px; line-height:24px; margin-bottom:8px;">
+ <strong>{{t "porfi.specScopeInfo" lng=language}}</strong>
+ </p>
+ <p style="font-size:16px; line-height:24px; margin-bottom:8px;">
+ <strong>{{t "porfi.classFlagInfo" lng=language}}</strong>
+ </p>
+ <p style="font-size:16px; line-height:24px; margin-bottom:8px;">
+ <strong>{{t "porfi.estimatedDeliveryDate" lng=language}} {{rfq.deliveryDate}}</strong>
+ <br>* {{t "porfi.deliveryScheduleNote" lng=language}}
+ <br>* {{t "porfi.safetyHealthNote1" lng=language}}
+ <br>{{t "porfi.safetyHealthNote2" lng=language}}
+ <br>* {{t "porfi.workplaceNote" lng=language}}
+ </p>
+ <p style="font-size:16px; line-height:24px; margin-bottom:8px;">
+ <strong>{{#if rfq.warrantyPeriod}}{{t "porfi.warrantyInfo" lng=language}} {{#if rfq.warrantyPeriod}}선박 인도 후 {{rfq.warrantyPeriod}}개월 시점까지 납품한 "자재" 또는 "용역"이 계약 내용과 동일함을 보증하며,{{else}}{{rfq.incoterms}}{{/if}}{{/if}}</strong>
+ <br>{{#if rfq.warrantyPeriod}}Repair 시 {{rfq.repairAdditionalPeriod}}개월 추가되나, 총 인도 후 {{rfq.totalPeriod}}개월을 넘지 않음.{{/if}}
+ </p>
+ <p style="font-size:16px; line-height:24px; margin-bottom:8px;">
+ <strong>{{t "porfi.deadlineInfo" lng=language}} {{rfq.dueDate}}</strong>
+ </p>
+ <p style="font-size:16px; line-height:24px; margin-bottom:8px;">
+ <strong>{{t "porfi.paymentConditionInfo" lng=language}} {{details.paymentTerms}}</strong>
+ </p>
+ <p style="font-size:16px; line-height:24px; margin-bottom:8px;">
+ <strong>{{t "porfi.generalTermsInfo" lng=language}}</strong>
+ </p>
+ <p style="font-size:16px; line-height:24px; margin-bottom:8px;">
+ <strong>{{t "porfi.notesTitle" lng=language}}</strong>
+ <br>- {{t "porfi.notesContent1" lng=language}}
+ <br> {{t "porfi.notesContent2" lng=language}}
+ <br> {{t "porfi.notesContent3" lng=language}}
+ <br>- {{t "porfi.notesContent4" lng=language}}
+ <br> {{t "porfi.notesContent5" lng=language}}
+ <br> {{t "porfi.notesContent6" lng=language}}
+ <br> {{t "porfi.notesContent7" lng=language}}
+ </p>
+ </div>
+
+ <div style="margin-bottom:24px;">
+ <h2 style="font-size:20px; margin-bottom:12px;">{{t "porfi.quotationContentsTitle" lng=language}}</h2>
+ <p style="font-size:16px; line-height:24px; margin-bottom:8px;">
+ <strong>{{t "porfi.itemPriceTotal" lng=language}}</strong>
+ </p>
+ <p style="font-size:16px; line-height:24px; margin-bottom:8px;">
+ <strong>{{t "porfi.priceDocuments" lng=language}}</strong>
+ </p>
+ <p style="font-size:16px; line-height:24px; margin-bottom:8px;">
+ <strong>{{t "porfi.deviationList" lng=language}}</strong>
+ <br style="color:red">* {{t "porfi.deviationNote" lng=language}}
+ </p>
+ </div>
+
+ <p>
+ <a href="{{systemUrl}}/vendor/quotations/{{quotationCode}}" 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;">
+ {{t "porfi.viewButton" lng=language}}
+ </a>
</p>
</div>
-<p>
- <a href="{{systemUrl}}/vendor/quotations/{{quotationCode}}" 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;">
- {{t "porfi.viewButton" lng=language}}
- </a>
-</p>
-
{{> footer logoUrl=logoUrl companyName=companyName year=year }} \ No newline at end of file