Hi,
Under the MB Act, a woman is eligible to receive maternity benefit if she has worked for at least 80 days in the 12 months immediately preceding her expected date of delivery.
Women employed in factories, mines, shops and establishments with 10 or more employees, and other notified establishments, are entitled to maternity leave of 12 weeks, with full wages.
If you are come under purview of ESI, you can receive the Maternity benefits through ESI, else employer has to pay you salary for 182 days ( 6 months) and also should consider any extension request from the employee to nurture the baby but which will be on LWP basis.