What is in salespersonTotal? You are only storing the values in sale, not salespersonTotal, so what do you expect it to give other than null?
Type: Posts; User: Mr.777
What is in salespersonTotal? You are only storing the values in sale, not salespersonTotal, so what do you expect it to give other than null?