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
|
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Contract Signature Reminder</title>
</head>
<body style="margin: 0; padding: 0; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; background-color: #f5f5f5;">
<table width="100%" cellpadding="0" cellspacing="0" style="background-color: #f5f5f5; padding: 40px 0;">
<tr>
<td align="center">
<table width="600" cellpadding="0" cellspacing="0" style="background-color: #ffffff; border-radius: 8px; box-shadow: 0 2px 4px rgba(0,0,0,0.1);">
<!-- Header -->
<tr>
<td style="background-color: #2563eb; padding: 30px; border-radius: 8px 8px 0 0;">
<h1 style="color: #ffffff; margin: 0; font-size: 24px; text-align: center;">
SHI Contract Signature Reminder
</h1>
</td>
</tr>
<!-- Body -->
<tr>
<td style="padding: 40px 30px;">
<p style="color: #333333; font-size: 16px; line-height: 1.6; margin-bottom: 20px;">
Dear {{recipientName}},
</p>
<p style="color: #333333; font-size: 16px; line-height: 1.6; margin-bottom: 20px;">
We would like to remind you that the contract sent to <strong>{{vendorName}}</strong> (Vendor Code: {{vendorCode}}) is still pending your signature.
</p>
<!-- Contract Info Box -->
<table width="100%" cellpadding="0" cellspacing="0" style="background-color: #f8f9fa; border-radius: 6px; padding: 20px; margin: 20px 0;">
<tr>
<td>
<h3 style="color: #2563eb; margin: 0 0 15px 0; font-size: 18px;">Contract Details</h3>
<p style="color: #666666; margin: 8px 0; font-size: 14px;">
<strong>Contract Name:</strong> {{contractFileName}}
</p>
<p style="color: #666666; margin: 8px 0; font-size: 14px;">
<strong>Deadline:</strong> {{deadline}}
</p>
{{#if daysRemaining}}
<p style="margin: 15px 0 0 0;">
{{#if (eq daysRemaining 0)}}
<span style="color: #dc2626; font-weight: bold; font-size: 16px;">
⚠️ Today is the deadline!
</span>
{{else if (lt daysRemaining 0)}}
<span style="color: #dc2626; font-weight: bold; font-size: 16px;">
⚠️ The deadline has passed by {{Math.abs daysRemaining}} day(s)!
</span>
{{else if (lte daysRemaining 3)}}
<span style="color: #f59e0b; font-weight: bold; font-size: 16px;">
⏰ {{daysRemaining}} day(s) remaining until deadline
</span>
{{else}}
<span style="color: #059669; font-weight: bold; font-size: 16px;">
{{daysRemaining}} day(s) remaining until deadline
</span>
{{/if}}
</p>
{{/if}}
</td>
</tr>
</table>
<p style="color: #333333; font-size: 16px; line-height: 1.6; margin: 20px 0;">
Please click the button below to review and sign the contract.
</p>
<!-- CTA Button -->
<table width="100%" cellpadding="0" cellspacing="0" style="margin: 30px 0;">
<tr>
<td align="center">
<a href="{{contractLink}}" style="display: inline-block; padding: 14px 32px; background-color: #2563eb; color: #ffffff; text-decoration: none; border-radius: 6px; font-size: 16px; font-weight: bold;">
Review and Sign Contract
</a>
</td>
</tr>
</table>
<p style="color: #666666; font-size: 14px; line-height: 1.6; margin-top: 30px;">
If the button doesn't work, please copy and paste the following link into your browser:<br>
<a href="{{contractLink}}" style="color: #2563eb; word-break: break-all;">{{contractLink}}</a>
</p>
<hr style="border: none; border-top: 1px solid #e5e7eb; margin: 30px 0;">
<p style="color: #666666; font-size: 14px; line-height: 1.6;">
If you have any questions or concerns, please don't hesitate to contact us.
</p>
<p style="color: #666666; font-size: 14px; line-height: 1.6; margin-top: 20px;">
Best regards,<br><br>
{{senderName}}<br>
{{senderEmail}}<br>
SHI Procurement Team
</p>
</td>
</tr>
<!-- Footer -->
<tr>
<td style="background-color: #f8f9fa; padding: 20px 30px; border-radius: 0 0 8px 8px; text-align: center;">
<p style="color: #999999; font-size: 12px; margin: 0;">
This email was automatically sent from the EVCP Contract Management System.<br>
© 2024 EVCP. All rights reserved.
</p>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
|