Calculate gratuity under the Code on Social Security, 2020, including the 50% wage rule and fixed-term employees.
Gratuity = last drawn wages × 15 ÷ 26 × years of service (a part-year over 6 months counts as a full year). Capped at the statutory ceiling.
₹50,000 wages and 10 years 7 months of service → 11 years → ₹3,17,308.