fix sql
Merge branch 'develop' of github.com:jlaudadio/accruer into develop