Leavers in between payroll years

SOLVED

Our next payroll is on 16th April, covering the period 17th March to 16th April.  I have two leavers, on 22/3 and 29/3, so they still have amounts to be paid relating to the current year, but they will leave before the new year.  When should I make them leavers according to Sage and HMRC?

Thanks for your help.