feat: Email templates, bulk delete, communication credits, plan features
- Add email template presets for Browse Templates tab (12 templates) - Add bulk selection and deletion for My Templates tab - Add communication credits system with Twilio integration - Add payment views for credit purchases and auto-reload - Add SMS reminder and masked calling plan permissions - Fix appointment status mapping (frontend/backend mismatch) - Clear masquerade stack on login/logout for session hygiene - Update platform settings with credit configuration - Add new migrations for Twilio and Stripe payment fields 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
99
email_templates/reports/staff_leaderboard.html
Normal file
99
email_templates/reports/staff_leaderboard.html
Normal file
@@ -0,0 +1,99 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Report - Staff Leaderboard</title>
|
||||
</head>
|
||||
<body style="margin: 0; padding: 0; background-color: #f3f4f6; font-family: 'Arial', sans-serif;">
|
||||
<table width="100%" cellpadding="0" cellspacing="0" role="presentation">
|
||||
<tr>
|
||||
<td align="center" style="padding: 40px 20px;">
|
||||
<table width="600" cellpadding="0" cellspacing="0" role="presentation" style="background-color: #ffffff; border-radius: 12px; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);">
|
||||
<!-- Header -->
|
||||
<tr>
|
||||
<td style="padding: 30px; border-bottom: 1px solid #e5e7eb;">
|
||||
<h1 style="margin: 0; color: #111827; font-size: 20px;">Staff Performance</h1>
|
||||
<p style="margin: 5px 0 0; color: #6b7280; font-size: 14px;">Top performers for {{TODAY}}</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<!-- List -->
|
||||
<tr>
|
||||
<td style="padding: 0 30px;">
|
||||
<table width="100%" cellpadding="0" cellspacing="0" role="presentation">
|
||||
<!-- Item 1 -->
|
||||
<tr>
|
||||
<td style="padding: 20px 0; border-bottom: 1px solid #f3f4f6;">
|
||||
<table width="100%" cellpadding="0" cellspacing="0" role="presentation">
|
||||
<tr>
|
||||
<td width="50">
|
||||
<img src="https://placehold.co/40x40/10b981/ffffff?text=1" alt="Rank 1" style="border-radius: 50%; display: block;">
|
||||
</td>
|
||||
<td>
|
||||
<p style="margin: 0; font-weight: 600; color: #111827;">Sarah Johnson</p>
|
||||
<p style="margin: 2px 0 0; font-size: 12px; color: #6b7280;">32 Appointments</p>
|
||||
</td>
|
||||
<td align="right" width="100">
|
||||
<p style="margin: 0; font-weight: 700; color: #10b981;">$3,200</p>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<!-- Item 2 -->
|
||||
<tr>
|
||||
<td style="padding: 20px 0; border-bottom: 1px solid #f3f4f6;">
|
||||
<table width="100%" cellpadding="0" cellspacing="0" role="presentation">
|
||||
<tr>
|
||||
<td width="50">
|
||||
<img src="https://placehold.co/40x40/3b82f6/ffffff?text=2" alt="Rank 2" style="border-radius: 50%; display: block;">
|
||||
</td>
|
||||
<td>
|
||||
<p style="margin: 0; font-weight: 600; color: #111827;">Mike Chen</p>
|
||||
<p style="margin: 2px 0 0; font-size: 12px; color: #6b7280;">28 Appointments</p>
|
||||
</td>
|
||||
<td align="right" width="100">
|
||||
<p style="margin: 0; font-weight: 700; color: #111827;">$2,850</p>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<!-- Item 3 -->
|
||||
<tr>
|
||||
<td style="padding: 20px 0;">
|
||||
<table width="100%" cellpadding="0" cellspacing="0" role="presentation">
|
||||
<tr>
|
||||
<td width="50">
|
||||
<img src="https://placehold.co/40x40/6b7280/ffffff?text=3" alt="Rank 3" style="border-radius: 50%; display: block;">
|
||||
</td>
|
||||
<td>
|
||||
<p style="margin: 0; font-weight: 600; color: #111827;">Jessica Williams</p>
|
||||
<p style="margin: 2px 0 0; font-size: 12px; color: #6b7280;">25 Appointments</p>
|
||||
</td>
|
||||
<td align="right" width="100">
|
||||
<p style="margin: 0; font-weight: 700; color: #111827;">$2,100</p>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<!-- Footer -->
|
||||
<tr>
|
||||
<td style="background-color: #f9fafb; padding: 20px 30px; border-radius: 0 0 12px 12px;">
|
||||
<p style="margin: 0; font-size: 13px; color: #6b7280; text-align: center;">
|
||||
Great work team! 🚀
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user