Thanks to google translate I got "total salary" is. That is about all I got unfortunately. The names for your variables don't really help me out to see what you're doing. So I can't help.

For...