Commit Graph
9 Commits
Author SHA1 Message Date
kavehhn 4ad5630cb7 fix: clarify why SMS delivery is skipped when a channel gate is off
Surface env vs dashboard disable reasons in SMS logs so password reset and other sends are easier to diagnose when only one layer is enabled.
2026-08-16 13:30:51 +03:30
kavehhn 72be01fee3 feat: add messaging toggles, password reset SMS, and payment discounts
Allow SuperAdmin to disable SMS, email, and bot from dashboard settings on top of env flags. Add admin password reset with credentials SMS, plus payment discounts, notes, and payable amount handling.
2026-08-16 06:58:08 +03:30
kavehhn 0cdb9cec20 feat(sms): send class start date, days, and course time
Expose schedule fields on class and invoice templates so SMS can include Jalali start date, weekdays, and hour range.
2026-08-15 23:09:04 +03:30
kavehhn d2d4ee719b feat(settings): support dynamic number of SMS template variables 2026-08-15 21:58:10 +03:30
kavehhn 9472537536 fix(professors): handle nationalId and phone aliases with trimming; update payment sms 2026-08-15 19:07:17 +03:30
kavehhn 93f3aeb719 feat(sms): add FULLNAME, PAYMENT_PRICE, and COURSE template variables for invoice SMS 2026-08-15 18:55:17 +03:30
kavehhn 7ebf9409f0 feat: let SuperAdmin rename SMS template variable names
Store custom sms.ir parameter names per template slot so outbound messages match the panel placeholders.
2026-08-15 18:43:24 +03:30
kavehhn 3160f07873 feat: send account and invoice SMS from stored template IDs
Move sms.ir template IDs out of env into settings so SuperAdmin can manage them, and record every outbound SMS status in notifications.
2026-08-15 18:37:44 +03:30
kavehhn f04c797be6 Initial commit: teaching institution management API.
Express/MongoDB backend with JWT auth, RBAC, S3 uploads, notifications, and scheduled jobs.
2026-08-09 04:18:08 +02:00