Skip to content

Commit

Permalink
Exclude future planned payments that aren't paid from being calculate…
Browse files Browse the repository at this point in the history
…d in ReportViewModel (Ivy-Apps#2970)
  • Loading branch information
Hussienfahmy authored Feb 16, 2024
1 parent 8b0b093 commit 9f48069
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -271,8 +271,7 @@ class ReportViewModel @Inject constructor(

filterRange ?: return@filter false

(it.dateTime != null && filterRange.includes(it.dateTime!!)) ||
(it.dueDate != null && filterRange.includes(it.dueDate!!))
it.dateTime != null && filterRange.includes(it.dateTime!!)
}
.filter { trn ->
// Filter by Accounts
Expand Down

0 comments on commit 9f48069

Please sign in to comment.