fix: share the dashboard assistant and count leads from data

The hero ask box now uses the same confirm-before-create path as the assistant, count questions use real filters, and lead mobile, Jalali follow-ups, and rial labels stay consistent.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-10-13 14:45:29 +03:30
co-authored by Cursor
parent 0e420a443f
commit 5f4cc47c41
14 changed files with 1463 additions and 44 deletions
+1
View File
@@ -8,6 +8,7 @@ export const CURRENCY_OPTIONS = [
] as const;
export function currencySuffix(code: string): string {
if (code === 'IRT') return 'ریال';
return CURRENCY_OPTIONS.find((c) => c.code === code)?.suffix ?? code;
}