In any case, if you will go on leave after 6 months, you would have completed 5 years of service thus, you will be eligible for Gratuity, if you plan not to return to the job after the maternity leave.
19th April 2018 From India, New Delhi
Gratuity calculation if you left the company:
Basic+DA/26*15*No. of year you worked.
You have to work more then 4 years and 6 month to achieve gratuity, It will be treat as 5 Years.
Assistant Manager IR
19th April 2018 From India, Bhopal