diff --git a/src/pages/customer/types/CustomerTypes.ts b/src/pages/customer/types/CustomerTypes.ts index 3ce947a..047d20e 100644 --- a/src/pages/customer/types/CustomerTypes.ts +++ b/src/pages/customer/types/CustomerTypes.ts @@ -14,7 +14,27 @@ export type CustomerItemType = { // Add other properties of role if needed }; legalUser: { + id: string; + economicCode: string; + nationalIdentity: string; + registrationCode: string; registrationName: string; + phone: string; + address: { + id: string; + createdAt: string; + updatedAt: string; + fullAddress: string; + postalCode: string; + city: { + id: number; + name: string; + province: { + id: number; + name: string; + }; + }; + }; }; subscriptions: unknown[]; tickets: unknown[]; @@ -23,6 +43,24 @@ export type CustomerItemType = { subscriptionsCount: string; ticketsCount: string; invoicesCount: string; + realUser: { + phone: string; + address: { + id: string; + createdAt: string; + updatedAt: string; + fullAddress: string; + postalCode: string; + city: { + id: number; + name: string; + province: { + id: number; + name: string; + }; + }; + }; + }; }; export type CreateCustomerType = { diff --git a/src/pages/receipts/Create.tsx b/src/pages/receipts/Create.tsx index 064c5c9..1de4f30 100644 --- a/src/pages/receipts/Create.tsx +++ b/src/pages/receipts/Create.tsx @@ -140,7 +140,7 @@ const CreateReceipt: FC = () => {