If you leave before the departure time, you need to pay compensation if it causes losses to the company. If it does not cause losses, you don't need to deduct money. According to Article 16 of the Provisional Regulations on Wage Payment, if the employer suffers economic losses due to the laborer's own reasons, the employer may require him to compensate the economic losses according to the labor contract. Compensation for economic losses can be deducted from the employee's own salary. However, the monthly deduction shall not exceed 21% of the employee's monthly salary. If the deducted surplus salary is lower than the local monthly minimum wage, it will be paid according to the minimum wage.