Rebrand the product to Montact and point local UI at production API.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user