Merge remote-tracking branch 'mdudzinski/MIFOSX-73'

This commit is contained in:
Keith Woodlock
2012-11-17 15:10:18 +00:00
@@ -1612,10 +1612,12 @@ public class Loan extends AbstractAuditableCustom<AppUser, Long> {
} }
this.loanofficer = newLoanOfficer; this.loanofficer = newLoanOfficer;
if (this.isNotSubmittedAndPendingApproval()){
final LoanOfficerAssignmentHistory loanOfficerAssignmentHistory = LoanOfficerAssignmentHistory.createNew(this, this.loanofficer, assignmentDate); final LoanOfficerAssignmentHistory loanOfficerAssignmentHistory = LoanOfficerAssignmentHistory.createNew(this, this.loanofficer, assignmentDate);
this.loanOfficerHistory.add(loanOfficerAssignmentHistory); this.loanOfficerHistory.add(loanOfficerAssignmentHistory);
} }
} }
}
private LoanOfficerAssignmentHistory findLatestIncompleteHistoryRecord() { private LoanOfficerAssignmentHistory findLatestIncompleteHistoryRecord() {