Absent a contract to the contrary, or a firm policy on the matter that the employee can prove to exist, bonuses are given at the discretion of the employer. When bonuses are at the employer's discretion, employees can be denied bonuses when they resign before they are paid out. If the employee believes that he can prove a binding contract or policy, he should consult a lawyer.