Commit Graph

13 Commits

Author SHA1 Message Date
Florian "flowdy" Heß
1a05fd4d54 Fixes to avoid a warning when IBAN is null, in look and redirection 2017-02-06 08:12:56 +01:00
Florian "flowdy" Heß
bb05b06cf3 Test suite starts covering HTTP interface.
+ Added some files missing in previous commits.
2017-02-06 08:10:05 +01:00
Florian "flowdy" Heß
8b1a68f07b Various fixes; added full name to account data; do never transfer unchecked 2017-02-03 16:49:43 +01:00
Florian "flowdy" Heß
6c43accd5f Fixed Transfer note handling in debit and credit upsert forms.
Plus, explanation in the case that debit is settled / credit is spent so that checking further items is pointless.
2017-01-31 22:18:16 +01:00
Florian "flowdy" Heß
d7db9a2eb1 Added categories and Filter widget 2017-01-29 16:08:28 +01:00
Florian "flowdy" Heß
6f19437901 Optimized look and user experience; fixed errors 2017-01-28 14:00:20 +01:00
Florian "flowdy" Heß
5aaff598d1 Changes and fixes in HTTP (e.g. + account upsertion)
====================================================
  * Account upsertion
  * Empty credit and debit forms, the latter with the ability to charge groups
  * Fixed redirection on posting transfers
  * Reverse order of credits and debits
  * Style: prevent monospace size reduction in some browsers; td.mark class
  * Totals in report and and bankStatement
2017-01-25 22:38:39 +01:00
Florian "flowdy" Heß
53ef8ff175 Various fixes and completing the HTTP interface 2017-01-15 22:03:06 +01:00
Florian "flowdy" Heß
f4bcbcad6f Added rudimentary HTTP interface 2017-01-15 16:27:22 +01:00
Florian "flowdy" Heß
3773c3f123 Various changes and fixes: Added report, etc. Tests pass.
* reworked and used TrsrDB::expand_ids more tightly
  * account item selection in TrsrDB::make_transfers
  * web_auth / User relation for coming HTTP interface
  * income and target inter-relations between TrsrDB::Credit and TrsrDB::Debit
  * Transfer note
  * reactivated enforceFixedCredit to take effect unless _temp table is empty
  * added CreditsInFocus and Report views
2017-01-14 09:50:16 +01:00
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ß
3985b46224 Added TrsrDB::autobalance(). Renamings and fixes.
Renamed "debts" to "arrears", because of psychologically slightly more positive
connotations. Renamed field "Id" of table Credit to "credId" in analogy to
field "billId" of table Debit.
2016-07-03 22:26:58 +02:00
Florian "flowdy" Heß
57556d252b added ORM api and some tests 2016-07-03 22:15:32 +02:00