Try ERPNext Buy Support Partners Foundation

Help in understanding code of salary register report