aboutsummaryrefslogtreecommitdiff
path: root/server/src/Job
diff options
context:
space:
mode:
authorJoris2020-01-04 17:25:29 +0100
committerJoris2020-01-04 17:25:29 +0100
commit1dfb85d3fd56d163fc854a8b3cf659d0ac39f639 (patch)
treed5dcaa229f266626ce2f00850c642fb76cbee44d /server/src/Job
parent316bda10c6bec8b5ccc9e23f1f677c076205f046 (diff)
Search payments by cost too
Diffstat (limited to 'server/src/Job')
-rw-r--r--server/src/Job/WeeklyReport.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/Job/WeeklyReport.hs b/server/src/Job/WeeklyReport.hs
index 16be396..ff80ddf 100644
--- a/server/src/Job/WeeklyReport.hs
+++ b/server/src/Job/WeeklyReport.hs
@@ -35,7 +35,7 @@ weeklyReport conf mbLastExecution = do
_ ->
return M.empty
- weekPayments <- PaymentPersistence.listModifiedSince lastExecution
+ weekPayments <- PaymentPersistence.listModifiedPunctualSince lastExecution
weekIncomes <- IncomePersistence.listModifiedSince lastExecution
(preIncomeRepartition, postIncomeRepartition) <-
PaymentPersistence.getPreAndPostPaymentRepartition paymentRange users