summaryrefslogtreecommitdiff
path: root/lib/mail/templates/vendor-pq-comment.hbs
blob: b60deedc46842afc30aaa2c45b7c83f2f5cc9005 (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
<!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>