completed tested pending invoice feature
updated and tested pending invoice feature