mirror of
https://github.com/Unleash/unleash.git
synced 2025-07-21 13:47:39 +02:00
feat: add due date for invoices (#3257)
This commit is contained in:
parent
24cb13dee4
commit
f8a209a1d1
@ -39,11 +39,14 @@ const columns = [
|
|||||||
{
|
{
|
||||||
Header: 'Created date',
|
Header: 'Created date',
|
||||||
accessor: 'created',
|
accessor: 'created',
|
||||||
Cell: ({ value }: { value: number }) => {
|
Cell: DateCell,
|
||||||
return (
|
sortType: 'date',
|
||||||
<DateCell value={value ? new Date(value * 1000) : undefined} />
|
disableGlobalFilter: true,
|
||||||
);
|
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
Header: 'Due date',
|
||||||
|
accessor: 'dueDate',
|
||||||
|
Cell: DateCell,
|
||||||
sortType: 'date',
|
sortType: 'date',
|
||||||
disableGlobalFilter: true,
|
disableGlobalFilter: true,
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user