Align overview invoice focus filters#44
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 5adccbf88b
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| if (match) { | ||
| return new Date(Number(match[1]), Number(match[2]) - 1, Number(match[3])); | ||
| } | ||
| var date = new Date(value); |
There was a problem hiding this comment.
Preserve missing due dates as non-overdue
When an imported or older record has dueDate: null, this fallback now calls new Date(null), which is a valid Jan 1, 1970 date; isPastDate(null) therefore returns true and undated open invoices or utility settlements are shown as overdue dashboard/focus items. The previous falsy guard skipped these records, so keep a falsy check here or parse the normalized string instead of the original value.
Useful? React with 👍 / 👎.
Summary
Verification
Refs #43