How to make gratuity amount get computed including DA?

How to make gratuity amount get computed including DA?

How to make gratuity amount get computed including DA? 

To make Gratuity amount get computed including Dearness Allowance, we need to enable include Dearness allowance option in the extra settings. 

Pathway- Settings>Payroll>Extra settings>Include Dearness Allowance