diff options
Diffstat (limited to 'lib/mail/templates')
| -rw-r--r-- | lib/mail/templates/pq-approved-vendor.hbs | 126 | ||||
| -rw-r--r-- | lib/mail/templates/pq-rejected-vendor.hbs | 143 |
2 files changed, 269 insertions, 0 deletions
diff --git a/lib/mail/templates/pq-approved-vendor.hbs b/lib/mail/templates/pq-approved-vendor.hbs new file mode 100644 index 00000000..1ded76ef --- /dev/null +++ b/lib/mail/templates/pq-approved-vendor.hbs @@ -0,0 +1,126 @@ +<!DOCTYPE html> +<html> +<head> + <meta charset="UTF-8"> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + <title>eVCP 메일</title> + <style> + body { + margin: 0 !important; + padding: 20px !important; + background-color: #f4f4f4; + font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif; + } + .email-container { + max-width: 600px; + margin: 0 auto; + background-color: #ffffff; + padding: 20px; + border-radius: 8px; + box-shadow: 0 2px 10px rgba(0,0,0,0.1); + } + .success-badge { + display: inline-block; + background-color: #10b981; + color: white; + padding: 4px 12px; + border-radius: 16px; + font-size: 12px; + font-weight: 600; + text-transform: uppercase; + margin-bottom: 16px; + } + </style> +</head> +<body> + <div class="email-container"> + <!-- Header --> + <table width="100%" cellpadding="0" cellspacing="0" style="margin-bottom:24px; border-bottom:1px solid #163CC4; padding-bottom:16px;"> + <tr> + <td align="center"> + <span style="display: block; text-align: left; color: #163CC4; font-weight: bold; font-size: 32px;">eVCP</span> + </td> + </tr> + </table> + + <!-- Success Badge --> + <div class="success-badge"> + 승인 완료 + </div> + + <!-- Title --> + <h1 style="font-size:28px; margin-bottom:16px; color:#111827;"> + {{#if isProjectPQ}} + 프로젝트 PQ가 승인되었습니다! + {{else}} + 일반 PQ가 승인되었습니다! + {{/if}} + </h1> + + <!-- Greeting --> + <p style="font-size:16px; line-height:32px; margin-bottom:16px;"> + 안녕하세요, <strong>{{vendorName}}</strong> 담당자님. + </p> + + <!-- Main Content --> + <p style="font-size:16px; line-height:32px; margin-bottom:16px;"> + {{#if isProjectPQ}} + 축하합니다! 귀사의 <strong>{{projectName}}</strong> 프로젝트 PQ가 승인되었습니다. + {{else}} + 축하합니다! 귀사의 일반 PQ가 승인되었습니다. + {{/if}} + </p> + + <!-- PQ Details --> + <div style="background-color:#f0f9ff; border-left: 4px solid #163CC4; padding:16px; margin:16px 0; border-radius: 0 8px 8px 0;"> + <h3 style="margin-top:0; margin-bottom:12px; color:#163CC4;">PQ 정보</h3> + <p style="font-size:14px; margin:4px 0; color:#374151;"> + <strong>업체명:</strong> {{vendorName}} + </p> + {{#if isProjectPQ}} + <p style="font-size:14px; margin:4px 0; color:#374151;"> + <strong>프로젝트명:</strong> {{projectName}} + </p> + {{/if}} + <p style="font-size:14px; margin:4px 0; color:#374151;"> + <strong>승인일:</strong> {{approvedDate}} + </p> + </div> + + <!-- Next Steps --> + <div style="background-color:#f9fafb; padding:16px; border-radius:8px; margin:16px 0;"> + <h3 style="margin-top:0; margin-bottom:12px; color:#374151;">다음 단계</h3> + <p style="font-size:14px; margin:4px 0; color:#6b7280;"> + PQ 승인으로 인해 {{#if isProjectPQ}}프로젝트 참여 자격이{{else}}업체 등록이{{/if}} 완료되었습니다. + 이제 관련 프로젝트 및 입찰 기회에 참여하실 수 있습니다. + </p> + </div> + + <!-- Action Button --> + <div style="text-align: center; margin: 24px 0;"> + <a href="{{portalUrl}}" 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; margin: 8px 0;"> + 협력업체 포털로 이동 + </a> + </div> + + <!-- Support Message --> + <p style="font-size:16px; line-height:24px; margin-top:24px; color:#6b7280;"> + 궁금한 사항이 있으시면 언제든지 문의해주세요. + </p> + + <!-- Footer --> + <table width="100%" cellpadding="0" cellspacing="0" style="margin-top:32px; border-top:1px solid #e5e7eb; padding-top:16px;"> + <tr> + <td align="center"> + <p style="font-size:14px; color:#6b7280; margin:4px 0;"> + © {{currentYear}} EVCP. 모든 권리 보유. + </p> + <p style="font-size:14px; color:#6b7280; margin:4px 0;"> + 본 이메일은 발신 전용입니다. 회신하지 마세요. + </p> + </td> + </tr> + </table> + </div> +</body> +</html> diff --git a/lib/mail/templates/pq-rejected-vendor.hbs b/lib/mail/templates/pq-rejected-vendor.hbs new file mode 100644 index 00000000..3cb8aea6 --- /dev/null +++ b/lib/mail/templates/pq-rejected-vendor.hbs @@ -0,0 +1,143 @@ +<!DOCTYPE html> +<html> +<head> + <meta charset="UTF-8"> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + <title>eVCP 메일</title> + <style> + body { + margin: 0 !important; + padding: 20px !important; + background-color: #f4f4f4; + font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif; + } + .email-container { + max-width: 600px; + margin: 0 auto; + background-color: #ffffff; + padding: 20px; + border-radius: 8px; + box-shadow: 0 2px 10px rgba(0,0,0,0.1); + } + .rejected-badge { + display: inline-block; + background-color: #ef4444; + color: white; + padding: 4px 12px; + border-radius: 16px; + font-size: 12px; + font-weight: 600; + text-transform: uppercase; + margin-bottom: 16px; + } + .warning-box { + background-color: #fef2f2; + border-left: 4px solid #ef4444; + padding: 16px; + margin: 16px 0; + border-radius: 0 8px 8px 0; + } + </style> +</head> +<body> + <div class="email-container"> + <!-- Header --> + <table width="100%" cellpadding="0" cellspacing="0" style="margin-bottom:24px; border-bottom:1px solid #163CC4; padding-bottom:16px;"> + <tr> + <td align="center"> + <span style="display: block; text-align: left; color: #163CC4; font-weight: bold; font-size: 32px;">eVCP</span> + </td> + </tr> + </table> + + <!-- Rejected Badge --> + <div class="rejected-badge"> + 거부됨 + </div> + + <!-- Title --> + <h1 style="font-size:28px; margin-bottom:16px; color:#111827;"> + {{#if isProjectPQ}} + 프로젝트 PQ가 거부되었습니다 + {{else}} + 일반 PQ가 거부되었습니다 + {{/if}} + </h1> + + <!-- Greeting --> + <p style="font-size:16px; line-height:32px; margin-bottom:16px;"> + 안녕하세요, <strong>{{vendorName}}</strong> 담당자님. + </p> + + <!-- Main Content --> + <p style="font-size:16px; line-height:32px; margin-bottom:16px;"> + {{#if isProjectPQ}} + 귀사의 <strong>{{projectName}}</strong> 프로젝트 PQ가 검토 결과 거부되었습니다. + {{else}} + 귀사의 일반 PQ가 검토 결과 거부되었습니다. + {{/if}} + </p> + + <!-- PQ Details --> + <div style="background-color:#f9fafb; padding:16px; border-radius:8px; margin:16px 0;"> + <h3 style="margin-top:0; margin-bottom:12px; color:#374151;">PQ 정보</h3> + <p style="font-size:14px; margin:4px 0; color:#374151;"> + <strong>업체명:</strong> {{vendorName}} + </p> + {{#if isProjectPQ}} + <p style="font-size:14px; margin:4px 0; color:#374151;"> + <strong>프로젝트명:</strong> {{projectName}} + </p> + {{/if}} + <p style="font-size:14px; margin:4px 0; color:#374151;"> + <strong>거부일:</strong> {{rejectedDate}} + </p> + </div> + + <!-- Rejection Reason --> + {{#if rejectReason}} + <div class="warning-box"> + <h3 style="margin-top:0; margin-bottom:12px; color:#dc2626;">거부 사유</h3> + <p style="font-size:14px; margin:4px 0; color:#7f1d1d; line-height: 1.5;"> + {{rejectReason}} + </p> + </div> + {{/if}} + + <!-- Next Steps --> + <div style="background-color:#fef3c7; border:1px solid #f59e0b; padding:16px; border-radius:8px; margin:16px 0;"> + <h3 style="margin-top:0; margin-bottom:12px; color:#92400e;">개선 안내</h3> + <p style="font-size:14px; margin:4px 0; color:#92400e; line-height: 1.5;"> + 거부 사유를 확인하시고 필요한 사항을 보완한 후 PQ를 다시 제출해 주시기 바랍니다. + 추가 문의사항이 있으시면 언제든지 연락해 주세요. + </p> + </div> + + <!-- Action Button --> + <div style="text-align: center; margin: 24px 0;"> + <a href="{{portalUrl}}" 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; margin: 8px 0;"> + 협력업체 포털로 이동 + </a> + </div> + + <!-- Support Message --> + <p style="font-size:16px; line-height:24px; margin-top:24px; color:#6b7280;"> + 문의사항이 있으시면 언제든지 연락해 주시기 바랍니다. + </p> + + <!-- Footer --> + <table width="100%" cellpadding="0" cellspacing="0" style="margin-top:32px; border-top:1px solid #e5e7eb; padding-top:16px;"> + <tr> + <td align="center"> + <p style="font-size:14px; color:#6b7280; margin:4px 0;"> + © {{currentYear}} EVCP. 모든 권리 보유. + </p> + <p style="font-size:14px; color:#6b7280; margin:4px 0;"> + 본 이메일은 발신 전용입니다. 회신하지 마세요. + </p> + </td> + </tr> + </table> + </div> +</body> +</html> |
