added function to newreceipt controller
update
Merge branch 'master' of https://github.com/joshuaheng/getpaid