Commit Graph
9 Commits
Author SHA1 Message Date
kavehhn 3c6eb278b0 Allow enabling/disabling individual SMS template types from dashboard with sync to notification settings 2026-08-21 11:04:26 +03:30
kavehhn 091e519280 Add sessionHolding template, unique 8-digit codes, reason slot for sessionCancelled, and disable unused notifications 2026-08-21 10:44:51 +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 366cd41bb7 fix(settings): persist every SMS template variable on save
Mongoose Mixed updates were dropping extra invoiceCreated variables after a successful save.
2026-08-15 22:55:54 +03:30
kavehhn d3190a8729 fix(settings): support Persian and flexible SMS variable names and improve save persistence 2026-08-15 22:03:22 +03:30
kavehhn d2d4ee719b feat(settings): support dynamic number of SMS template variables 2026-08-15 21:58:10 +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