Custom Payslip template fails to generate when the first check of year is zero gross and zero net
When payslip XML is missing data under "GLB_PAY_ARCH_CLASSIFICATION_BALANCE" tag the system generates blank page with our custom payslip template. GLB_PAY_ARCH_CLASSIFICATION_BALANCE are not being created (or available in the XML) if the first payslip of the calendar year has a net zero balance. This happens only to checks which are processed in the beginning of the year and are zero net.
We attempted to run the same XML through seeded template and it generates the Payslip but the summary section is missing. We want to mimic the behavior of the seeded template. The seeded template is collection of sub-templates and we attempt to edit the sub-template object we are unable to view its contents. Our custom template was copied from an older version of the payslip template that did not use sub-templates.