How do I ensure that Year To Date values are displayed for all components on custom payslips, even if the components have no current payslip value for the period?
To ensure that Year To Date values are displayed for all components on custom payslips, regardless if the components have no current payslip value for the period, enable the "Show year to date value regardless of current value" under the Payroll Settings section on the General Settings screen.
Navigate > Config > Basic Settings > Company Settings > General Settings > Payroll Settings