Receipt snippet on integrated debit
ORM experiments
BUGFIX: record memType and staff correctly when adding/removing
member discounts. Longstanding issue so don't necessarily worry
about updating your views ASAP. Some summary table stuff can
potentially be cleaner in the future without these issues.
BUGFIX: repeated calls should switch default/selected database
Don't use sessions if loaded via CLI
New "normalize" function in BasicController that compares
the class' column structure to the actual table structure
and adds anything that's missing. The controller for dtransactions
leans heavily on this functionality to ensure all the related
structures have consistent columns.
More ORM experimentation
Working CLI table normalization. Still safe to run. Lists proposed
changes then prompts for Y/n before proceeding. I haven't tried
proceeding yet.
BUGFIX: missing global keyword
I added the new BasicController functionality to some pre-existing
classes (although I left their old functions in place, too). I used
the CLI table checking to expand my custdata table so it has a
LastChange column (suggested by WEFC a while back). I altered a legacy
page to test the new-style usage of CustdataController. Adding the
column worked perfectly and after squashing a couple bugs the legacy
page is in working order.
Data warehouse plugin
BUGFIX: return False on bad row request
BUGFIX: bad query on memberCardsView
Better handling when ini.php missing on lane install page
Legacy bugfix. Variable no longer exists.
BUGFIX: tender refund to gift card correctly
Better error detection on missing or unwritable files
Better status checking for Fannie's log files.
Fixed a couple bugs in the lane side implementation of same.
Refactor to let FannieAPI search plugins for class definitions
Re-working legacy WFC tools as plugins