Where a part-time individual has worked (or taken annual leave during) their full working week, e.g. Wednesday - Friday, their leaving date for pay purposes should be recorded as the Sunday at the end of that week.
If they leave partway through the week (e.g. the Thursday), their leaving date should be their actual last day of work (or last day of annual leave if they are taking any at the end of their employment).