Merge pull request #31780 from abhinavxd/fix-loan-pending-principal

Fix: Loan pending principal amount