add payments in invoice detail

This commit is contained in:
2026-05-24 10:43:35 +03:30
parent 28295dcc58
commit 7fa30e6e81
4 changed files with 388 additions and 101 deletions
+5 -2
View File
@@ -3,7 +3,7 @@ import { useMemo, useState, type FC } from 'react'
import { ProformaInvoiceStatusEnum } from './enum/InvoiceEnum'
import Filters from '@/components/Filters'
import Table from '@/components/Table'
import { Eye, Add } from 'iconsax-react'
import { Eye, Add, Edit2 } from 'iconsax-react'
import { Link } from 'react-router-dom'
import { Paths } from '@/config/Paths'
import moment from 'moment-jalaali'
@@ -180,9 +180,12 @@ const ProformaInvoice: FC = () => {
title: '',
render: (item) => (
<div className='flex gap-2 items-center'>
<Link to={Paths.perfomaInvoice.update + item.id}>
<Link to={Paths.perfomaInvoice.detail + item.id}>
<Eye size={20} color='#8C90A3' />
</Link>
<Link to={Paths.perfomaInvoice.update + item.id}>
<Edit2 size={20} color='#0037FF' />
</Link>
</div>
),
},