feat(dashboard, i18n): enhance agent dashboard and localization support
Updated the agent dashboard to include new metrics for today's bets and payouts, improving visibility for users. Enhanced localization files with additional hints and labels for better user experience across English, Nepali, and Chinese. Introduced new functions for formatting business dates and improved the handling of analytics permissions in the dashboard components.
This commit is contained in:
@@ -34,19 +34,6 @@ export const REPORT_UI_TO_JOB_TYPE: Record<ReportUiKey, string> = {
|
||||
admin_audit: "audit_operation_report",
|
||||
};
|
||||
|
||||
/** Report types with full server-side export (POST /admin/report-jobs). */
|
||||
export const REPORT_UI_SERVER_FULL_EXPORT = new Set<ReportUiKey>([
|
||||
"draw_profit",
|
||||
"daily_profit",
|
||||
"player_win_loss",
|
||||
"player_transfer",
|
||||
"hot_number_risk",
|
||||
"play_dimension",
|
||||
"sold_out_number",
|
||||
"rebate_commission",
|
||||
"admin_audit",
|
||||
]);
|
||||
|
||||
export function buildReportJobParameters(
|
||||
key: ReportUiKey,
|
||||
filters: ReportFilterSnapshot,
|
||||
|
||||
Reference in New Issue
Block a user