23. Compensation on cesser of employment.
(a) Where -
(i) an employee ceases to be employed, and
(ii) the whole or any portion of the annual leave in respect of the relevant period remains to be granted to the employee,
the employee shall, as compensation for the loss of that annual leave, be paid by his or her employer an amount equal to the pay, calculated at the normal weekly rate or, as the case may be, at a rate proportionate to the normal weekly rate, that he or she would have received had he or she been granted that annual leave.
(b) In this subsection -
'relevant period' means -
(i) in relation to a cessation of employment of an employee to whom subparagraph (i) of paragraph (c) of subsection (1) of section 20 applies, the current leave year,
(ii) in relation to a cessation of employment of an employee to whom subparagraph (ii) of the said paragraph (c) applies, that occurs during the first 6 months of the current leave year -
(I) the current leave year, and
(II) the leave year immediately preceding the current leave year,