feat(web): add prior archive promote actions
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -13,6 +13,8 @@ export type PipelineDeal = {
|
||||
/** شناسه مرحله فعلی — هنگام جابهجایی بهروز میشود */
|
||||
stageId?: string;
|
||||
currencyUnit?: string;
|
||||
createdAt?: string;
|
||||
promotedFromPriorAt?: string | null;
|
||||
/** نام مسئولان برای نمایش روی کارت */
|
||||
assigneeNames?: string[];
|
||||
ownerId?: string | null;
|
||||
@@ -176,6 +178,7 @@ export function mapBoardToStages(
|
||||
stageId: string;
|
||||
expectedCloseAt: string | null;
|
||||
createdAt: string;
|
||||
promotedFromPriorAt: string | null;
|
||||
person: { fullName: string } | null;
|
||||
company: { name: string } | null;
|
||||
owner?: { id: string; fullName: string } | null;
|
||||
@@ -225,6 +228,8 @@ export function mapBoardToStages(
|
||||
),
|
||||
stageId: deal.stageId,
|
||||
currencyUnit: currencyUnitLabel(deal.currency),
|
||||
createdAt: deal.createdAt,
|
||||
promotedFromPriorAt: deal.promotedFromPriorAt,
|
||||
assigneeNames,
|
||||
ownerId: deal.owner?.id ?? null,
|
||||
assigneeIds: (deal.assignees ?? []).map((a) => a.id),
|
||||
|
||||
Reference in New Issue
Block a user