detail tickets

This commit is contained in:
hamid zarghami
2025-01-11 16:22:10 +03:30
parent bccad50666
commit 5d8437c7d8
+11 -3
View File
@@ -1,7 +1,7 @@
import { FC, useState } from 'react' import { FC, useState } from 'react'
import { useTranslation } from 'react-i18next' import { useTranslation } from 'react-i18next'
import Button from '../../components/Button' import Button from '../../components/Button'
import { Add, Message2, MessageRemove, MessageTick, MessageTime } from 'iconsax-react' import { Add, Eye, Message2, MessageRemove, MessageTick, MessageTime } from 'iconsax-react'
import Tabs from '../../components/Tabs' import Tabs from '../../components/Tabs'
import Td from '../../components/Td' import Td from '../../components/Td'
import { Link } from 'react-router-dom' import { Link } from 'react-router-dom'
@@ -84,7 +84,11 @@ const TicketList: FC = () => {
<Td text={t('ticket.date')} /> <Td text={t('ticket.date')} />
<Td text={t('ticket.status')} /> <Td text={t('ticket.status')} />
<Td text={t('ticket.priority')} /> <Td text={t('ticket.priority')} />
<Td text={t('ticket.detail')} /> <Td text={''}>
<Link to={Pages.ticket.detail + '1'}>
<Eye size={20} color='#8C90A3' />
</Link>
</Td>
<Td text={''} /> <Td text={''} />
</tr> </tr>
<tr className='tr'> <tr className='tr'>
@@ -94,7 +98,11 @@ const TicketList: FC = () => {
<Td text={t('ticket.date')} /> <Td text={t('ticket.date')} />
<Td text={t('ticket.status')} /> <Td text={t('ticket.status')} />
<Td text={t('ticket.priority')} /> <Td text={t('ticket.priority')} />
<Td text={t('ticket.detail')} /> <Td text={''}>
<Link to={Pages.ticket.detail + '1'}>
<Eye size={20} color='#8C90A3' />
</Link>
</Td>
<Td text={''} /> <Td text={''} />
</tr> </tr>
</tbody> </tbody>