How to close a loan early?

I have created a loan against an employee which is being repaid via salary. Now, after a few months, the employee want to pay the remaining full amount and close the loan.

I tried to create a Loan Repayment, but it is not doing anything. Am I missing something? How can I pay off the loan before the loan period?