Commit 4d0ae5d
committed
Fix getDailyPayment calculation
- If we are at the end of the payment period and we can withdraw more
than the balance, simply take the balance and not have the money stuck
there forever.1 parent dcb15dd commit 4d0ae5d
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
95 | 98 | | |
96 | 99 | | |
97 | 100 | | |
| |||
0 commit comments