How do I configure the system so that an employee's Sick Leave details are displayed on the PDF payslip?

This feature is available on the Premier and Master payroll edition.
Enable the "show on payslip" advanced option on the Sick Leave parameter on the Leave Scheme Parameters screen.
Navigate > Configuration > Human Resources > Leave Administration > Leave Scheme Parameters > advanced options