Enable gated multi-level referral profit and harden chat/SMS notify paths.

Honor enable_customer_level_profit for order referral payouts, and tighten support-chat webhook/SMS plus SuperAdmin SMS panel sync settings.

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 f421fcb83f
commit 279e4bc881
8 changed files with 277 additions and 110 deletions
+2 -1
View File
@@ -52,7 +52,7 @@ class Customer extends Authenticatable implements JWTSubject
'credential_id',
'moshtari_code',
'pargar_account_id',
'profit_amount_by_lvl',
];
/**
* The attributes that should be hidden for arrays.
@@ -75,6 +75,7 @@ class Customer extends Authenticatable implements JWTSubject
"finger_print" => "boolean",
"conditional_order_active" => "boolean",
"conditional_order_limit" => "integer",
"profit_amount_by_lvl" => "array",
];
static $TYPE = [
1=>'همکار',