Merge pull request #30191 from abhinavxd/patch-3

fix: incorrect payable amount for loan closure