account/responses page

This commit is contained in:
2025-05-26 12:15:32 +03:00
parent 50e6da10f1
commit c761c60818
8 changed files with 252 additions and 11 deletions

View File

@@ -157,7 +157,7 @@ export interface TextAreaProps {
}
export interface Route {
id: string
id: string | number
from_city_name: string
to_city_name: string
from_country_name: string
@@ -168,6 +168,9 @@ export interface Route {
formatted_transport: string
comment?: string
owner_type: string
status: string
owner_email: string
owner_name: string
}
export interface SelectOption {
@@ -238,11 +241,20 @@ export interface SearchPageProps {
}
export interface Lead {
id: number
name: string
phone_number: string
email: string
route: Route
moving_user: number
moving_price: string
moving_date: string
comment: string
route?: number
comment?: string
created_at: string
status: 'actual' | 'canceled' | 'completed'
}
export interface LeadPageProps extends Lead {
owner_name: string
owner_email: string
}