How to Fetch Data?

I just created a custom fields in the timesheet to fetch the hours base on the Activity type (also using client script to work; fetch the hours).
as you can see on the screenshot below

Also i created another custom fields in the Salary Slip Timesheet as you can see on the screenshot.

Now my problem is, how to fetch the data from Time Sheets “Regular Hours” and “Overtime Hours” to my Salary Slip Timesheet and also showing in the Earnings component.

Please help me. Thank you!