fix: keep birthdays and show Shamsi dates

Imported customers keep their birthday, and assistant text plus remaining calendars use the Jalali date.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-10-13 18:04:53 +03:30
co-authored by Cursor
parent 5f4cc47c41
commit cf326d1ed9
34 changed files with 637 additions and 105 deletions
+5
View File
@@ -857,6 +857,7 @@ export interface PersonDto {
position: string | null;
website: string | null;
instagram: string | null;
birthDate: string | null;
referrer: string | null;
addresses: string[];
notes: string | null;
@@ -884,6 +885,7 @@ export interface CreatePersonRequest {
position?: string;
website?: string;
instagram?: string;
birthDate?: string | null;
referrer?: string;
addresses?: string[];
notes?: string;
@@ -4759,6 +4761,7 @@ export interface LeadDto {
city: string | null;
region: string | null;
instagram: string | null;
birthDate: string | null;
addresses: string[];
trade: string | null;
source: string | null;
@@ -4797,6 +4800,7 @@ export interface CreateLeadRequest {
city?: string | null;
region?: string | null;
instagram?: string | null;
birthDate?: string | null;
addresses?: string[];
trade?: string | null;
source?: string | null;
@@ -4817,6 +4821,7 @@ export interface UpdateLeadRequest {
city?: string | null;
region?: string | null;
instagram?: string | null;
birthDate?: string | null;
addresses?: string[];
trade?: string | null;
source?: string | null;