I can address only the legality under the LAW of your termination and it was legal, FMLA not withstanding. FMLA does not protect your job when circumstances are such that you would have been terminated anyway (as in the case of excessive absences not related to FMLA, badging/time errors, etc.)...