Files
smoothschedule/email_templates/reports/weekly_cards.html
poduck 05ebd0f2bb 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>
2025-12-02 01:42:38 -05:00

73 lines
4.8 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Report - Weekly Snapshot</title>
</head>
<body style="margin: 0; padding: 0; background-color: #1e293b; font-family: 'Roboto', 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">
<!-- Header -->
<tr>
<td style="padding-bottom: 30px;">
<h1 style="margin: 0; color: #ffffff; font-size: 24px;">Weekly Snapshot</h1>
<p style="margin: 5px 0 0; color: #94a3b8;">Week of {{TODAY}}</p>
</td>
</tr>
<!-- Stats Grid -->
<tr>
<td>
<table width="100%" cellpadding="0" cellspacing="0" role="presentation">
<tr>
<!-- Card 1 -->
<td width="290" style="background-color: #334155; border-radius: 8px; padding: 25px; vertical-align: top;">
<img src="https://placehold.co/40x40/3b82f6/ffffff?text=$" alt="Revenue" style="width: 40px; height: 40px; border-radius: 8px; margin-bottom: 15px;">
<p style="margin: 0 0 5px; color: #94a3b8; font-size: 13px; text-transform: uppercase;">Revenue</p>
<p style="margin: 0; color: #ffffff; font-size: 28px; font-weight: 700;">$4,250</p>
<p style="margin: 5px 0 0; color: #4ade80; font-size: 12px;">↑ 15% vs last week</p>
</td>
<td width="20"></td>
<!-- Card 2 -->
<td width="290" style="background-color: #334155; border-radius: 8px; padding: 25px; vertical-align: top;">
<img src="https://placehold.co/40x40/8b5cf6/ffffff?text=#" alt="Bookings" style="width: 40px; height: 40px; border-radius: 8px; margin-bottom: 15px;">
<p style="margin: 0 0 5px; color: #94a3b8; font-size: 13px; text-transform: uppercase;">Bookings</p>
<p style="margin: 0; color: #ffffff; font-size: 28px; font-weight: 700;">84</p>
<p style="margin: 5px 0 0; color: #94a3b8; font-size: 12px;">→ Stable</p>
</td>
</tr>
<tr><td height="20"></td></tr>
<tr>
<!-- Card 3 -->
<td width="290" style="background-color: #334155; border-radius: 8px; padding: 25px; vertical-align: top;">
<img src="https://placehold.co/40x40/f59e0b/ffffff?text=★" alt="Rating" style="width: 40px; height: 40px; border-radius: 8px; margin-bottom: 15px;">
<p style="margin: 0 0 5px; color: #94a3b8; font-size: 13px; text-transform: uppercase;">Avg Rating</p>
<p style="margin: 0; color: #ffffff; font-size: 28px; font-weight: 700;">4.9</p>
</td>
<td width="20"></td>
<!-- Card 4 -->
<td width="290" style="background-color: #334155; border-radius: 8px; padding: 25px; vertical-align: top;">
<img src="https://placehold.co/40x40/ef4444/ffffff?text=!" alt="Cancellations" style="width: 40px; height: 40px; border-radius: 8px; margin-bottom: 15px;">
<p style="margin: 0 0 5px; color: #94a3b8; font-size: 13px; text-transform: uppercase;">Cancellations</p>
<p style="margin: 0; color: #ffffff; font-size: 28px; font-weight: 700;">3</p>
</td>
</tr>
</table>
</td>
</tr>
<!-- Footer -->
<tr>
<td style="padding-top: 40px; text-align: center;">
<a href="#" style="color: #3b82f6; text-decoration: none; font-size: 14px;">View detailed analytics</a>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>