How to configure salary slip printout?

hello there. i was trying to setup salary slips in erpnext. for that i have configured salary structure and assigned it. i have some salary components which is not to be affected in total.

For example in case of component HRA i have the fixed value component for HRA as HRA(Fixed) and for earned i have HRA. Both are added in the earnings section because i want to show that in salary slips.

The problem is, now it is showing both HRA(Fixed) and HRA components separately.

  1. Is there any way to show it in this table format :

component | Fixed Value | Earned

eg:

HRA |1000 |800

or

  1. Can we seperate those two components in different tables ?

Please help me in this.