Rebrand the product to Montact and point local UI at production API.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-09-07 11:49:54 +03:30
co-authored by Cursor
parent 8357676e6c
commit 48d3469eea
56 changed files with 309 additions and 216 deletions
+3 -2
View File
@@ -13,6 +13,7 @@ import {
import JalaliDateInput from '@/components/JalaliDateInput.vue';
import UiIcon from '@/components/UiIcon.vue';
import type { OrganizationDto, ReportsDashboardDto } from '@mento/shared';
import { brand } from '@mento/shared';
type PeriodKey = 'today' | 'week' | 'month' | 'quarter' | 'year' | 'custom';
@@ -137,7 +138,7 @@ function exportReport() {
if (!data.value) return;
const d = data.value;
const lines: string[] = [
'گزارشات منتو',
`گزارشات ${brand.nameFa}`,
`بازه,${rangeLabel()}`,
'',
'شاخص,مقدار,تغییر٪',
@@ -170,7 +171,7 @@ function exportReport() {
const url = URL.createObjectURL(blob);
const a = document.createElement('a');
a.href = url;
a.download = `mento-report-${from.value || 'from'}-${to.value || 'to'}.csv`;
a.download = `${brand.filePrefix}-report-${from.value || 'from'}-${to.value || 'to'}.csv`;
a.click();
URL.revokeObjectURL(url);
}