Use $loan->getStatus instead of $borrower->loanStatus