user and asginedto

This commit is contained in:
hamid zarghami
2025-05-01 10:29:18 +03:30
parent c969f48fcc
commit a9165f6833
3 changed files with 17 additions and 1 deletions
+3 -1
View File
@@ -281,7 +281,9 @@
"medium": "متوسط",
"high": "بالا",
"service": "سرویس",
"refer_ticket": "ارجاع تیکت"
"refer_ticket": "ارجاع تیکت",
"user": "کاربر",
"assign_to": "کارشناس پاسخگویی"
},
"active": "فعال",
"inactive": "غیرفعال",
+4
View File
@@ -82,6 +82,8 @@ const TicketList: FC = () => {
<tr>
<Td text={t('ticket.number')} />
<Td text={t('ticket.title')} />
<Td text={t('ticket.user')} />
<Td text={t('ticket.assign_to')} />
<Td text={t('ticket.category')} />
<Td text={t('ticket.service')} />
<Td text={t('ticket.date')} />
@@ -97,6 +99,8 @@ const TicketList: FC = () => {
<tr key={item.id} className='tr'>
<Td text={item.numericId + ''} />
<Td text={item.subject} />
<Td text={item.user.firstName + ' ' + item.user.lastName} />
<Td text={item?.assignedTo?.firstName + ' ' + item?.assignedTo?.lastName} />
<Td text={item?.category?.title} />
<Td text={item?.danakService?.name} />
<Td text={''}>
+10
View File
@@ -5,6 +5,16 @@ export type TicketItemType = {
category: {
title: string;
};
user: {
id: string;
firstName: string;
lastName: string;
};
assignedTo: {
id: string;
firstName: string;
lastName: string;
};
updatedAt: string;
status: string;
priority: string;