calculate total salary including additional salary.