From 702e66c3282886a3b1b15d9d377761abd3d850b6 Mon Sep 17 00:00:00 2001 From: hamid zarghami Date: Wed, 30 Apr 2025 16:24:37 +0330 Subject: [PATCH] referer and finance --- src/pages/customer/List.tsx | 2 +- src/pages/customer/types/CustomerTypes.ts | 3 +++ src/pages/ticket/components/ReferTicket.tsx | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/pages/customer/List.tsx b/src/pages/customer/List.tsx index 4d7e033..1149be2 100644 --- a/src/pages/customer/List.tsx +++ b/src/pages/customer/List.tsx @@ -91,7 +91,7 @@ const CustomerList: FC = () => { return ( - + diff --git a/src/pages/customer/types/CustomerTypes.ts b/src/pages/customer/types/CustomerTypes.ts index fddafcf..3ce947a 100644 --- a/src/pages/customer/types/CustomerTypes.ts +++ b/src/pages/customer/types/CustomerTypes.ts @@ -13,6 +13,9 @@ export type CustomerItemType = { createdAt: string; // Add other properties of role if needed }; + legalUser: { + registrationName: string; + }; subscriptions: unknown[]; tickets: unknown[]; updatedAt: string; diff --git a/src/pages/ticket/components/ReferTicket.tsx b/src/pages/ticket/components/ReferTicket.tsx index ce578cb..40b6052 100644 --- a/src/pages/ticket/components/ReferTicket.tsx +++ b/src/pages/ticket/components/ReferTicket.tsx @@ -38,7 +38,7 @@ const ReferTicket: FC = ({ refetch }) => {
{ getUsers.data?.data?.users?.map((item: UserItemType) => ( -
+