Dear anonymous friend,
First you should understand that salary and bonus are earned by the employee and relate to the past services rendered by him to the employer. Normally, therefore, the employer is not vested with any prerogative, either contractual or legal, to deny them under the pretext of termination of the services of an employee.