]> git.pond.sub.org Git - empserver/commit
(coll, fina, repa, shark, disloan): Fix calculation of regular and
authorMarkus Armbruster <armbru@pond.sub.org>
Fri, 20 Aug 2004 07:01:26 +0000 (07:01 +0000)
committerMarkus Armbruster <armbru@pond.sub.org>
Fri, 20 Aug 2004 07:01:26 +0000 (07:01 +0000)
commitfcbe36e76c58e90e74dc0a02f56e772196bfbbb9
tree18506c2466c09544633dc337bbbcf434b24d7078
parentef0060ec57b6ceffc983d9ad362388512534bf54
(coll, fina, repa, shark, disloan): Fix calculation of regular and
extended (beyond due date) loan time.  At the due date, or after a
last payment made at the due date, durations were zero in fina() and
unpredictable elsewhere.  With luck, debtors could abuse this to repay
loans cheap (they couldn't gain cash, though), sharks to purchase
loans cheap, and creditors to collect excessively.
src/lib/commands/coll.c
src/lib/commands/fina.c
src/lib/commands/repa.c
src/lib/commands/shark.c
src/lib/subs/disloan.c