rename: کاریز فروش → مسیر فروش, کاریز پروژه → تابلوی پروژه

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-10-06 20:51:50 +03:30
co-authored by Cursor
parent b3784818fc
commit b4ffef9b6f
29 changed files with 131 additions and 120 deletions
+15 -10
View File
@@ -180,7 +180,7 @@ export const ORG_MODULE_KEYS: OrgModuleKey[] = [
export const ORG_MODULE_LABELS: Record<OrgModuleKey, string> = {
customers: "مشتریان",
pipeline: "کاریز فروش",
pipeline: "مسیر فروش",
products: "محصولات",
invoices: "فاکتورها",
quotes: "پیش‌فاکتورها",
@@ -192,7 +192,7 @@ export const ORG_MODULE_LABELS: Record<OrgModuleKey, string> = {
message_automations: "اتوماسیون پیامک",
lead_forms: "فرم‌ساز سرنخ",
leads: "مدیریت لیدها",
project_boards: "کاریز پروژه",
project_boards: "تابلوی پروژه",
inventory: "انبار",
cheques: "چک‌ها",
attachments: "پیوست‌ها",
@@ -1056,8 +1056,8 @@ export const DEAL_EXCEL_COLUMNS: Array<{ header: string; key: string; width?: nu
{ header: "معرف معامله", key: "referrer", width: 16 },
{ header: "شیوه آشنایی دلخواه", key: "sourceDetail", width: 16 },
{ header: "برچسب", key: "tags", width: 16 },
{ header: "کاریز معامله", key: "pipelineName", width: 20 },
{ header: "مرحله کاریز معامله", key: "stageName", width: 20 },
{ header: "مسیر فروش معامله", key: "pipelineName", width: 20 },
{ header: "مرحله مسیر فروش معامله", key: "stageName", width: 20 },
{ header: "نام شخص معامله", key: "personFirstName", width: 16 },
{ header: "نام خانوادگی شخص معامله", key: "personName", width: 22 },
{ header: "کد دیدار شخص معامله", key: "personCode", width: 14 },
@@ -1104,7 +1104,12 @@ export const DEAL_EXCEL_ALIASES: Record<string, string> = {
شرکت: "companyName",
منبعمعامله: "source",
منبع: "source",
مسیرفروش: "pipelineName",
مسیر: "pipelineName",
// سرستون‌های قدیمی (قبل از تغییر نام کاریز → مسیر فروش)
کاریز: "pipelineName",
کاریزمعامله: "pipelineName",
مرحلهکاریزمعامله: "stageName",
مرحله: "stageName",
};
/** فیلتر ذخیره‌شدهٔ لیست اشخاص */
@@ -1115,7 +1120,7 @@ export interface PeopleViewFilters {
page?: number;
}
/** فیلتر ذخیره‌شدهٔ کاریز / معاملات */
/** فیلتر ذخیره‌شدهٔ مسیر فروش / معاملات */
export interface DealsViewFilters {
q?: string;
amountMin?: string;
@@ -2251,7 +2256,7 @@ export interface SalesForecastDto {
wonAmount: number;
/** معاملات باز فعلی */
openPipelineAmount: number;
/** پیش‌بینی: تحقق + کاریز باز × میانگین احتمال */
/** پیش‌بینی: تحقق + معاملات باز × میانگین احتمال */
forecastAmount: number;
progressPercent: number | null;
openDealsCount: number;
@@ -2501,9 +2506,9 @@ export interface ReportsFunnelStageDto {
pipelineName: string;
count: number;
amount: number;
/** درصد تبدیل نسبت به مرحله قبل همان کاریز؛ null برای اولین مرحله */
/** درصد تبدیل نسبت به مرحله قبل همان مسیر فروش؛ null برای اولین مرحله */
conversionFromPrevPercent: number | null;
/** سهم از کل معاملات باز همان کاریز */
/** سهم از کل معاملات باز همان مسیر فروش */
shareOfPipelinePercent: number;
}
@@ -2658,7 +2663,7 @@ export interface HomeDashboardDto {
topCustomers: HomeDashboardTopCustomerDto[];
}
/** برد پروژه / کاریز کارت */
/** تابلوی پروژه / کارت */
export interface ProjectBoardStageDto {
id: string;
name: string;
@@ -3586,7 +3591,7 @@ export const REPORTS_BUILDER_DIMENSION_LABELS: Record<
owner: "کاربر / مسئول",
team: "تیم",
source: "منبع",
stage: "مرحله کاریز",
stage: "مرحله مسیر فروش",
month: "ماه",
status: "وضعیت معامله",
};