Add new interest pause and list existing interest pause periods of the loan

This commit is contained in:
Jose Alberto Hernandez
2025-01-06 14:55:44 -05:00
committed by Jose Alberto Hernandez
parent a6455212fd
commit d04890fd3f
37 changed files with 400 additions and 122 deletions
+8
View File
@@ -277,6 +277,14 @@ export class LoansService {
return this.http.post(`/loans/${loanId}`, data, { params: httpParams });
}
addInterestPauseToLoan(loanId: any, data?: any): Observable<any> {
return this.http.post(`/loans/${loanId}/interest-pauses`, data);
}
getInterestPausesOfLoan(loanId: any): Observable<any> {
return this.http.get(`/loans/${loanId}/interest-pauses`);
}
/**
* @param {string|number} loanId Loan Id.
* @param {any} foreclosuredata ForeClosure Data