V13: YTD Gross Salary

Hi,
The salary slip shows year to date net salary and same is used in printing. I wanted to print year to date gross salary on the salary slip. Is it possible to include / calculate / add a field with yeat to date gross salary in ERPNext?

TIA