151 lines
4.4 KiB
HTML
151 lines
4.4 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>Donation Receipt — {{ORGANIZATION_NAME}}</title>
|
|
<style>
|
|
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
line-height: 1.6;
|
|
color: #333;
|
|
max-width: 600px;
|
|
margin: 0 auto;
|
|
padding: 20px;
|
|
}
|
|
.container {
|
|
background-color: #f9f9f9;
|
|
border-radius: 8px;
|
|
padding: 30px;
|
|
border: 1px solid #e0e0e0;
|
|
}
|
|
.header {
|
|
text-align: center;
|
|
margin-bottom: 30px;
|
|
border-bottom: 2px solid #52c41a;
|
|
padding-bottom: 20px;
|
|
}
|
|
.logo {
|
|
color: #52c41a;
|
|
font-size: 24px;
|
|
font-weight: bold;
|
|
}
|
|
.badge {
|
|
background: linear-gradient(135deg, #52c41a, #389e0d);
|
|
color: white;
|
|
padding: 8px 16px;
|
|
border-radius: 20px;
|
|
font-size: 14px;
|
|
font-weight: bold;
|
|
display: inline-block;
|
|
margin-top: 10px;
|
|
}
|
|
.content {
|
|
background-color: white;
|
|
padding: 25px;
|
|
border-radius: 6px;
|
|
margin-bottom: 20px;
|
|
border-left: 4px solid #52c41a;
|
|
}
|
|
.amount-box {
|
|
text-align: center;
|
|
background-color: #f6ffed;
|
|
padding: 20px;
|
|
border-radius: 8px;
|
|
margin: 20px 0;
|
|
border: 1px solid #b7eb8f;
|
|
}
|
|
.amount {
|
|
font-size: 36px;
|
|
font-weight: bold;
|
|
color: #389e0d;
|
|
}
|
|
.info-section {
|
|
background-color: #f6ffed;
|
|
padding: 15px;
|
|
border-radius: 4px;
|
|
margin: 20px 0;
|
|
border: 1px solid #b7eb8f;
|
|
}
|
|
.info-item {
|
|
margin: 8px 0;
|
|
}
|
|
.info-label {
|
|
font-weight: bold;
|
|
display: inline-block;
|
|
width: 120px;
|
|
color: #237804;
|
|
}
|
|
.info-value {
|
|
color: #2c3e50;
|
|
}
|
|
.message-section {
|
|
background-color: #fffbe6;
|
|
padding: 15px;
|
|
border-radius: 4px;
|
|
margin: 20px 0;
|
|
border: 1px solid #ffe58f;
|
|
font-style: italic;
|
|
}
|
|
.footer {
|
|
text-align: center;
|
|
font-size: 12px;
|
|
color: #6c757d;
|
|
margin-top: 30px;
|
|
padding-top: 20px;
|
|
border-top: 1px solid #e9ecef;
|
|
}
|
|
.app-branding {
|
|
color: #52c41a;
|
|
font-weight: bold;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="container">
|
|
<div class="header">
|
|
<div class="logo">{{ORGANIZATION_NAME}}</div>
|
|
<div class="badge">Donation Receipt</div>
|
|
</div>
|
|
|
|
<div class="content">
|
|
<p>Hi {{RECIPIENT_NAME}},</p>
|
|
<p>Thank you for your generous donation! Here are the details of your contribution:</p>
|
|
|
|
<div class="amount-box">
|
|
<div class="amount">{{AMOUNT}}</div>
|
|
<div style="color: #6c757d; font-size: 14px; margin-top: 4px;">CAD</div>
|
|
</div>
|
|
|
|
<div class="info-section">
|
|
<div class="info-item">
|
|
<span class="info-label">Reference ID:</span>
|
|
<span class="info-value">{{ORDER_ID}}</span>
|
|
</div>
|
|
<div class="info-item">
|
|
<span class="info-label">Date:</span>
|
|
<span class="info-value">{{DONATION_DATE}}</span>
|
|
</div>
|
|
</div>
|
|
|
|
{{#if DONOR_MESSAGE}}
|
|
<div class="message-section">
|
|
<strong>Your message:</strong>
|
|
<p style="margin: 8px 0 0 0;">{{DONOR_MESSAGE}}</p>
|
|
</div>
|
|
{{/if}}
|
|
|
|
{{#if IS_ANONYMOUS}}
|
|
<p style="color: #6c757d; font-size: 13px;">Your donation has been recorded as anonymous.</p>
|
|
{{/if}}
|
|
|
|
<p>Your support makes a real difference. Thank you for being part of our community!</p>
|
|
</div>
|
|
|
|
<div class="footer">
|
|
<p>This receipt was sent by <span class="app-branding">{{ORGANIZATION_NAME}}</span></p>
|
|
<p>Please keep this email for your records.</p>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|