I worked at a company for two months i was a seasonal worker and when they hired me they didnt know i was pregnant.On August 20th i had to go to the doctor because i was having contractions.I was on my feet for 8 hours a day so the doctor gave me a note saying id be out of work until further notice which was only a week.When i called work to tell them i was returning i was told they had to terminate me because i wasnt able to receive a temporary leave which i never asked for.They told me theyd give me my job back but i recently called to see if they could hire me back they said they werent allowed to hire any more people.I guess im asking "Are they allowed to do that"?