It is quite normal to lay off
permanent employee when a company is losing money.
Permanent dose not mean forever employment. Check the employee guide of your company for definition.
Many conpanies even don't give any compensation to the fired employee.