It's probably an employment law. My wife's from Tunisia and over there all employment is basically contractual. If your employer lets you go they owe you some kind of fee, and I actually believe the amount might be the remainder of the contact, I'm not sure.