Add lead company logos and refine Leads stats cards.

Leads can upload/change/remove a logo shown in the list; stats use fixed stage labels with accurate non-archived counts.
This commit is contained in:
2026-09-27 21:17:42 +03:30
parent ec5c7639e3
commit 647503810d
7 changed files with 4389 additions and 3973 deletions
+2
View File
@@ -1967,6 +1967,8 @@ model Lead {
trade String?
source String?
notes String?
/// لوگوی فروشگاه / شرکت
logoStorageKey String?
estimatedValue Decimal? @db.Decimal(18, 2)
stageId String
stage LeadStage @relation(fields: [stageId], references: [id], onDelete: Restrict)