Redesign sales goals and forecast with typed targets and live progress.

Match desktop/mobile mockups and compute current amounts, status, and KPIs from real CRM data.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-09-05 18:38:11 +03:30
co-authored by Cursor
parent 1c1b77e74a
commit 32af147237
8 changed files with 1287 additions and 385 deletions
+2
View File
@@ -1174,6 +1174,7 @@ async function main() {
data: {
organizationId: org.id,
userId: null,
type: 'sales',
title: 'هدف فروش سازمانی ماه جاری',
periodStart,
periodEnd,
@@ -1190,6 +1191,7 @@ async function main() {
data: {
organizationId: org.id,
userId: salesUser.id,
type: 'sales',
title: 'هدف شخصی کارشناس فروش',
periodStart,
periodEnd,