I don't mean to sound cold, but what makes your situation any different from anyone else who is let go under such circumstances?I'm almost 6 months pregnant and need to know if California has any compensation laws or anything for women in my situation.
Absent a collective bargaining agreement or other contractual obligation, your boss could have let you go because the sky is blue, and he was pissed that you couldn't make it purple.
You need to apply for UI.

