This e-pay slip issue has been fixed in the modern view. Please use a modern view to generate the e-pay slip:
Click on Switch to Modern UBS Payroll at the top right of your screen.
Go to Payroll.
Click on the Month End Total tab.
Click Payslip, Month End Total Payslips.
Choose which pay slip type.
Click E-Payslip.
