Loan Interest Pauses management to Edit or Delete

This commit is contained in:
Jose Alberto Hernandez
2025-01-14 08:32:26 -05:00
committed by Jose Alberto Hernandez
parent b729898147
commit 9d6cf1514a
8 changed files with 137 additions and 11 deletions
+8
View File
@@ -285,6 +285,14 @@ export class LoansService {
return this.http.get(`/loans/${loanId}/interest-pauses`);
}
updateInterestPause(loanId: number, variationId: number, data?: any): Observable<any> {
return this.http.put(`/loans/${loanId}/interest-pauses/${variationId}`, data);
}
deleteInterestPause(loanId: number, variationId: number): Observable<any> {
return this.http.delete(`/loans/${loanId}/interest-pauses/${variationId}`);
}
/**
* @param {string|number} loanId Loan Id.
* @param {any} foreclosuredata ForeClosure Data