diff options
| author | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-09-15 10:14:09 +0000 |
|---|---|---|
| committer | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-09-15 10:14:09 +0000 |
| commit | d7585b3f2ea941ee807c1e87bbc833265a193c78 (patch) | |
| tree | 70d659154ed5feeebc312a5bf850ceecc1c4c441 /lib/mail/templates/contract-approval-request.hbs | |
| parent | dd831478a3ab5ac7182903d41aa4b3e47f28224f (diff) | |
(최겸) 구매 일반계약 및 상세, PO 전달 구현
Diffstat (limited to 'lib/mail/templates/contract-approval-request.hbs')
| -rw-r--r-- | lib/mail/templates/contract-approval-request.hbs | 176 |
1 files changed, 176 insertions, 0 deletions
diff --git a/lib/mail/templates/contract-approval-request.hbs b/lib/mail/templates/contract-approval-request.hbs new file mode 100644 index 00000000..eef09fb8 --- /dev/null +++ b/lib/mail/templates/contract-approval-request.hbs @@ -0,0 +1,176 @@ +<!-- contract-approval-request.hbs --> +<!DOCTYPE html> +<html> +<head> + <meta charset="UTF-8"> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + <title>계약 승인 요청</title> + <style> + body { + font-family: 'Malgun Gothic', '맑은 고딕', Arial, sans-serif; + line-height: 1.6; + color: #333; + max-width: 600px; + margin: 0 auto; + padding: 20px; + background-color: #f5f5f5; + } + .container { + background-color: #ffffff; + border-radius: 8px; + padding: 30px; + box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); + } + .header { + text-align: center; + border-bottom: 2px solid #e9ecef; + padding-bottom: 20px; + margin-bottom: 30px; + } + .header h1 { + color: #2563eb; + font-size: 24px; + margin: 0; + } + .content { + margin-bottom: 30px; + } + .info-box { + background-color: #f8f9fa; + border-left: 4px solid #2563eb; + padding: 15px; + margin: 20px 0; + border-radius: 4px; + } + .contract-details { + background-color: #f8f9fa; + border-radius: 6px; + padding: 15px; + margin: 15px 0; + } + .detail-row { + display: flex; + justify-content: space-between; + align-items: center; + padding: 8px 0; + border-bottom: 1px solid #e9ecef; + } + .detail-row:last-child { + border-bottom: none; + } + .detail-label { + font-weight: bold; + color: #495057; + } + .detail-value { + color: #212529; + } + .button { + display: inline-block; + background-color: #2563eb; + color: white; + padding: 12px 24px; + text-decoration: none; + border-radius: 6px; + font-weight: bold; + text-align: center; + margin: 20px auto; + } + .button:hover { + background-color: #1d4ed8; + } + .message-box { + background-color: #fef3c7; + border: 1px solid #f59e0b; + border-radius: 6px; + padding: 15px; + margin: 20px 0; + } + .footer { + border-top: 1px solid #e9ecef; + padding-top: 20px; + margin-top: 30px; + text-align: center; + color: #6b7280; + font-size: 14px; + } + .urgent-notice { + background-color: #fef2f2; + border: 1px solid #fca5a5; + border-radius: 6px; + padding: 15px; + margin: 20px 0; + text-align: center; + } + .urgent-notice strong { + color: #dc2626; + } + </style> +</head> +<body> + <div class="container"> + <div class="header"> + <h1>📋 계약 승인 요청</h1> + </div> + + <div class="content"> + <p>안녕하세요, {{vendorName}}님</p> + + <p>새로운 계약이 생성되어 승인을 요청드립니다.</p> + + <div class="info-box"> + <p><strong>📄 계약 정보</strong></p> + <ul style="margin: 10px 0;"> + <li>계약 ID: {{contractId}}</li> + <li>요청 일시: {{requestDate}}</li> + </ul> + </div> + + {{#if contractDetails}} + <div class="contract-details"> + <p><strong>📋 상세 정보:</strong></p> + {{#each contractDetails}} + <div class="detail-row"> + <span class="detail-label">{{@key}}:</span> + <span class="detail-value">{{this}}</span> + </div> + {{/each}} + </div> + {{/if}} + + {{#if message}} + <div class="message-box"> + <p><strong>💬 요청자 메시지:</strong></p> + <p style="margin: 8px 0; white-space: pre-line;">{{message}}</p> + </div> + {{/if}} + + <div class="urgent-notice"> + <p><strong>⚡ 긴급 안내</strong></p> + <p>계약 승인은 7일 이내에 완료되어야 합니다. 기한 내에 승인하지 않으시면 계약이 자동 취소될 수 있습니다.</p> + </div> + + <div style="text-align: center;"> + <a href="{{loginUrl}}" class="button"> + 🔗 계약 승인 페이지로 이동 + </a> + </div> + + <div class="info-box"> + <p><strong>💡 승인 절차 안내:</strong></p> + <ul style="margin: 10px 0;"> + <li>위 링크를 클릭하여 계약 시스템에 로그인해주세요.</li> + <li>계약 내용을 자세히 확인하신 후 승인 또는 거부 버튼을 클릭해주세요.</li> + <li>거부하실 경우 반드시 거부 사유를 기재해주세요.</li> + <li>문의사항이 있으시면 계약 담당자에게 직접 연락해주세요.</li> + </ul> + </div> + </div> + + <div class="footer"> + <p>이 메일은 계약 관리 시스템에서 자동으로 발송되었습니다.</p> + <p>문의사항이 있으시면 시스템 관리자에게 연락해주세요.</p> + </div> + </div> +</body> +</html> |
