Show SMS sent breakdown by type in admin and business settings.
Data rows for total/mass/singular/auth/auto/admin; balance stays a credit data row. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
co-authored by
Cursor
parent
6bc57f26ed
commit
dbc17b2589
@@ -322,7 +322,7 @@ Products accept optional `brandId` on create/update.
|
||||
- Per-business prepaid `businesses.sms_balance` (**SMS credits**) — all Meshkee SMS (OTP login/forgot-password, customer SMS, partner/public SMS for linked domains) costs **1 credit per 64 characters** per recipient (`ceil(len/64)`). Insufficient balance blocks send.
|
||||
- Top-up (Super Admin): enter IRT amount → adds `floor(IRT / 500)` credits (e.g. 1,000,000 IRT → 2,000 credits)
|
||||
- New businesses created in Super Admin start with **1,000** SMS credits
|
||||
- `businesses.sms_sent_count` — lifetime messages billed (one per recipient)
|
||||
- `businesses.sms_sent_count` — lifetime messages billed (one per recipient), plus typed counters: mass / singular / auth / auto_customer / admin
|
||||
- External domains (no Meshkee website) still bill via their business row once the domain is linked
|
||||
- Business Settings → **SMS settings**: credit balance (read-only) + template CRUD
|
||||
- Super Admin business overflow → **SMS settings** modal: sender number + current credits + IRT top-up
|
||||
|
||||
Reference in New Issue
Block a user