added select statement in getlastorder
Merge branch 'master' of https://github.com/aahernandez/burgerbar