feat: landing settings, instant withdraw deduct, and OTP site URL

Add has_landing plus landing_* deploy keys, deduct balance on withdraw request, keep app_url for SMS login links, and clarify Zarin rial wallet document titles.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-09-05 17:01:39 +03:30
co-authored by Cursor
parent 1c7ea16300
commit 8cee34bfba
13 changed files with 344 additions and 58 deletions
@@ -11,7 +11,7 @@ use App\Models\Setting;
class SuperAdminProgramSettingsOverlay
{
/**
* فقط این ۱۵ دسترسی از سوپرادمین خوانده می‌شود.
* فقط این ۱۶ دسترسی از سوپرادمین خوانده می‌شود.
* هر کلید دیگری (قیمت، ساعت کاری، برندینگ، …) مال پنل خانگی است.
*/
public const SUPERADMIN_OWNED_KEYS = [
@@ -23,6 +23,7 @@ class SuperAdminProgramSettingsOverlay
'enable_gold_credit',
'enable_product_funds',
'group_sms',
'has_landing',
'has_page_earn_money',
'has_page_gift_card',
'has_page_notification',
@@ -40,6 +41,7 @@ class SuperAdminProgramSettingsOverlay
'enable_conditional_order',
'enable_gold_credit',
'enable_product_funds',
'has_landing',
'has_page_earn_money',
'has_page_gift_card',
'has_page_notification',
@@ -119,7 +121,7 @@ class SuperAdminProgramSettingsOverlay
}
/**
* آخرین مقادیر ۱۵ دسترسی را در settings لوکال ذخیره می‌کند (can_edit=0).
* آخرین مقادیر ۱۶ دسترسی را در settings لوکال ذخیره می‌کند (can_edit=0).
*
* @param array<string, array<string, mixed>> $map
*/