Salaries must be paid before the end of the month. Once the month is closed, payment is normally no longer possible for safety reasons.
However, an option is available to the ADMIN user in the company settings:
for non ADMIN users, the option is grayed out and inaccessible).
The payment screen offers the months to choose from: