This is our "Who pays the bill" [german: Wer Zahlt EigenTlich => WZET] tool.
Visuals and code are both very crude, since I just hacked it with little effort put into it.
To get a running instance:
- Create
inc/config.php
(you can copy and adaptinc/config.dist.php
). - Copy
inc/db/empty.sqlite
to your specified DB. - Register a user and set his flag to 1 [=Admin] in the database.
- (optional) add phpsqliteadmin to sqladmin.php
General todo (not in any order):
- Prevent JS injection via Name/Login (display is not filtered atm); fix german special chars (Umlaute) while at that.
- setup.php?
- Localization
- A design
- Function: Start event so people can RSVP and add their +X
- Function: Rollback
- Function: Add another bill (by someone else) - DB should be able to reflect this, but the code does not
- DB names should be english, not german
- display more details in the log
DB layout is not quite 100% ERM, but I believe the way I did it now is a bit more versatile. I.e. the Users.Konto value could be computed on the fly, but that way it can be bootstrapped with values != 0.