If a person has worked as contractual employee in the organisation and later got appointed as permanent employee. How the gratuity will be calculated. Will he get the gratuity for the complete length of service (contractual + permanent) or in separate portions?