Commit Graph

7 Commits

Author SHA1 Message Date
Florian "flowdy" Heß
8459e9ae48 Fixes and tests for indirect transfers. Extended balance.
TrsrDB:
    fixed Id -> credId
    autobalance -> make_transfers

TrsrDB::Account:
    added history accessor
TrsrDB::Balance:
    added fieds earned spent and even_until, renamed credit to available
TrsrDB::CurrentArrears:
    fixed account -> debtor in relation declaration
schema.sql:
    fixed triggers
    deactivated trigger enforceFixedCredit
    extended Balance with some more fields
t/schema.{sql,out}
    trivial fixes
t/schema.t added tests:
    Get balances after transfers
    partial use of credit,
    indirect transfers
2016-07-06 22:53:31 +02:00
Florian "flowdy" Heß
bc37ee316b Refactored and united raw and ORM api tests 2016-07-04 20:21:47 +02:00
Florian "flowdy" Heß
dbbada8307 Adapted line numbers in t/schema.out 2016-06-26 21:31:06 +02:00
Florian "flowdy" Heß
d915d32e3b Added check so that debits cannot be linked with an incoming payment as target 2016-06-26 21:27:39 +02:00
Florian "flowdy" Heß
acad2118c5 added History view 2016-06-26 15:27:50 +02:00
Florian "flowdy" Heß
2639700adb Fixed line numbers in t/schema.out 2016-06-25 19:17:58 +02:00
Florian "flowdy" Heß
f2f1bdf036 rewording in schema.sh; move test scripts to t/; add executable test.sh 2016-06-05 12:41:48 +02:00