Add a radio button to generate entity sharing payslip for a resource. The button is dynamic and will only appear if the entity sharing is selected. I have also created the query to generate the payslip viewer with remarks.