A pregnant employee has maternity protection if she has been at her job for at least 3 months. This means that if a pregnant employee is dismissed without sufficient cause, or is retrenched, the employer is still required to pay her maternity benefits.
Female employees at rare case share history of being pregnant, and If she takes leaves without approval deduct her Paid leaves and minimal amount of leaves are given to a maternity cause in Pvt sector. Because employee remarks the goodwill of the organisation.
she will be eligible to put up a case for terminating or not providing maternity benefits.
https://paycheck.in/labour-law-india/maternity-and-work.
I hope this resolves your query