Add customer multi-level referral profit editor and related settings UI.

Expose enable_customer_level_profit in config and let admins edit per-customer level percents from the customers table/mobile sheets.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-10 16:48:53 +03:30
co-authored by Cursor
parent 4dde172ed7
commit de97d7caa6
12 changed files with 252 additions and 21 deletions
+1 -1
View File
@@ -1707,7 +1707,7 @@ export const bootstrapAdminChat = async (
bootstrapPromise = (async () => {
try {
void postAdminChatEnsureWebhook().catch((error) => {
console.error('admin chat ensure webhook failed:', error)
console.warn('admin chat ensure webhook failed:', error)
})
await fetchAdminRooms()