I wanted to help @Medo with an alternative approach so I tried generating a custom report that would show the transactions (Loan advances and repayments with payslips) related to a particular staff from a balance sheet account meant to record advances/loans to staff and repayments. I couldn’t get the report to show the advances (payments) because a condition must be set to pick out the employee for the report and since employees do not show among the Payer/Payee list on the payment/receipt form (only customers and suppliers for now), the loans advanced transactions didn’t show on the report.
This leaves no choice but to create a general ledger account for every staff for the purpose of tracking staff loans and repayments if one wishes to see the loan balance of every staff without hustle or plan of easily generating loan balance statements for staff. Having Employee category among the Payer/Payee field on Payment or receipt forms would make it possible to generate such reports from the general ledger. I know the Inclusion of Employees in the Payer/Payee categories has been promised.