mirror of
https://github.com/Unleash/unleash.git
synced 2025-07-17 13:46:47 +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',
|
||||
accessor: 'created',
|
||||
Cell: ({ value }: { value: number }) => {
|
||||
return (
|
||||
<DateCell value={value ? new Date(value * 1000) : undefined} />
|
||||
);
|
||||
},
|
||||
Cell: DateCell,
|
||||
sortType: 'date',
|
||||
disableGlobalFilter: true,
|
||||
},
|
||||
{
|
||||
Header: 'Due date',
|
||||
accessor: 'dueDate',
|
||||
Cell: DateCell,
|
||||
sortType: 'date',
|
||||
disableGlobalFilter: true,
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user