aboutsummaryrefslogtreecommitdiff
path: root/src/client/Update/Payment.elm
diff options
context:
space:
mode:
authorJoris2015-09-06 00:05:50 +0200
committerJoris2015-09-06 00:05:50 +0200
commit24633871359ec9fbd63fdfebf79a6351b2792f77 (patch)
treea87c8a964a3c5114da13e622c604cf99ab905a06 /src/client/Update/Payment.elm
parent8c328987901973cd0ffd2e03cae547717ebbbc67 (diff)
downloadbudget-24633871359ec9fbd63fdfebf79a6351b2792f77.tar.gz
budget-24633871359ec9fbd63fdfebf79a6351b2792f77.tar.bz2
budget-24633871359ec9fbd63fdfebf79a6351b2792f77.zip
Can add monthly payments, not visible at the moment though, just the count is printed
Diffstat (limited to 'src/client/Update/Payment.elm')
-rw-r--r--src/client/Update/Payment.elm2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/Update/Payment.elm b/src/client/Update/Payment.elm
index f063b4c..2cae679 100644
--- a/src/client/Update/Payment.elm
+++ b/src/client/Update/Payment.elm
@@ -34,7 +34,7 @@ updatePayment model action loggedView =
{ loggedView
| payments <- payments
, currentPage <- 1
- , add <- initAddPayment
+ , add <- initAddPayment loggedView.add.frequency
, payers <- updatePayers loggedView.payers userId cost
, paymentsCount <- loggedView.paymentsCount + 1
}