What's New
Added
- Maintenance Tool: Fix Subscription Payment Dates (School Settings → Maintenance Tools)
- Super admin only
- Auto-previews all pending subscription payments that have incorrect due dates (falling inside vacation periods)
- Shows a before/after table: student, course, installment #, old date → corrected date
- One-click apply with confirmation dialog
- Designed as a one-time fix for payments created before v0.6.4
- Only visible when Calendar plugin is active
- New
SM_Payment_Sync::recalculate_subscription_due_dates($dry_run)method
Usage
After updating, go to School Settings → General Settings (super admin). Scroll below the settings form to find the Maintenance Tools section and apply the date corrections.