WEB-642: Add Loan Originators management (#3095)

Co-authored-by: Jose Alberto Hernandez <alberto@black-box.local>
This commit is contained in:
Jose Alberto Hernandez
2026-02-06 12:15:52 -06:00
committed by GitHub
co-authored by Jose Alberto Hernandez
parent bd2408fcc4
commit 0bc1926199
44 changed files with 1405 additions and 43 deletions
@@ -15,6 +15,7 @@ import { Observable } from 'rxjs';
/** Custom Services */
import { LoansService } from '../loans.service';
import { OrganizationService } from 'app/organization/organization.service';
/**
* Loans notes data resolver.
@@ -22,6 +23,7 @@ import { LoansService } from '../loans.service';
@Injectable()
export class LoanActionButtonResolver {
private loansService = inject(LoansService);
private organizationService = inject(OrganizationService);
/**
* Returns the Loans Notes Data.
@@ -88,6 +90,8 @@ export class LoanActionButtonResolver {
return this.loansService.getLoanActionTemplate(loanId, 'reAge');
} else if (loanActionButton === 'Re-Amortize') {
return this.loansService.getLoanActionTemplate(loanId, 'reAmortization');
} else if (loanActionButton === 'Attach Loan Originator') {
return this.organizationService.getLoanOriginators();
} else {
return undefined;
}