Salary changed in mid pay period & vacation taken

SUGGESTED

Hi,

I have a case that I'm not sure how to process the payment.

We have  a staff who has salary increased in the middle of the pay period (from 24th July to 06th Aug, her salary is changed on 01st Aug). At the same time, she is on vacation which was earned in last year when she still had her old salary.

Should I separate 2 payments for her this time, one from 24th-31st July with her old salary and the other from 01st -06th Aug with her new salary? Or

I can process the payment with her old rate taking into account she's on vacation which earned last year with her old rate?

Thanks for your helps.