Getting orders from database works at last.
Merge branch 'master' of https://github.com/Scionar/TiPi.git