mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-07-28 17:43:47 +00:00
fix: partner system bugs - commission field, withdrawal UX, admin amount
1. Add desired commission percent field to partner application form and admin review page (Bug 1) 2. Add prominent "Requested Amount" row in admin withdrawal detail (Bug 2) 3. Switch withdrawal input from kopecks to rubles with auto-conversion on submit (Bug 3) Includes i18n updates for all 4 locales (ru, en, zh, fa).
This commit is contained in:
@@ -10,6 +10,7 @@ export interface PartnerApplicationInfo {
|
||||
telegram_channel: string | null;
|
||||
description: string | null;
|
||||
expected_monthly_referrals: number | null;
|
||||
desired_commission_percent: number | null;
|
||||
admin_comment: string | null;
|
||||
approved_commission_percent: number | null;
|
||||
created_at: string;
|
||||
@@ -41,6 +42,7 @@ export interface PartnerApplicationRequest {
|
||||
telegram_channel?: string;
|
||||
description?: string;
|
||||
expected_monthly_referrals?: number;
|
||||
desired_commission_percent?: number;
|
||||
}
|
||||
|
||||
// ==================== Admin-facing types ====================
|
||||
@@ -56,6 +58,7 @@ export interface AdminPartnerApplicationItem {
|
||||
telegram_channel: string | null;
|
||||
description: string | null;
|
||||
expected_monthly_referrals: number | null;
|
||||
desired_commission_percent: number | null;
|
||||
status: string;
|
||||
admin_comment: string | null;
|
||||
approved_commission_percent: number | null;
|
||||
|
||||
Reference in New Issue
Block a user