To disable the delete loan functionality for your staff, please login and visit Admin (top  menu) >> Manage Staff >> Staff Roles and Permissions >> Set Permissions  button. There you can uncheck Delete Loan and then click Submit.