summaryrefslogtreecommitdiff
path: root/lib/mail/templates/agreement-comment-notification.hbs
blob: 9732af6c3720eaee2219e3b67004a5fe9d63b186 (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
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
<!DOCTYPE html>
<html lang="ko">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>{{documentTypeLabel}} 협의 코멘트 알림</title>
  <style>
    body {
      font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
      line-height: 1.6;
      color: #333;
      max-width: 600px;
      margin: 0 auto;
      padding: 20px;
      background-color: #f4f4f4;
    }
    .container {
      background-color: #ffffff;
      border-radius: 8px;
      padding: 30px;
      box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
    .header {
      text-align: center;
      padding-bottom: 20px;
      border-bottom: 2px solid #0066cc;
      margin-bottom: 30px;
    }
    .header h1 {
      color: #0066cc;
      margin: 0;
      font-size: 24px;
    }
    .content {
      margin-bottom: 30px;
    }
    .info-box {
      background-color: #f8f9fa;
      border-left: 4px solid #0066cc;
      padding: 15px;
      margin: 20px 0;
    }
    .info-box h3 {
      margin-top: 0;
      color: #0066cc;
      font-size: 16px;
    }
    .comment-box {
      background-color: #fff;
      border: 1px solid #dee2e6;
      border-radius: 4px;
      padding: 15px;
      margin: 15px 0;
      white-space: pre-wrap;
      word-wrap: break-word;
    }
    .button {
      display: inline-block;
      padding: 12px 30px;
      background-color: #0066cc;
      color: #ffffff !important;
      text-decoration: none;
      border-radius: 4px;
      font-weight: bold;
      text-align: center;
      margin: 20px 0;
    }
    .button:hover {
      background-color: #0052a3;
    }
    .footer {
      text-align: center;
      padding-top: 20px;
      border-top: 1px solid #dee2e6;
      margin-top: 30px;
      font-size: 12px;
      color: #6c757d;
    }
    .footer a {
      color: #0066cc;
      text-decoration: none;
    }
    .label {
      font-weight: bold;
      color: #495057;
      display: inline-block;
      min-width: 100px;
    }
    .value {
      color: #212529;
    }
    .highlight {
      background-color: #fff3cd;
      padding: 2px 4px;
      border-radius: 2px;
    }
  </style>
</head>
<body>
  <div class="container">
    <div class="header">
      <h1>📝 {{documentTypeLabel}} 협의 알림</h1>
    </div>

    <div class="content">
      <p>{{recipientName}}님, 안녕하세요.</p>
      
      <p>
        <strong class="highlight">{{authorType}}</strong>의 <strong>{{authorName}}</strong>님이 
        {{documentTypeLabel}}에 새로운 협의 코멘트를 작성했습니다.
      </p>

      <div class="info-box">
        <h3>📋 계약서 정보</h3>
        <p>
          <span class="label">계약서 템플릿:</span>
          <span class="value">{{templateName}}</span>
        </p>
        {{#if vendorName}}
        <p>
          <span class="label">협력업체:</span>
          <span class="value">{{vendorName}}</span>
        </p>
        {{/if}}
      </div>

      <div class="info-box">
        <h3>💬 작성된 코멘트</h3>
        <div class="comment-box">{{comment}}</div>
      </div>

      <p style="text-align: center;">
        <a href="{{contractUrl}}" class="button">
          협의 내용 확인하기 →
        </a>
      </p>

      <p style="color: #6c757d; font-size: 14px;">
        💡 협의 내용을 확인하시고 답변 또는 추가 코멘트를 작성해 주시기 바랍니다.
      </p>
    </div>

    <div class="footer">
      <p>
        본 메일은 발신 전용 메일입니다. 문의사항이 있으시면 
        <a href="{{systemUrl}}">eVCP 시스템</a>을 통해 문의해 주시기 바랍니다.
      </p>
      <p>© {{currentYear}} Samsung Heavy Industries. All rights reserved.</p>
    </div>
  </div>
</body>
</html>