start work on ticket reports
Merge branch 'postgresql' of https://github.com/gradosh/XPPC into postgresql