Regarding eligibility for Gratuity payment, Gratuity entitlement, formula for computing gratuity payment, - all such details are available in this Forum and many expert opinions can be viewed by using Search box provided on the top of screen.
Please use this, and go through all queries and their answers by very senior experts.