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.
This commit is contained in:
+1
-7
@@ -71,13 +71,7 @@ EMAIL_FROM=no-reply@institution.com
|
||||
SMS_ENABLED=false
|
||||
SMS_PANEL_TOKEN=your_sms_ir_api_key
|
||||
SMS_SENDER_NUMBER=10001000
|
||||
# Template IDs from sms.ir panel (verify templates)
|
||||
# Account created vars: username, password
|
||||
SMS_TEMPLATE_ACCOUNT_CREATED=
|
||||
# Class registered vars: className
|
||||
SMS_TEMPLATE_CLASS_REGISTERED=
|
||||
# Class reminder (30 min before) vars: className, time, place
|
||||
SMS_TEMPLATE_CLASS_REMINDER=
|
||||
# SMS verify template IDs are stored in the database (SuperAdmin → Settings).
|
||||
|
||||
# Bale Messenger Bot Token
|
||||
BALE_BOT_TOKEN=mock_bale_bot_token
|
||||
|
||||
Reference in New Issue
Block a user