aboutsummaryrefslogtreecommitdiff
path: root/server/src/Job/MonthlyPayment.hs
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/Job/MonthlyPayment.hs')
-rw-r--r--server/src/Job/MonthlyPayment.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/Job/MonthlyPayment.hs b/server/src/Job/MonthlyPayment.hs
index ca7e007..907be2b 100644
--- a/server/src/Job/MonthlyPayment.hs
+++ b/server/src/Job/MonthlyPayment.hs
@@ -12,7 +12,7 @@ import Util.Time (timeToDay)
monthlyPayment :: Maybe UTCTime -> IO UTCTime
monthlyPayment _ = do
- monthlyPayments <- Query.run Payment.listMonthly
+ monthlyPayments <- Query.run Payment.listActiveMonthlyOrderedByName
now <- getCurrentTime
actualDay <- timeToDay now
let punctualPayments = map