Actually in this question another important input is missing that is commission is to some % of profits. In the given circumstances it seems more appropriate to charge commission after charging salary. This is so because the question specifically says that commission should be given either before or after charging commission. It is not talking about partners' salary. Hence it can safely be assumed that commission is to given after charging salaries from profits.