Skip to content

Commit

Permalink
feat: add due date for invoices (#3257)
Browse files Browse the repository at this point in the history
  • Loading branch information
sjaanus committed Mar 6, 2023
1 parent 24cb13d commit f8a209a
Showing 1 changed file with 8 additions and 5 deletions.
Expand Up @@ -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,
},
Expand Down

0 comments on commit f8a209a

Please sign in to comment.