How to create and manage employee's Loans

We have few Dolibarr internal user’s AKA employees in our organization. We sometimes need give loans or debts to our employees as an advanced payments for their lifestyle task like Marriage, Buying Car or Bike etc. Now we want to give this money as a Loan to the employee. So money will be deducted from their salaries monthly with or without interest. So when we are paying salary to an employee system will check whether a Loan is running for that employee. If so, salary amount will be shown deducting that amount. Is there any option available at Dolibarr for this Loan management?

Please help me folks.

Hey, did you figure it out. Am in a similar situation…