referer and finance
This commit is contained in:
@@ -91,7 +91,7 @@ const CustomerList: FC = () => {
|
||||
return (
|
||||
<tr key={item.id} className='tr'>
|
||||
<Td text={item.firstName + ' ' + item.lastName} />
|
||||
<Td text={'شرکت داناک'} />
|
||||
<Td text={item?.legalUser?.registrationName} />
|
||||
<Td text={item.email ? item.email : ''} />
|
||||
<Td text={item.subscriptionsCount} />
|
||||
<Td text={''}>
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -38,7 +38,7 @@ const ReferTicket: FC<Props> = ({ refetch }) => {
|
||||
<div className="mt-4">
|
||||
{
|
||||
getUsers.data?.data?.users?.map((item: UserItemType) => (
|
||||
<div key={item.id} className='flex gap-2 py-2 items-center'>
|
||||
<div key={item.id} className='flex gap-2 items-center'>
|
||||
<div>
|
||||
<CheckBoxComponent
|
||||
checked={userId === item.id}
|
||||
|
||||
Reference in New Issue
Block a user