Implement dues reminder system with monthly payment cycle
Some checks failed
Build And Push Image / docker (push) Failing after 1m10s
Some checks failed
Build And Push Image / docker (push) Failing after 1m10s
- Add API endpoint and email templates for dues reminders - Change due date calculation from yearly to monthly billing - Add visual status indicators for overdue and due-soon members - Enhance member cards with status stripes and styling
This commit is contained in:
@@ -3,7 +3,7 @@ import type { Member, DuesCalculationUtils } from '~/utils/types';
|
||||
// Constants for date calculations
|
||||
export const MILLISECONDS_PER_DAY = 1000 * 60 * 60 * 24;
|
||||
export const DAYS_IN_YEAR = 365;
|
||||
export const UPCOMING_THRESHOLD_DAYS = 30;
|
||||
export const UPCOMING_THRESHOLD_DAYS = 30; // Trigger reminders 1 month before yearly due date
|
||||
|
||||
/**
|
||||
* Calculate days between two dates
|
||||
|
||||
Reference in New Issue
Block a user