refactored complete function in Transaction service
bug fixes

bug fix
refactored total commission in receipt