Skip to content

Commit

Permalink
Avoid the final report in the current progress reports grid
Browse files Browse the repository at this point in the history
  • Loading branch information
CarsonF committed Nov 4, 2024
1 parent 8876771 commit d241fe0
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,10 @@ export const ProgressReportsGrid = ({
filter: {
start: {
afterInclusive: quarter.startOf('quarter'),
// Avoid final reports for projects that end at the end of the quarter.
// Their start date is the end date.
// So this ensures there is at least one day in between.
before: quarter.startOf('quarter').plus({ day: 1 }),
},
end: {
beforeInclusive: quarter.endOf('quarter'),
Expand Down

0 comments on commit d241fe0

Please sign in to comment.