summaryrefslogtreecommitdiff
path: root/lib/mail/templates/vendor-pq-comment.hbs
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mail/templates/vendor-pq-comment.hbs')
-rw-r--r--lib/mail/templates/vendor-pq-comment.hbs128
1 files changed, 128 insertions, 0 deletions
diff --git a/lib/mail/templates/vendor-pq-comment.hbs b/lib/mail/templates/vendor-pq-comment.hbs
new file mode 100644
index 00000000..b60deedc
--- /dev/null
+++ b/lib/mail/templates/vendor-pq-comment.hbs
@@ -0,0 +1,128 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <title>PQ Review Comments</title>
+ <style>
+ body {
+ font-family: Arial, sans-serif;
+ line-height: 1.6;
+ color: #333;
+ margin: 0;
+ padding: 0;
+ }
+ .container {
+ max-width: 600px;
+ margin: 0 auto;
+ padding: 20px;
+ }
+ .header {
+ text-align: center;
+ padding: 20px 0;
+ border-bottom: 1px solid #eee;
+ }
+ .content {
+ padding: 20px 0;
+ }
+ .footer {
+ text-align: center;
+ padding: 20px 0;
+ font-size: 12px;
+ color: #999;
+ border-top: 1px solid #eee;
+ }
+ .btn {
+ display: inline-block;
+ padding: 10px 20px;
+ font-size: 16px;
+ color: #fff;
+ background-color: #0071bc;
+ text-decoration: none;
+ border-radius: 4px;
+ margin: 20px 0;
+ }
+ .comment-section {
+ margin: 20px 0;
+ padding: 15px;
+ background-color: #f9f9f9;
+ border-left: 4px solid #0071bc;
+ }
+ .comment-item {
+ margin-bottom: 15px;
+ padding-bottom: 15px;
+ border-bottom: 1px solid #eee;
+ }
+ .comment-item:last-child {
+ border-bottom: none;
+ }
+ .comment-code {
+ font-weight: bold;
+ color: #0071bc;
+ display: inline-block;
+ min-width: 60px;
+ }
+ .comment-title {
+ font-weight: bold;
+ color: #333;
+ }
+ .important {
+ color: #d14;
+ font-weight: bold;
+ }
+ </style>
+</head>
+<body>
+ <div class="container">
+ <div class="header">
+ <h1>PQ Review Comments</h1>
+ </div>
+
+ <div class="content">
+ <p>Dear {{name}} ({{vendorCode}}),</p>
+
+ <p>Thank you for submitting your PQ information. Our review team has completed the initial review and has requested some changes or additional information.</p>
+
+ <p><span class="important">Action Required:</span> Please log in to your account and update your PQ submission based on the comments below.</p>
+
+ {{#if hasGeneralComment}}
+ <div class="comment-section">
+ <h3>General Comments:</h3>
+ <p>{{generalComment}}</p>
+ </div>
+ {{/if}}
+
+ <div class="comment-section">
+ <h3>Specific Item Comments ({{commentCount}}):</h3>
+ {{#each comments}}
+ <div class="comment-item">
+ <div>
+ <span class="comment-code">{{code}}</span>
+ <span class="comment-title">{{checkPoint}}</span>
+ </div>
+ <p>{{text}}</p>
+ </div>
+ {{/each}}
+ </div>
+
+ <p>Please review these comments and make the necessary updates to your PQ submission. Once you have made the requested changes, you can resubmit your PQ for further review.</p>
+
+ <div style="text-align: center;">
+ <a href="{{loginUrl}}" class="btn">Log in to update your PQ</a>
+ </div>
+
+ <p>If you have any questions or need assistance, please contact our support team.</p>
+
+ <p>Thank you for your cooperation.</p>
+
+ <p>Best regards,<br>
+ PQ Review Team</p>
+ </div>
+
+ <div class="footer">
+ <p>This is an automated email. Please do not reply to this message.</p>
+ <p>&copy; {{currentYear}} Your Company Name. All rights reserved.</p>
+ </div>
+ </div>
+</body>
+</html> \ No newline at end of file