It is illegal to discipline (much less dismiss) an employee on the basis of provisions in a company manual which are not provided/explained to employees.
It is illegal to require an employee to sign an undertaking agreeing to pay the company an amount (say, P20,000) when the employee resigns from, or worse, fails to qualify for, employment — especially when no intensive training has been provided by the company.