is the gratuity only given when end of contract,and how about if renewed contract and stop working,can still get the gratuity?.Some says that can only get the gratuity if cancel the visa or working permit,is this true?.